public class CreateSignalingChannelRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a signaling channel.
CreateSignalingChannel
is an asynchronous operation.
Constructor and Description |
---|
CreateSignalingChannelRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChannelName()
A name for the signaling channel that you are creating.
|
java.lang.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. |
java.util.List<Tag> |
getTags()
A set of tags (key/value pairs) that you want to associate with this
channel.
|
int |
hashCode() |
void |
setChannelName(java.lang.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(java.lang.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(java.util.Collection<Tag> tags)
A set of tags (key/value pairs) that you want to associate with this
channel.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSignalingChannelRequest |
withChannelName(java.lang.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(java.lang.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(java.util.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, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.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(java.lang.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(java.lang.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 java.lang.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.
ChannelType
public void setChannelType(java.lang.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.
ChannelType
public CreateSignalingChannelRequest withChannelType(java.lang.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.
ChannelType
public 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.
ChannelType
public 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.
ChannelType
public 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 java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.