@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) |
List<String> |
getAudiences()
The list of audiences defined in channel.
|
String |
getChannelName()
The name of the channel.
|
SlateSource |
getFillerSlate()
The slate used to fill gaps between programs in the schedule.
|
List<RequestOutputItem> |
getOutputs()
The channel's output properties.
|
String |
getPlaybackMode()
The type of playback mode to use for this channel.
|
Map<String,String> |
getTags()
The tags to assign to the channel.
|
String |
getTier()
The tier of the channel.
|
TimeShiftConfiguration |
getTimeShiftConfiguration()
The time-shifted viewing configuration you want to associate to the channel.
|
int |
hashCode() |
void |
setAudiences(Collection<String> audiences)
The list of audiences defined in channel.
|
void |
setChannelName(String channelName)
The name of the channel.
|
void |
setFillerSlate(SlateSource fillerSlate)
The slate used to fill gaps between programs in the schedule.
|
void |
setOutputs(Collection<RequestOutputItem> outputs)
The channel's output properties.
|
void |
setPlaybackMode(String playbackMode)
The type of playback mode to use for this channel.
|
void |
setTags(Map<String,String> tags)
The tags to assign to the channel.
|
void |
setTier(String tier)
The tier of the channel.
|
void |
setTimeShiftConfiguration(TimeShiftConfiguration timeShiftConfiguration)
The time-shifted viewing configuration you want to associate to the channel.
|
String |
toString()
Returns a string representation of this object.
|
CreateChannelRequest |
withAudiences(Collection<String> audiences)
The list of audiences defined in channel.
|
CreateChannelRequest |
withAudiences(String... audiences)
The list of audiences defined in channel.
|
CreateChannelRequest |
withChannelName(String channelName)
The name of the channel.
|
CreateChannelRequest |
withFillerSlate(SlateSource fillerSlate)
The slate used to fill gaps between programs in the schedule.
|
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 to use for this channel.
|
CreateChannelRequest |
withPlaybackMode(String playbackMode)
The type of playback mode to use for this channel.
|
CreateChannelRequest |
withTags(Map<String,String> tags)
The tags to assign to the channel.
|
CreateChannelRequest |
withTier(String tier)
The tier of the channel.
|
CreateChannelRequest |
withTier(Tier tier)
The tier of the channel.
|
CreateChannelRequest |
withTimeShiftConfiguration(TimeShiftConfiguration timeShiftConfiguration)
The time-shifted viewing configuration you want to associate 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 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 CreateChannelRequest 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 CreateChannelRequest 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 CreateChannelRequest withChannelName(String channelName)
The name of the channel.
channelName
- The name of the channel.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 CreateChannelRequest 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 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 to use for this channel.
LINEAR
- The programs in the schedule play once back-to-back in the schedule.
LOOP
- The programs in the schedule play back-to-back in an endless loop. When the last program in
the schedule stops playing, playback loops back to the first program in the schedule.
playbackMode
- The type of playback mode to use for this channel.
LINEAR
- The programs in the schedule play once back-to-back in the schedule.
LOOP
- The programs in the schedule play back-to-back in an endless loop. When the last
program in the schedule stops playing, playback loops back to the first program in the schedule.
PlaybackMode
public String getPlaybackMode()
The type of playback mode to use for this channel.
LINEAR
- The programs in the schedule play once back-to-back in the schedule.
LOOP
- The programs in the schedule play back-to-back in an endless loop. When the last program in
the schedule stops playing, playback loops back to the first program in the schedule.
LINEAR
- The programs in the schedule play once back-to-back in the schedule.
LOOP
- The programs in the schedule play back-to-back in an endless loop. When the last
program in the schedule stops playing, playback loops back to the first program in the schedule.
PlaybackMode
public CreateChannelRequest withPlaybackMode(String playbackMode)
The type of playback mode to use for this channel.
LINEAR
- The programs in the schedule play once back-to-back in the schedule.
LOOP
- The programs in the schedule play back-to-back in an endless loop. When the last program in
the schedule stops playing, playback loops back to the first program in the schedule.
playbackMode
- The type of playback mode to use for this channel.
LINEAR
- The programs in the schedule play once back-to-back in the schedule.
LOOP
- The programs in the schedule play back-to-back in an endless loop. When the last
program in the schedule stops playing, playback loops back to the first program in the schedule.
PlaybackMode
public CreateChannelRequest withPlaybackMode(PlaybackMode playbackMode)
The type of playback mode to use for this channel.
LINEAR
- The programs in the schedule play once back-to-back in the schedule.
LOOP
- The programs in the schedule play back-to-back in an endless loop. When the last program in
the schedule stops playing, playback loops back to the first program in the schedule.
playbackMode
- The type of playback mode to use for this channel.
LINEAR
- The programs in the schedule play once back-to-back in the schedule.
LOOP
- The programs in the schedule play back-to-back in an endless loop. When the last
program in the schedule stops playing, playback loops back to the first program in the schedule.
PlaybackMode
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 CreateChannelRequest 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 CreateChannelRequest addTagsEntry(String key, String value)
public CreateChannelRequest clearTagsEntries()
public void setTier(String tier)
The tier of the channel.
tier
- The tier of the channel.Tier
public String getTier()
The tier of the channel.
Tier
public CreateChannelRequest withTier(String tier)
The tier of the channel.
tier
- The tier of the channel.Tier
public CreateChannelRequest withTier(Tier tier)
The tier of the channel.
tier
- The tier of the channel.Tier
public void setTimeShiftConfiguration(TimeShiftConfiguration timeShiftConfiguration)
The time-shifted viewing configuration you want to associate to the channel.
timeShiftConfiguration
- The time-shifted viewing configuration you want to associate to the channel.public TimeShiftConfiguration getTimeShiftConfiguration()
The time-shifted viewing configuration you want to associate to the channel.
public CreateChannelRequest withTimeShiftConfiguration(TimeShiftConfiguration timeShiftConfiguration)
The time-shifted viewing configuration you want to associate to the channel.
timeShiftConfiguration
- The time-shifted viewing configuration you want to associate to the channel.public String toString()
toString
in class Object
Object.toString()
public CreateChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.