@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduleAdBreak extends Object implements Serializable, Cloneable, StructuredPojo
The schedule's ad break properties.
Constructor and Description |
---|
ScheduleAdBreak() |
Modifier and Type | Method and Description |
---|---|
ScheduleAdBreak |
clone() |
boolean |
equals(Object obj) |
Long |
getApproximateDurationSeconds()
The approximate duration of the ad break, in seconds.
|
Date |
getApproximateStartTime()
The approximate time that the ad will start playing.
|
String |
getSourceLocationName()
The name of the source location containing the VOD source used for the ad break.
|
String |
getVodSourceName()
The name of the VOD source used for the ad break.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApproximateDurationSeconds(Long approximateDurationSeconds)
The approximate duration of the ad break, in seconds.
|
void |
setApproximateStartTime(Date approximateStartTime)
The approximate time that the ad will start playing.
|
void |
setSourceLocationName(String sourceLocationName)
The name of the source location containing the VOD source used for the ad break.
|
void |
setVodSourceName(String vodSourceName)
The name of the VOD source used for the ad break.
|
String |
toString()
Returns a string representation of this object.
|
ScheduleAdBreak |
withApproximateDurationSeconds(Long approximateDurationSeconds)
The approximate duration of the ad break, in seconds.
|
ScheduleAdBreak |
withApproximateStartTime(Date approximateStartTime)
The approximate time that the ad will start playing.
|
ScheduleAdBreak |
withSourceLocationName(String sourceLocationName)
The name of the source location containing the VOD source used for the ad break.
|
ScheduleAdBreak |
withVodSourceName(String vodSourceName)
The name of the VOD source used for the ad break.
|
public void setApproximateDurationSeconds(Long approximateDurationSeconds)
The approximate duration of the ad break, in seconds.
approximateDurationSeconds
- The approximate duration of the ad break, in seconds.public Long getApproximateDurationSeconds()
The approximate duration of the ad break, in seconds.
public ScheduleAdBreak withApproximateDurationSeconds(Long approximateDurationSeconds)
The approximate duration of the ad break, in seconds.
approximateDurationSeconds
- The approximate duration of the ad break, in seconds.public void setApproximateStartTime(Date approximateStartTime)
The approximate time that the ad will start playing.
approximateStartTime
- The approximate time that the ad will start playing.public Date getApproximateStartTime()
The approximate time that the ad will start playing.
public ScheduleAdBreak withApproximateStartTime(Date approximateStartTime)
The approximate time that the ad will start playing.
approximateStartTime
- The approximate time that the ad will start playing.public void setSourceLocationName(String sourceLocationName)
The name of the source location containing the VOD source used for the ad break.
sourceLocationName
- The name of the source location containing the VOD source used for the ad break.public String getSourceLocationName()
The name of the source location containing the VOD source used for the ad break.
public ScheduleAdBreak withSourceLocationName(String sourceLocationName)
The name of the source location containing the VOD source used for the ad break.
sourceLocationName
- The name of the source location containing the VOD source used for the ad break.public void setVodSourceName(String vodSourceName)
The name of the VOD source used for the ad break.
vodSourceName
- The name of the VOD source used for the ad break.public String getVodSourceName()
The name of the VOD source used for the ad break.
public ScheduleAdBreak withVodSourceName(String vodSourceName)
The name of the VOD source used for the ad break.
vodSourceName
- The name of the VOD source used for the ad break.public String toString()
toString
in class Object
Object.toString()
public ScheduleAdBreak clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.