@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Channel extends Object implements Serializable, Cloneable, StructuredPojo
The configuration parameters for a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
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.
|
List<String> |
getAudiences()
The list of audiences defined in 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.
|
SlateSource |
getFillerSlate()
The slate used to fill gaps between programs in the schedule.
|
Date |
getLastModifiedTime()
The timestamp of when the channel was last modified.
|
LogConfigurationForChannel |
getLogConfiguration()
The log configuration.
|
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.
|
String |
getTier()
The tier for this 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 |
setAudiences(Collection<String> audiences)
The list of audiences defined in 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 |
setFillerSlate(SlateSource fillerSlate)
The slate used to fill gaps between programs in the schedule.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp of when the channel was last modified.
|
void |
setLogConfiguration(LogConfigurationForChannel logConfiguration)
The log configuration.
|
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.
|
void |
setTier(String tier)
The tier for this channel.
|
String |
toString()
Returns a string representation of this object.
|
Channel |
withArn(String arn)
The ARN of the channel.
|
Channel |
withAudiences(Collection<String> audiences)
The list of audiences defined in channel.
|
Channel |
withAudiences(String... audiences)
The list of audiences defined in 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 |
withFillerSlate(SlateSource fillerSlate)
The slate used to fill gaps between programs in the schedule.
|
Channel |
withLastModifiedTime(Date lastModifiedTime)
The timestamp of when the channel was last modified.
|
Channel |
withLogConfiguration(LogConfigurationForChannel logConfiguration)
The log configuration.
|
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.
|
Channel |
withTier(String tier)
The tier for this 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 List<String> getAudiences()
The list of audiences defined in channel.
public void setAudiences(Collection<String> audiences)
The list of audiences defined in channel.
audiences
- The list of audiences defined in channel.public Channel withAudiences(String... audiences)
The list of audiences defined in channel.
NOTE: This method appends the values to the existing list (if any). Use
setAudiences(java.util.Collection)
or withAudiences(java.util.Collection)
if you want to
override the existing values.
audiences
- The list of audiences defined in channel.public Channel withAudiences(Collection<String> audiences)
The list of audiences defined in channel.
audiences
- The list of audiences defined in 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 setFillerSlate(SlateSource fillerSlate)
The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel
uses the LINEAR
PlaybackMode
. MediaTailor doesn't support filler slate for channels
using the LOOP
PlaybackMode
.
fillerSlate
- The slate used to fill gaps between programs in the schedule. You must configure filler slate if your
channel uses the LINEAR
PlaybackMode
. MediaTailor doesn't support filler slate
for channels using the LOOP
PlaybackMode
.public SlateSource getFillerSlate()
The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel
uses the LINEAR
PlaybackMode
. MediaTailor doesn't support filler slate for channels
using the LOOP
PlaybackMode
.
LINEAR
PlaybackMode
. MediaTailor doesn't support filler slate
for channels using the LOOP
PlaybackMode
.public Channel withFillerSlate(SlateSource fillerSlate)
The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel
uses the LINEAR
PlaybackMode
. MediaTailor doesn't support filler slate for channels
using the LOOP
PlaybackMode
.
fillerSlate
- The slate used to fill gaps between programs in the schedule. You must configure filler slate if your
channel uses the LINEAR
PlaybackMode
. MediaTailor doesn't support filler slate
for channels using the LOOP
PlaybackMode
.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 void setLogConfiguration(LogConfigurationForChannel logConfiguration)
The log configuration.
logConfiguration
- The log configuration.public LogConfigurationForChannel getLogConfiguration()
The log configuration.
public Channel withLogConfiguration(LogConfigurationForChannel logConfiguration)
The log configuration.
logConfiguration
- The log configuration.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.
LINEAR
- Programs play back-to-back only once.
LOOP
- Programs play back-to-back in an endless loop. When the last program in the schedule plays,
playback loops back to the first program in the schedule.
playbackMode
- The type of playback mode for this channel.
LINEAR
- Programs play back-to-back only once.
LOOP
- Programs play back-to-back in an endless loop. When the last program in the schedule
plays, playback loops back to the first program in the schedule.
public String getPlaybackMode()
The type of playback mode for this channel.
LINEAR
- Programs play back-to-back only once.
LOOP
- Programs play back-to-back in an endless loop. When the last program in the schedule plays,
playback loops back to the first program in the schedule.
LINEAR
- Programs play back-to-back only once.
LOOP
- Programs play back-to-back in an endless loop. When the last program in the schedule
plays, playback loops back to the first program in the schedule.
public Channel withPlaybackMode(String playbackMode)
The type of playback mode for this channel.
LINEAR
- Programs play back-to-back only once.
LOOP
- Programs play back-to-back in an endless loop. When the last program in the schedule plays,
playback loops back to the first program in the schedule.
playbackMode
- The type of playback mode for this channel.
LINEAR
- Programs play back-to-back only once.
LOOP
- Programs play back-to-back in an endless loop. When the last program in the schedule
plays, playback loops back to the first program in the schedule.
public Map<String,String> getTags()
The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
public void setTags(Map<String,String> tags)
The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
tags
- The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources
to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor
Resources.public Channel withTags(Map<String,String> tags)
The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
tags
- The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources
to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor
Resources.public Channel clearTagsEntries()
public void setTier(String tier)
The tier for this channel. STANDARD tier channels can contain live programs.
tier
- The tier for this channel. STANDARD tier channels can contain live programs.public String getTier()
The tier for this channel. STANDARD tier channels can contain live programs.
public Channel withTier(String tier)
The tier for this channel. STANDARD tier channels can contain live programs.
tier
- The tier for this channel. STANDARD tier channels can contain live programs.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.