Interface SingleMasterChannelEndpointConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SingleMasterChannelEndpointConfiguration.Builder,SingleMasterChannelEndpointConfiguration>,SdkBuilder<SingleMasterChannelEndpointConfiguration.Builder,SingleMasterChannelEndpointConfiguration>,SdkPojo
- Enclosing class:
- SingleMasterChannelEndpointConfiguration
public static interface SingleMasterChannelEndpointConfiguration.Builder extends SdkPojo, CopyableBuilder<SingleMasterChannelEndpointConfiguration.Builder,SingleMasterChannelEndpointConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SingleMasterChannelEndpointConfiguration.Builderprotocols(Collection<ChannelProtocol> protocols)This property is used to determine the nature of communication over thisSINGLE_MASTERsignaling channel.SingleMasterChannelEndpointConfiguration.Builderprotocols(ChannelProtocol... protocols)This property is used to determine the nature of communication over thisSINGLE_MASTERsignaling channel.SingleMasterChannelEndpointConfiguration.BuilderprotocolsWithStrings(String... protocols)This property is used to determine the nature of communication over thisSINGLE_MASTERsignaling channel.SingleMasterChannelEndpointConfiguration.BuilderprotocolsWithStrings(Collection<String> protocols)This property is used to determine the nature of communication over thisSINGLE_MASTERsignaling channel.SingleMasterChannelEndpointConfiguration.Builderrole(String role)This property is used to determine messaging permissions in thisSINGLE_MASTERsignaling channel.SingleMasterChannelEndpointConfiguration.Builderrole(ChannelRole role)This property is used to determine messaging permissions in thisSINGLE_MASTERsignaling channel.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
protocolsWithStrings
SingleMasterChannelEndpointConfiguration.Builder protocolsWithStrings(Collection<String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTERsignaling channel. IfWSSis specified, this API returns a websocket endpoint. IfHTTPSis specified, this API returns anHTTPSendpoint.- Parameters:
protocols- This property is used to determine the nature of communication over thisSINGLE_MASTERsignaling channel. IfWSSis specified, this API returns a websocket endpoint. IfHTTPSis specified, this API returns anHTTPSendpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolsWithStrings
SingleMasterChannelEndpointConfiguration.Builder protocolsWithStrings(String... protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTERsignaling channel. IfWSSis specified, this API returns a websocket endpoint. IfHTTPSis specified, this API returns anHTTPSendpoint.- Parameters:
protocols- This property is used to determine the nature of communication over thisSINGLE_MASTERsignaling channel. IfWSSis specified, this API returns a websocket endpoint. IfHTTPSis specified, this API returns anHTTPSendpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocols
SingleMasterChannelEndpointConfiguration.Builder protocols(Collection<ChannelProtocol> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTERsignaling channel. IfWSSis specified, this API returns a websocket endpoint. IfHTTPSis specified, this API returns anHTTPSendpoint.- Parameters:
protocols- This property is used to determine the nature of communication over thisSINGLE_MASTERsignaling channel. IfWSSis specified, this API returns a websocket endpoint. IfHTTPSis specified, this API returns anHTTPSendpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocols
SingleMasterChannelEndpointConfiguration.Builder protocols(ChannelProtocol... protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTERsignaling channel. IfWSSis specified, this API returns a websocket endpoint. IfHTTPSis specified, this API returns anHTTPSendpoint.- Parameters:
protocols- This property is used to determine the nature of communication over thisSINGLE_MASTERsignaling channel. IfWSSis specified, this API returns a websocket endpoint. IfHTTPSis specified, this API returns anHTTPSendpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
SingleMasterChannelEndpointConfiguration.Builder role(String role)
This property is used to determine messaging permissions in this
SINGLE_MASTERsignaling channel. IfMASTERis 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. IfVIEWERis specified, this API returns an endpoint that a client can use only to send offers to anotherMASTERclient on this signaling channel.- Parameters:
role- This property is used to determine messaging permissions in thisSINGLE_MASTERsignaling channel. IfMASTERis 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. IfVIEWERis specified, this API returns an endpoint that a client can use only to send offers to anotherMASTERclient on this signaling channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelRole,ChannelRole
-
role
SingleMasterChannelEndpointConfiguration.Builder role(ChannelRole role)
This property is used to determine messaging permissions in this
SINGLE_MASTERsignaling channel. IfMASTERis 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. IfVIEWERis specified, this API returns an endpoint that a client can use only to send offers to anotherMASTERclient on this signaling channel.- Parameters:
role- This property is used to determine messaging permissions in thisSINGLE_MASTERsignaling channel. IfMASTERis 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. IfVIEWERis specified, this API returns an endpoint that a client can use only to send offers to anotherMASTERclient on this signaling channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelRole,ChannelRole
-
-