@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 Amazon Resource Name (ARN) to assign to the channel.
|
List<String> |
getAudiences()
The list of audiences defined in channel.
|
String |
getChannelName()
The name to assign to 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.
|
SlateSource |
getFillerSlate()
Contains information about the slate used to fill gaps between programs in the schedule.
|
Date |
getLastModifiedTime()
The timestamp of when the channel was last modified.
|
List<ResponseOutputItem> |
getOutputs()
The output properties to assign to the channel.
|
String |
getPlaybackMode()
The playback mode to assign to the 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 assigned to the channel.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) to assign to the channel.
|
void |
setAudiences(Collection<String> audiences)
The list of audiences defined in channel.
|
void |
setChannelName(String channelName)
The name to assign to 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 |
setFillerSlate(SlateSource fillerSlate)
Contains information about 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 |
setOutputs(Collection<ResponseOutputItem> outputs)
The output properties to assign to the channel.
|
void |
setPlaybackMode(String playbackMode)
The playback mode to assign to the 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 assigned to the channel.
|
String |
toString()
Returns a string representation of this object.
|
CreateChannelResult |
withArn(String arn)
The Amazon Resource Name (ARN) to assign to the channel.
|
CreateChannelResult |
withAudiences(Collection<String> audiences)
The list of audiences defined in channel.
|
CreateChannelResult |
withAudiences(String... audiences)
The list of audiences defined in channel.
|
CreateChannelResult |
withChannelName(String channelName)
The name to assign to 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 |
withFillerSlate(SlateSource fillerSlate)
Contains information about the slate used to fill gaps between programs in the schedule.
|
CreateChannelResult |
withLastModifiedTime(Date lastModifiedTime)
The timestamp of when the channel was last modified.
|
CreateChannelResult |
withOutputs(Collection<ResponseOutputItem> outputs)
The output properties to assign to the channel.
|
CreateChannelResult |
withOutputs(ResponseOutputItem... outputs)
The output properties to assign to the channel.
|
CreateChannelResult |
withPlaybackMode(String playbackMode)
The playback mode to assign to the channel.
|
CreateChannelResult |
withTags(Map<String,String> tags)
The tags to assign to the channel.
|
CreateChannelResult |
withTier(String tier)
The tier of the channel.
|
CreateChannelResult |
withTimeShiftConfiguration(TimeShiftConfiguration timeShiftConfiguration)
The time-shifted viewing configuration assigned to the channel.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name (ARN) to assign to the channel.
arn
- The Amazon Resource Name (ARN) to assign to the channel.public String getArn()
The Amazon Resource Name (ARN) to assign to the channel.
public CreateChannelResult withArn(String arn)
The Amazon Resource Name (ARN) to assign to the channel.
arn
- The Amazon Resource Name (ARN) to assign to 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 CreateChannelResult 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 CreateChannelResult 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 to assign to the channel.
channelName
- The name to assign to the channel.public String getChannelName()
The name to assign to the channel.
public CreateChannelResult withChannelName(String channelName)
The name to assign to the channel.
channelName
- The name to assign to 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 setFillerSlate(SlateSource fillerSlate)
Contains information about the slate used to fill gaps between programs in the schedule.
fillerSlate
- Contains information about the slate used to fill gaps between programs in the schedule.public SlateSource getFillerSlate()
Contains information about the slate used to fill gaps between programs in the schedule.
public CreateChannelResult withFillerSlate(SlateSource fillerSlate)
Contains information about the slate used to fill gaps between programs in the schedule.
fillerSlate
- Contains information about the slate used to fill gaps between programs in the schedule.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 output properties to assign to the channel.
public void setOutputs(Collection<ResponseOutputItem> outputs)
The output properties to assign to the channel.
outputs
- The output properties to assign to the channel.public CreateChannelResult withOutputs(ResponseOutputItem... outputs)
The output properties to assign to the channel.
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 output properties to assign to the channel.public CreateChannelResult withOutputs(Collection<ResponseOutputItem> outputs)
The output properties to assign to the channel.
outputs
- The output properties to assign to the channel.public void setPlaybackMode(String playbackMode)
The playback mode to assign to the channel.
playbackMode
- The playback mode to assign to the channel.public String getPlaybackMode()
The playback mode to assign to the channel.
public CreateChannelResult withPlaybackMode(String playbackMode)
The playback mode to assign to the channel.
playbackMode
- The playback mode to assign to the channel.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 CreateChannelResult 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 CreateChannelResult addTagsEntry(String key, String value)
public CreateChannelResult clearTagsEntries()
public void setTier(String tier)
The tier of the channel.
tier
- The tier of the channel.public String getTier()
The tier of the channel.
public CreateChannelResult withTier(String tier)
The tier of the channel.
tier
- The tier of the channel.public void setTimeShiftConfiguration(TimeShiftConfiguration timeShiftConfiguration)
The time-shifted viewing configuration assigned to the channel.
timeShiftConfiguration
- The time-shifted viewing configuration assigned to the channel.public TimeShiftConfiguration getTimeShiftConfiguration()
The time-shifted viewing configuration assigned to the channel.
public CreateChannelResult withTimeShiftConfiguration(TimeShiftConfiguration timeShiftConfiguration)
The time-shifted viewing configuration assigned to the channel.
timeShiftConfiguration
- The time-shifted viewing configuration assigned to the channel.public String toString()
toString
in class Object
Object.toString()
public CreateChannelResult clone()