public class CreateSignalingChannelRequest extends AmazonWebServiceRequest implements Serializable
Creates a signaling channel.
CreateSignalingChannel is an asynchronous operation.
| Constructor and Description |
|---|
CreateSignalingChannelRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getChannelName()
A name for the signaling channel that you are creating.
|
String |
getChannelType()
A type of the signaling channel that you are creating.
|
SingleMasterConfiguration |
getSingleMasterConfiguration()
A structure containing the configuration for the
SINGLE_MASTER channel type. |
List<Tag> |
getTags()
A set of tags (key/value pairs) that you want to associate with this
channel.
|
int |
hashCode() |
void |
setChannelName(String channelName)
A name for the signaling channel that you are creating.
|
void |
setChannelType(ChannelType channelType)
A type of the signaling channel that you are creating.
|
void |
setChannelType(String channelType)
A type of the signaling channel that you are creating.
|
void |
setSingleMasterConfiguration(SingleMasterConfiguration singleMasterConfiguration)
A structure containing the configuration for the
SINGLE_MASTER channel type. |
void |
setTags(Collection<Tag> tags)
A set of tags (key/value pairs) that you want to associate with this
channel.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSignalingChannelRequest |
withChannelName(String channelName)
A name for the signaling channel that you are creating.
|
CreateSignalingChannelRequest |
withChannelType(ChannelType channelType)
A type of the signaling channel that you are creating.
|
CreateSignalingChannelRequest |
withChannelType(String channelType)
A type of the signaling channel that you are creating.
|
CreateSignalingChannelRequest |
withSingleMasterConfiguration(SingleMasterConfiguration singleMasterConfiguration)
A structure containing the configuration for the
SINGLE_MASTER channel type. |
CreateSignalingChannelRequest |
withTags(Collection<Tag> tags)
A set of tags (key/value pairs) that you want to associate with this
channel.
|
CreateSignalingChannelRequest |
withTags(Tag... tags)
A set of tags (key/value pairs) that you want to associate with this
channel.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getChannelName()
A name for the signaling channel that you are creating. It must be unique for each account and region.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
A name for the signaling channel that you are creating. It must be unique for each account and region.
public void setChannelName(String channelName)
A name for the signaling channel that you are creating. It must be unique for each account and region.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
channelName - A name for the signaling channel that you are creating. It must be unique for each account and region.
public CreateSignalingChannelRequest withChannelName(String channelName)
A name for the signaling channel that you are creating. It must be unique for each account and region.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
channelName - A name for the signaling channel that you are creating. It must be unique for each account and region.
public String getChannelType()
A type of the signaling channel that you are creating. Currently,
SINGLE_MASTER is the only supported channel type.
Constraints:
Allowed Values: SINGLE_MASTER
A type of the signaling channel that you are creating. Currently,
SINGLE_MASTER is the only supported channel type.
ChannelTypepublic void setChannelType(String channelType)
A type of the signaling channel that you are creating. Currently,
SINGLE_MASTER is the only supported channel type.
Constraints:
Allowed Values: SINGLE_MASTER
channelType -
A type of the signaling channel that you are creating.
Currently, SINGLE_MASTER is the only supported
channel type.
ChannelTypepublic CreateSignalingChannelRequest withChannelType(String channelType)
A type of the signaling channel that you are creating. Currently,
SINGLE_MASTER is the only supported channel type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SINGLE_MASTER
channelType -
A type of the signaling channel that you are creating.
Currently, SINGLE_MASTER is the only supported
channel type.
ChannelTypepublic void setChannelType(ChannelType channelType)
A type of the signaling channel that you are creating. Currently,
SINGLE_MASTER is the only supported channel type.
Constraints:
Allowed Values: SINGLE_MASTER
channelType -
A type of the signaling channel that you are creating.
Currently, SINGLE_MASTER is the only supported
channel type.
ChannelTypepublic CreateSignalingChannelRequest withChannelType(ChannelType channelType)
A type of the signaling channel that you are creating. Currently,
SINGLE_MASTER is the only supported channel type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SINGLE_MASTER
channelType -
A type of the signaling channel that you are creating.
Currently, SINGLE_MASTER is the only supported
channel type.
ChannelTypepublic SingleMasterConfiguration getSingleMasterConfiguration()
A structure containing the configuration for the
SINGLE_MASTER channel type.
A structure containing the configuration for the
SINGLE_MASTER channel type.
public void setSingleMasterConfiguration(SingleMasterConfiguration singleMasterConfiguration)
A structure containing the configuration for the
SINGLE_MASTER channel type.
singleMasterConfiguration -
A structure containing the configuration for the
SINGLE_MASTER channel type.
public CreateSignalingChannelRequest withSingleMasterConfiguration(SingleMasterConfiguration singleMasterConfiguration)
A structure containing the configuration for the
SINGLE_MASTER channel type.
Returns a reference to this object so that method calls can be chained together.
singleMasterConfiguration -
A structure containing the configuration for the
SINGLE_MASTER channel type.
public List<Tag> getTags()
A set of tags (key/value pairs) that you want to associate with this channel.
A set of tags (key/value pairs) that you want to associate with this channel.
public void setTags(Collection<Tag> tags)
A set of tags (key/value pairs) that you want to associate with this channel.
tags - A set of tags (key/value pairs) that you want to associate with this channel.
public CreateSignalingChannelRequest withTags(Tag... tags)
A set of tags (key/value pairs) that you want to associate with this channel.
Returns a reference to this object so that method calls can be chained together.
tags - A set of tags (key/value pairs) that you want to associate with this channel.
public CreateSignalingChannelRequest withTags(Collection<Tag> tags)
A set of tags (key/value pairs) that you want to associate with this channel.
Returns a reference to this object so that method calls can be chained together.
tags - A set of tags (key/value pairs) that you want to associate with this channel.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.