@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlternateMedia extends Object implements Serializable, Cloneable, StructuredPojo
A playlist of media (VOD and/or live) to be played instead of the default media on a particular program.
Constructor and Description |
---|
AlternateMedia() |
Modifier and Type | Method and Description |
---|---|
AlternateMedia |
clone() |
boolean |
equals(Object obj) |
List<AdBreak> |
getAdBreaks()
Ad break configuration parameters defined in AlternateMedia.
|
ClipRange |
getClipRange() |
Long |
getDurationMillis()
The duration of the alternateMedia in milliseconds.
|
String |
getLiveSourceName()
The name of the live source for alternateMedia.
|
Long |
getScheduledStartTimeMillis()
The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
|
String |
getSourceLocationName()
The name of the source location for alternateMedia.
|
String |
getVodSourceName()
The name of the VOD source for alternateMedia.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdBreaks(Collection<AdBreak> adBreaks)
Ad break configuration parameters defined in AlternateMedia.
|
void |
setClipRange(ClipRange clipRange) |
void |
setDurationMillis(Long durationMillis)
The duration of the alternateMedia in milliseconds.
|
void |
setLiveSourceName(String liveSourceName)
The name of the live source for alternateMedia.
|
void |
setScheduledStartTimeMillis(Long scheduledStartTimeMillis)
The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
|
void |
setSourceLocationName(String sourceLocationName)
The name of the source location for alternateMedia.
|
void |
setVodSourceName(String vodSourceName)
The name of the VOD source for alternateMedia.
|
String |
toString()
Returns a string representation of this object.
|
AlternateMedia |
withAdBreaks(AdBreak... adBreaks)
Ad break configuration parameters defined in AlternateMedia.
|
AlternateMedia |
withAdBreaks(Collection<AdBreak> adBreaks)
Ad break configuration parameters defined in AlternateMedia.
|
AlternateMedia |
withClipRange(ClipRange clipRange) |
AlternateMedia |
withDurationMillis(Long durationMillis)
The duration of the alternateMedia in milliseconds.
|
AlternateMedia |
withLiveSourceName(String liveSourceName)
The name of the live source for alternateMedia.
|
AlternateMedia |
withScheduledStartTimeMillis(Long scheduledStartTimeMillis)
The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
|
AlternateMedia |
withSourceLocationName(String sourceLocationName)
The name of the source location for alternateMedia.
|
AlternateMedia |
withVodSourceName(String vodSourceName)
The name of the VOD source for alternateMedia.
|
public List<AdBreak> getAdBreaks()
Ad break configuration parameters defined in AlternateMedia.
public void setAdBreaks(Collection<AdBreak> adBreaks)
Ad break configuration parameters defined in AlternateMedia.
adBreaks
- Ad break configuration parameters defined in AlternateMedia.public AlternateMedia withAdBreaks(AdBreak... adBreaks)
Ad break configuration parameters defined in AlternateMedia.
NOTE: This method appends the values to the existing list (if any). Use
setAdBreaks(java.util.Collection)
or withAdBreaks(java.util.Collection)
if you want to override
the existing values.
adBreaks
- Ad break configuration parameters defined in AlternateMedia.public AlternateMedia withAdBreaks(Collection<AdBreak> adBreaks)
Ad break configuration parameters defined in AlternateMedia.
adBreaks
- Ad break configuration parameters defined in AlternateMedia.public void setClipRange(ClipRange clipRange)
clipRange
- public ClipRange getClipRange()
public AlternateMedia withClipRange(ClipRange clipRange)
clipRange
- public void setDurationMillis(Long durationMillis)
The duration of the alternateMedia in milliseconds.
durationMillis
- The duration of the alternateMedia in milliseconds.public Long getDurationMillis()
The duration of the alternateMedia in milliseconds.
public AlternateMedia withDurationMillis(Long durationMillis)
The duration of the alternateMedia in milliseconds.
durationMillis
- The duration of the alternateMedia in milliseconds.public void setLiveSourceName(String liveSourceName)
The name of the live source for alternateMedia.
liveSourceName
- The name of the live source for alternateMedia.public String getLiveSourceName()
The name of the live source for alternateMedia.
public AlternateMedia withLiveSourceName(String liveSourceName)
The name of the live source for alternateMedia.
liveSourceName
- The name of the live source for alternateMedia.public void setScheduledStartTimeMillis(Long scheduledStartTimeMillis)
The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
scheduledStartTimeMillis
- The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.public Long getScheduledStartTimeMillis()
The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
public AlternateMedia withScheduledStartTimeMillis(Long scheduledStartTimeMillis)
The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
scheduledStartTimeMillis
- The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.public void setSourceLocationName(String sourceLocationName)
The name of the source location for alternateMedia.
sourceLocationName
- The name of the source location for alternateMedia.public String getSourceLocationName()
The name of the source location for alternateMedia.
public AlternateMedia withSourceLocationName(String sourceLocationName)
The name of the source location for alternateMedia.
sourceLocationName
- The name of the source location for alternateMedia.public void setVodSourceName(String vodSourceName)
The name of the VOD source for alternateMedia.
vodSourceName
- The name of the VOD source for alternateMedia.public String getVodSourceName()
The name of the VOD source for alternateMedia.
public AlternateMedia withVodSourceName(String vodSourceName)
The name of the VOD source for alternateMedia.
vodSourceName
- The name of the VOD source for alternateMedia.public String toString()
toString
in class Object
Object.toString()
public AlternateMedia clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.