public class SingleMasterChannelEndpointConfiguration
extends java.lang.Object
implements java.io.Serializable
An object that contains the endpoint configuration for the
SINGLE_MASTER channel type.
| Constructor and Description |
|---|
SingleMasterChannelEndpointConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getProtocols()
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. |
java.lang.String |
getRole()
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
int |
hashCode() |
void |
setProtocols(java.util.Collection<java.lang.String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. |
void |
setRole(ChannelRole role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
void |
setRole(java.lang.String role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SingleMasterChannelEndpointConfiguration |
withProtocols(java.util.Collection<java.lang.String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. |
SingleMasterChannelEndpointConfiguration |
withProtocols(java.lang.String... protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. |
SingleMasterChannelEndpointConfiguration |
withRole(ChannelRole role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
SingleMasterChannelEndpointConfiguration |
withRole(java.lang.String role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
public SingleMasterChannelEndpointConfiguration()
public java.util.List<java.lang.String> getProtocols()
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. If WSS is
specified, this API returns a websocket endpoint. If HTTPS
is specified, this API returns an HTTPS endpoint.
This property is used to determine the nature of communication
over this SINGLE_MASTER signaling channel. If
WSS is specified, this API returns a websocket
endpoint. If HTTPS is specified, this API returns an
HTTPS endpoint.
public void setProtocols(java.util.Collection<java.lang.String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. If WSS is
specified, this API returns a websocket endpoint. If HTTPS
is specified, this API returns an HTTPS endpoint.
protocols -
This property is used to determine the nature of communication
over this SINGLE_MASTER signaling channel. If
WSS is specified, this API returns a websocket
endpoint. If HTTPS is specified, this API returns
an HTTPS endpoint.
public SingleMasterChannelEndpointConfiguration withProtocols(java.lang.String... protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. If WSS is
specified, this API returns a websocket endpoint. If HTTPS
is specified, this API returns an HTTPS endpoint.
Returns a reference to this object so that method calls can be chained together.
protocols -
This property is used to determine the nature of communication
over this SINGLE_MASTER signaling channel. If
WSS is specified, this API returns a websocket
endpoint. If HTTPS is specified, this API returns
an HTTPS endpoint.
public SingleMasterChannelEndpointConfiguration withProtocols(java.util.Collection<java.lang.String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. If WSS is
specified, this API returns a websocket endpoint. If HTTPS
is specified, this API returns an HTTPS endpoint.
Returns a reference to this object so that method calls can be chained together.
protocols -
This property is used to determine the nature of communication
over this SINGLE_MASTER signaling channel. If
WSS is specified, this API returns a websocket
endpoint. If HTTPS is specified, this API returns
an HTTPS endpoint.
public java.lang.String getRole()
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If MASTER is
specified, this API returns an endpoint that a client can use to receive
offers from and send answers to any of the viewers on this signaling
channel. If VIEWER is specified, this API returns an
endpoint that a client can use only to send offers to another
MASTER client on this signaling channel.
Constraints:
Allowed Values: MASTER, VIEWER
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If
MASTER is specified, this API returns an endpoint
that a client can use to receive offers from and send answers to
any of the viewers on this signaling channel. If
VIEWER is specified, this API returns an endpoint
that a client can use only to send offers to another
MASTER client on this signaling channel.
ChannelRolepublic void setRole(java.lang.String role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If MASTER is
specified, this API returns an endpoint that a client can use to receive
offers from and send answers to any of the viewers on this signaling
channel. If VIEWER is specified, this API returns an
endpoint that a client can use only to send offers to another
MASTER client on this signaling channel.
Constraints:
Allowed Values: MASTER, VIEWER
role -
This property is used to determine messaging permissions in
this SINGLE_MASTER signaling channel. If
MASTER is specified, this API returns an endpoint
that a client can use to receive offers from and send answers
to any of the viewers on this signaling channel. If
VIEWER is specified, this API returns an endpoint
that a client can use only to send offers to another
MASTER client on this signaling channel.
ChannelRolepublic SingleMasterChannelEndpointConfiguration withRole(java.lang.String role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If MASTER is
specified, this API returns an endpoint that a client can use to receive
offers from and send answers to any of the viewers on this signaling
channel. If VIEWER is specified, this API returns an
endpoint that a client can use only to send offers to another
MASTER client on this signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: MASTER, VIEWER
role -
This property is used to determine messaging permissions in
this SINGLE_MASTER signaling channel. If
MASTER is specified, this API returns an endpoint
that a client can use to receive offers from and send answers
to any of the viewers on this signaling channel. If
VIEWER is specified, this API returns an endpoint
that a client can use only to send offers to another
MASTER client on this signaling channel.
ChannelRolepublic void setRole(ChannelRole role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If MASTER is
specified, this API returns an endpoint that a client can use to receive
offers from and send answers to any of the viewers on this signaling
channel. If VIEWER is specified, this API returns an
endpoint that a client can use only to send offers to another
MASTER client on this signaling channel.
Constraints:
Allowed Values: MASTER, VIEWER
role -
This property is used to determine messaging permissions in
this SINGLE_MASTER signaling channel. If
MASTER is specified, this API returns an endpoint
that a client can use to receive offers from and send answers
to any of the viewers on this signaling channel. If
VIEWER is specified, this API returns an endpoint
that a client can use only to send offers to another
MASTER client on this signaling channel.
ChannelRolepublic SingleMasterChannelEndpointConfiguration withRole(ChannelRole role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If MASTER is
specified, this API returns an endpoint that a client can use to receive
offers from and send answers to any of the viewers on this signaling
channel. If VIEWER is specified, this API returns an
endpoint that a client can use only to send offers to another
MASTER client on this signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: MASTER, VIEWER
role -
This property is used to determine messaging permissions in
this SINGLE_MASTER signaling channel. If
MASTER is specified, this API returns an endpoint
that a client can use to receive offers from and send answers
to any of the viewers on this signaling channel. If
VIEWER is specified, this API returns an endpoint
that a client can use only to send offers to another
MASTER client on this signaling channel.
ChannelRolepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.