@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Channel extends Object implements Serializable, Cloneable, StructuredPojo
The configuration parameters for a channel.
Constructor and Description |
---|
Channel() |
Modifier and Type | Method and Description |
---|---|
Channel |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Channel |
clearTagsEntries()
Removes all the entries added into Tags.
|
Channel |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the channel.
|
String |
getChannelName()
The name of the channel.
|
String |
getChannelState()
Returns the state whether the channel is running 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 mode for this channel.
|
Map<String,String> |
getTags()
The tags to assign to the channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the channel.
|
void |
setChannelName(String channelName)
The name of the channel.
|
void |
setChannelState(String channelState)
Returns the state whether the channel is running 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 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.
|
Channel |
withArn(String arn)
The ARN of the channel.
|
Channel |
withChannelName(String channelName)
The name of the channel.
|
Channel |
withChannelState(String channelState)
Returns the state whether the channel is running or not.
|
Channel |
withCreationTime(Date creationTime)
The timestamp of when the channel was created.
|
Channel |
withLastModifiedTime(Date lastModifiedTime)
The timestamp of when the channel was last modified.
|
Channel |
withOutputs(Collection<ResponseOutputItem> outputs)
The channel's output properties.
|
Channel |
withOutputs(ResponseOutputItem... outputs)
The channel's output properties.
|
Channel |
withPlaybackMode(String playbackMode)
The type of playback mode for this channel.
|
Channel |
withTags(Map<String,String> tags)
The tags to assign to the channel.
|
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 Channel 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 Channel withChannelName(String channelName)
The name of the channel.
channelName
- The name of the channel.public void setChannelState(String channelState)
Returns the state whether the channel is running or not.
channelState
- Returns the state whether the channel is running or not.public String getChannelState()
Returns the state whether the channel is running or not.
public Channel withChannelState(String channelState)
Returns the state whether the channel is running or not.
channelState
- Returns the state whether the channel is running or not.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 Channel 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 Channel 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 Channel 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 Channel withOutputs(Collection<ResponseOutputItem> 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. Possible values: ONCE or LOOP.
playbackMode
- The type of playback mode for this channel. Possible values: ONCE or LOOP.public String getPlaybackMode()
The type of playback mode for this channel. Possible values: ONCE or LOOP.
public Channel withPlaybackMode(String playbackMode)
The type of playback mode for this channel. Possible values: ONCE or LOOP.
playbackMode
- The type of playback mode for this channel. Possible values: ONCE or LOOP.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 Channel withTags(Map<String,String> tags)
The tags to assign to the channel.
tags
- The tags to assign to the channel.public Channel clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.