@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SingleMasterChannelEndpointConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains the endpoint configuration for the SINGLE_MASTER channel type.
| Constructor and Description |
|---|
SingleMasterChannelEndpointConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
SingleMasterChannelEndpointConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getProtocols()
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling
channel. |
String |
getRole()
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setProtocols(Collection<String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling
channel. |
void |
setRole(String role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
String |
toString()
Returns a string representation of this object.
|
SingleMasterChannelEndpointConfiguration |
withProtocols(ChannelProtocol... protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling
channel. |
SingleMasterChannelEndpointConfiguration |
withProtocols(Collection<String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling
channel. |
SingleMasterChannelEndpointConfiguration |
withProtocols(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(String role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
public SingleMasterChannelEndpointConfiguration()
public List<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.
SINGLE_MASTER
signaling channel. If WSS is specified, this API returns a websocket endpoint. If
HTTPS is specified, this API returns an HTTPS endpoint.ChannelProtocolpublic void setProtocols(Collection<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.ChannelProtocolpublic SingleMasterChannelEndpointConfiguration withProtocols(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.
NOTE: This method appends the values to the existing list (if any). Use
setProtocols(java.util.Collection) or withProtocols(java.util.Collection) if you want to
override the existing values.
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.ChannelProtocolpublic SingleMasterChannelEndpointConfiguration withProtocols(Collection<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.ChannelProtocolpublic SingleMasterChannelEndpointConfiguration withProtocols(ChannelProtocol... 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.ChannelProtocolpublic void setRole(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.
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 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.
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(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.
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.
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 String toString()
toString in class ObjectObject.toString()public SingleMasterChannelEndpointConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.