@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduleEntry extends Object implements Serializable, Cloneable, StructuredPojo
The properties for a schedule.
Constructor and Description |
---|
ScheduleEntry() |
Modifier and Type | Method and Description |
---|---|
ScheduleEntry |
clone() |
boolean |
equals(Object obj) |
Long |
getApproximateDurationSeconds()
The approximate duration of this program, in seconds.
|
Date |
getApproximateStartTime()
The approximate time that the program will start playing.
|
String |
getArn()
The ARN of the program.
|
List<String> |
getAudiences()
The list of audiences defined in ScheduleEntry.
|
String |
getChannelName()
The name of the channel that uses this schedule.
|
String |
getLiveSourceName()
The name of the live source used for the program.
|
String |
getProgramName()
The name of the program.
|
List<ScheduleAdBreak> |
getScheduleAdBreaks()
The schedule's ad break properties.
|
String |
getScheduleEntryType()
The type of schedule entry.
|
String |
getSourceLocationName()
The name of the source location.
|
String |
getVodSourceName()
The name of the VOD source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApproximateDurationSeconds(Long approximateDurationSeconds)
The approximate duration of this program, in seconds.
|
void |
setApproximateStartTime(Date approximateStartTime)
The approximate time that the program will start playing.
|
void |
setArn(String arn)
The ARN of the program.
|
void |
setAudiences(Collection<String> audiences)
The list of audiences defined in ScheduleEntry.
|
void |
setChannelName(String channelName)
The name of the channel that uses this schedule.
|
void |
setLiveSourceName(String liveSourceName)
The name of the live source used for the program.
|
void |
setProgramName(String programName)
The name of the program.
|
void |
setScheduleAdBreaks(Collection<ScheduleAdBreak> scheduleAdBreaks)
The schedule's ad break properties.
|
void |
setScheduleEntryType(String scheduleEntryType)
The type of schedule entry.
|
void |
setSourceLocationName(String sourceLocationName)
The name of the source location.
|
void |
setVodSourceName(String vodSourceName)
The name of the VOD source.
|
String |
toString()
Returns a string representation of this object.
|
ScheduleEntry |
withApproximateDurationSeconds(Long approximateDurationSeconds)
The approximate duration of this program, in seconds.
|
ScheduleEntry |
withApproximateStartTime(Date approximateStartTime)
The approximate time that the program will start playing.
|
ScheduleEntry |
withArn(String arn)
The ARN of the program.
|
ScheduleEntry |
withAudiences(Collection<String> audiences)
The list of audiences defined in ScheduleEntry.
|
ScheduleEntry |
withAudiences(String... audiences)
The list of audiences defined in ScheduleEntry.
|
ScheduleEntry |
withChannelName(String channelName)
The name of the channel that uses this schedule.
|
ScheduleEntry |
withLiveSourceName(String liveSourceName)
The name of the live source used for the program.
|
ScheduleEntry |
withProgramName(String programName)
The name of the program.
|
ScheduleEntry |
withScheduleAdBreaks(Collection<ScheduleAdBreak> scheduleAdBreaks)
The schedule's ad break properties.
|
ScheduleEntry |
withScheduleAdBreaks(ScheduleAdBreak... scheduleAdBreaks)
The schedule's ad break properties.
|
ScheduleEntry |
withScheduleEntryType(ScheduleEntryType scheduleEntryType)
The type of schedule entry.
|
ScheduleEntry |
withScheduleEntryType(String scheduleEntryType)
The type of schedule entry.
|
ScheduleEntry |
withSourceLocationName(String sourceLocationName)
The name of the source location.
|
ScheduleEntry |
withVodSourceName(String vodSourceName)
The name of the VOD source.
|
public void setApproximateDurationSeconds(Long approximateDurationSeconds)
The approximate duration of this program, in seconds.
approximateDurationSeconds
- The approximate duration of this program, in seconds.public Long getApproximateDurationSeconds()
The approximate duration of this program, in seconds.
public ScheduleEntry withApproximateDurationSeconds(Long approximateDurationSeconds)
The approximate duration of this program, in seconds.
approximateDurationSeconds
- The approximate duration of this program, in seconds.public void setApproximateStartTime(Date approximateStartTime)
The approximate time that the program will start playing.
approximateStartTime
- The approximate time that the program will start playing.public Date getApproximateStartTime()
The approximate time that the program will start playing.
public ScheduleEntry withApproximateStartTime(Date approximateStartTime)
The approximate time that the program will start playing.
approximateStartTime
- The approximate time that the program will start playing.public void setArn(String arn)
The ARN of the program.
arn
- The ARN of the program.public String getArn()
The ARN of the program.
public ScheduleEntry withArn(String arn)
The ARN of the program.
arn
- The ARN of the program.public List<String> getAudiences()
The list of audiences defined in ScheduleEntry.
public void setAudiences(Collection<String> audiences)
The list of audiences defined in ScheduleEntry.
audiences
- The list of audiences defined in ScheduleEntry.public ScheduleEntry withAudiences(String... audiences)
The list of audiences defined in ScheduleEntry.
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 ScheduleEntry.public ScheduleEntry withAudiences(Collection<String> audiences)
The list of audiences defined in ScheduleEntry.
audiences
- The list of audiences defined in ScheduleEntry.public void setChannelName(String channelName)
The name of the channel that uses this schedule.
channelName
- The name of the channel that uses this schedule.public String getChannelName()
The name of the channel that uses this schedule.
public ScheduleEntry withChannelName(String channelName)
The name of the channel that uses this schedule.
channelName
- The name of the channel that uses this schedule.public void setLiveSourceName(String liveSourceName)
The name of the live source used for the program.
liveSourceName
- The name of the live source used for the program.public String getLiveSourceName()
The name of the live source used for the program.
public ScheduleEntry withLiveSourceName(String liveSourceName)
The name of the live source used for the program.
liveSourceName
- The name of the live source used for the program.public void setProgramName(String programName)
The name of the program.
programName
- The name of the program.public String getProgramName()
The name of the program.
public ScheduleEntry withProgramName(String programName)
The name of the program.
programName
- The name of the program.public List<ScheduleAdBreak> getScheduleAdBreaks()
The schedule's ad break properties.
public void setScheduleAdBreaks(Collection<ScheduleAdBreak> scheduleAdBreaks)
The schedule's ad break properties.
scheduleAdBreaks
- The schedule's ad break properties.public ScheduleEntry withScheduleAdBreaks(ScheduleAdBreak... scheduleAdBreaks)
The schedule's ad break properties.
NOTE: This method appends the values to the existing list (if any). Use
setScheduleAdBreaks(java.util.Collection)
or withScheduleAdBreaks(java.util.Collection)
if you
want to override the existing values.
scheduleAdBreaks
- The schedule's ad break properties.public ScheduleEntry withScheduleAdBreaks(Collection<ScheduleAdBreak> scheduleAdBreaks)
The schedule's ad break properties.
scheduleAdBreaks
- The schedule's ad break properties.public void setScheduleEntryType(String scheduleEntryType)
The type of schedule entry.
scheduleEntryType
- The type of schedule entry.ScheduleEntryType
public String getScheduleEntryType()
The type of schedule entry.
ScheduleEntryType
public ScheduleEntry withScheduleEntryType(String scheduleEntryType)
The type of schedule entry.
scheduleEntryType
- The type of schedule entry.ScheduleEntryType
public ScheduleEntry withScheduleEntryType(ScheduleEntryType scheduleEntryType)
The type of schedule entry.
scheduleEntryType
- The type of schedule entry.ScheduleEntryType
public void setSourceLocationName(String sourceLocationName)
The name of the source location.
sourceLocationName
- The name of the source location.public String getSourceLocationName()
The name of the source location.
public ScheduleEntry withSourceLocationName(String sourceLocationName)
The name of the source location.
sourceLocationName
- The name of the source location.public void setVodSourceName(String vodSourceName)
The name of the VOD source.
vodSourceName
- The name of the VOD source.public String getVodSourceName()
The name of the VOD source.
public ScheduleEntry withVodSourceName(String vodSourceName)
The name of the VOD source.
vodSourceName
- The name of the VOD source.public String toString()
toString
in class Object
Object.toString()
public ScheduleEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.