Interface SingleMasterChannelEndpointConfiguration.Builder

    • Method Detail

      • protocolsWithStrings

        SingleMasterChannelEndpointConfiguration.Builder protocolsWithStrings​(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.

        Parameters:
        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:
        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_MASTER signaling channel. If WSS is specified, this API returns a websocket endpoint. If HTTPS is specified, this API returns an HTTPS endpoint.

        Parameters:
        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:
        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_MASTER signaling channel. If WSS is specified, this API returns a websocket endpoint. If HTTPS is specified, this API returns an HTTPS endpoint.

        Parameters:
        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:
        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_MASTER signaling channel. If WSS is specified, this API returns a websocket endpoint. If HTTPS is specified, this API returns an HTTPS endpoint.

        Parameters:
        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:
        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_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.

        Parameters:
        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:
        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_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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelRole, ChannelRole