/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.kinesisvideo.model; import java.io.Serializable; /** *
* An object that contains the endpoint configuration for the
* SINGLE_MASTER
channel type.
*
* 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 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
*/
private String role;
/**
*
* 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.
*
* 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.
*
* 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. * * @param 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.
*
* 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. * * @param 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.
*
* 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
*
* @return
* 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.
*
* 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
*
* @param 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.
*
* 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
*
* @param 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.
*
* 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
*
* @param 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.
*
* 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
*
* @param 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.
*