@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) |
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.ChannelProtocol
public 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.ChannelProtocol
public 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.ChannelProtocol
public 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.ChannelProtocol
public 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.ChannelProtocol
public 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.ChannelRole
public 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.ChannelRole
public 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.ChannelRole
public 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.ChannelRole
public String toString()
toString
in class Object
Object.toString()
public SingleMasterChannelEndpointConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.