@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateChannelResult() |
Modifier and Type | Method and Description |
---|---|
CreateChannelResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateChannelResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateChannelResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the channel.
|
String |
getChannelName()
The name of the channel.
|
String |
getChannelState()
Indicates whether the channel is in a running state or not.
|
Date |
getCreationTime()
The timestamp of when the channel was created.
|
Date |
getLastModifiedTime()
The timestamp of when the channel was last modified.
|
List<ResponseOutputItem> |
getOutputs()
The channel's output properties.
|
String |
getPlaybackMode()
The type of playback for this channel.
|
Map<String,String> |
getTags()
The tags assigned to the channel.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the channel.
|
void |
setChannelName(String channelName)
The name of the channel.
|
void |
setChannelState(String channelState)
Indicates whether the channel is in a running state or not.
|
void |
setCreationTime(Date creationTime)
The timestamp of when the channel was created.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp of when the channel was last modified.
|
void |
setOutputs(Collection<ResponseOutputItem> outputs)
The channel's output properties.
|
void |
setPlaybackMode(String playbackMode)
The type of playback for this channel.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the channel.
|
String |
toString()
Returns a string representation of this object.
|
CreateChannelResult |
withArn(String arn)
The ARN of the channel.
|
CreateChannelResult |
withChannelName(String channelName)
The name of the channel.
|
CreateChannelResult |
withChannelState(ChannelState channelState)
Indicates whether the channel is in a running state or not.
|
CreateChannelResult |
withChannelState(String channelState)
Indicates whether the channel is in a running state or not.
|
CreateChannelResult |
withCreationTime(Date creationTime)
The timestamp of when the channel was created.
|
CreateChannelResult |
withLastModifiedTime(Date lastModifiedTime)
The timestamp of when the channel was last modified.
|
CreateChannelResult |
withOutputs(Collection<ResponseOutputItem> outputs)
The channel's output properties.
|
CreateChannelResult |
withOutputs(ResponseOutputItem... outputs)
The channel's output properties.
|
CreateChannelResult |
withPlaybackMode(String playbackMode)
The type of playback for this channel.
|
CreateChannelResult |
withTags(Map<String,String> tags)
The tags assigned to the channel.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN of the channel.
arn
- The ARN of the channel.public String getArn()
The ARN of the channel.
public CreateChannelResult withArn(String arn)
The ARN of the channel.
arn
- The ARN of the channel.public void setChannelName(String channelName)
The name of the channel.
channelName
- The name of the channel.public String getChannelName()
The name of the channel.
public CreateChannelResult withChannelName(String channelName)
The name of the channel.
channelName
- The name of the channel.public void setChannelState(String channelState)
Indicates whether the channel is in a running state or not.
channelState
- Indicates whether the channel is in a running state or not.ChannelState
public String getChannelState()
Indicates whether the channel is in a running state or not.
ChannelState
public CreateChannelResult withChannelState(String channelState)
Indicates whether the channel is in a running state or not.
channelState
- Indicates whether the channel is in a running state or not.ChannelState
public CreateChannelResult withChannelState(ChannelState channelState)
Indicates whether the channel is in a running state or not.
channelState
- Indicates whether the channel is in a running state or not.ChannelState
public void setCreationTime(Date creationTime)
The timestamp of when the channel was created.
creationTime
- The timestamp of when the channel was created.public Date getCreationTime()
The timestamp of when the channel was created.
public CreateChannelResult withCreationTime(Date creationTime)
The timestamp of when the channel was created.
creationTime
- The timestamp of when the channel was created.public void setLastModifiedTime(Date lastModifiedTime)
The timestamp of when the channel was last modified.
lastModifiedTime
- The timestamp of when the channel was last modified.public Date getLastModifiedTime()
The timestamp of when the channel was last modified.
public CreateChannelResult withLastModifiedTime(Date lastModifiedTime)
The timestamp of when the channel was last modified.
lastModifiedTime
- The timestamp of when the channel was last modified.public List<ResponseOutputItem> getOutputs()
The channel's output properties.
public void setOutputs(Collection<ResponseOutputItem> outputs)
The channel's output properties.
outputs
- The channel's output properties.public CreateChannelResult withOutputs(ResponseOutputItem... 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 CreateChannelResult withOutputs(Collection<ResponseOutputItem> outputs)
The channel's output properties.
outputs
- The channel's output properties.public void setPlaybackMode(String playbackMode)
The type of playback for this channel. The only supported value is LOOP.
playbackMode
- The type of playback for this channel. The only supported value is LOOP.public String getPlaybackMode()
The type of playback for this channel. The only supported value is LOOP.
public CreateChannelResult withPlaybackMode(String playbackMode)
The type of playback for this channel. The only supported value is LOOP.
playbackMode
- The type of playback for this channel. The only supported value is LOOP.public Map<String,String> getTags()
The tags assigned to the channel.
public void setTags(Map<String,String> tags)
The tags assigned to the channel.
tags
- The tags assigned to the channel.public CreateChannelResult withTags(Map<String,String> tags)
The tags assigned to the channel.
tags
- The tags assigned to the channel.public CreateChannelResult addTagsEntry(String key, String value)
public CreateChannelResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateChannelResult clone()