@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeChannelResult() |
Modifier and Type | Method and Description |
---|---|
DescribeChannelResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
DescribeChannelResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
DescribeChannelResult |
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.
|
DescribeChannelResult |
withArn(String arn)
The ARN of the channel.
|
DescribeChannelResult |
withChannelName(String channelName)
The name of the channel.
|
DescribeChannelResult |
withChannelState(ChannelState channelState)
Indicates whether the channel is in a running state or not.
|
DescribeChannelResult |
withChannelState(String channelState)
Indicates whether the channel is in a running state or not.
|
DescribeChannelResult |
withCreationTime(Date creationTime)
The timestamp of when the channel was created.
|
DescribeChannelResult |
withLastModifiedTime(Date lastModifiedTime)
The timestamp of when the channel was last modified.
|
DescribeChannelResult |
withOutputs(Collection<ResponseOutputItem> outputs)
The channel's output properties.
|
DescribeChannelResult |
withOutputs(ResponseOutputItem... outputs)
The channel's output properties.
|
DescribeChannelResult |
withPlaybackMode(String playbackMode)
The type of playback for this channel.
|
DescribeChannelResult |
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 DescribeChannelResult 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 DescribeChannelResult 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 DescribeChannelResult 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 DescribeChannelResult 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 DescribeChannelResult 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 DescribeChannelResult 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 DescribeChannelResult 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 DescribeChannelResult 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 DescribeChannelResult 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 DescribeChannelResult withTags(Map<String,String> tags)
The tags assigned to the channel.
tags
- The tags assigned to the channel.public DescribeChannelResult addTagsEntry(String key, String value)
public DescribeChannelResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public DescribeChannelResult clone()