@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateChannelRequest() |
Modifier and Type | Method and Description |
---|---|
CreateChannelRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateChannelRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateChannelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChannelName()
The identifier for the channel you are working on.
|
List<RequestOutputItem> |
getOutputs()
The channel's output properties.
|
String |
getPlaybackMode()
The type of playback mode for this channel.
|
Map<String,String> |
getTags()
The tags to assign to the channel.
|
int |
hashCode() |
void |
setChannelName(String channelName)
The identifier for the channel you are working on.
|
void |
setOutputs(Collection<RequestOutputItem> outputs)
The channel's output properties.
|
void |
setPlaybackMode(String playbackMode)
The type of playback mode for this channel.
|
void |
setTags(Map<String,String> tags)
The tags to assign to the channel.
|
String |
toString()
Returns a string representation of this object.
|
CreateChannelRequest |
withChannelName(String channelName)
The identifier for the channel you are working on.
|
CreateChannelRequest |
withOutputs(Collection<RequestOutputItem> outputs)
The channel's output properties.
|
CreateChannelRequest |
withOutputs(RequestOutputItem... outputs)
The channel's output properties.
|
CreateChannelRequest |
withPlaybackMode(PlaybackMode playbackMode)
The type of playback mode for this channel.
|
CreateChannelRequest |
withPlaybackMode(String playbackMode)
The type of playback mode for this channel.
|
CreateChannelRequest |
withTags(Map<String,String> tags)
The tags to assign to the channel.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setChannelName(String channelName)
The identifier for the channel you are working on.
channelName
- The identifier for the channel you are working on.public String getChannelName()
The identifier for the channel you are working on.
public CreateChannelRequest withChannelName(String channelName)
The identifier for the channel you are working on.
channelName
- The identifier for the channel you are working on.public List<RequestOutputItem> getOutputs()
The channel's output properties.
public void setOutputs(Collection<RequestOutputItem> outputs)
The channel's output properties.
outputs
- The channel's output properties.public CreateChannelRequest withOutputs(RequestOutputItem... outputs)
The channel's output properties.
NOTE: This method appends the values to the existing list (if any). Use
setOutputs(java.util.Collection)
or withOutputs(java.util.Collection)
if you want to override
the existing values.
outputs
- The channel's output properties.public CreateChannelRequest withOutputs(Collection<RequestOutputItem> outputs)
The channel's output properties.
outputs
- The channel's output properties.public void setPlaybackMode(String playbackMode)
The type of playback mode for this channel. The only supported value is LOOP.
playbackMode
- The type of playback mode for this channel. The only supported value is LOOP.PlaybackMode
public String getPlaybackMode()
The type of playback mode for this channel. The only supported value is LOOP.
PlaybackMode
public CreateChannelRequest withPlaybackMode(String playbackMode)
The type of playback mode for this channel. The only supported value is LOOP.
playbackMode
- The type of playback mode for this channel. The only supported value is LOOP.PlaybackMode
public CreateChannelRequest withPlaybackMode(PlaybackMode playbackMode)
The type of playback mode for this channel. The only supported value is LOOP.
playbackMode
- The type of playback mode for this channel. The only supported value is LOOP.PlaybackMode
public Map<String,String> getTags()
The tags to assign to the channel.
public void setTags(Map<String,String> tags)
The tags to assign to the channel.
tags
- The tags to assign to the channel.public CreateChannelRequest withTags(Map<String,String> tags)
The tags to assign to the channel.
tags
- The tags to assign to the channel.public CreateChannelRequest addTagsEntry(String key, String value)
public CreateChannelRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()