@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdBreak extends Object implements Serializable, Cloneable, StructuredPojo
Ad break configuration parameters.
Constructor and Description |
---|
AdBreak() |
Modifier and Type | Method and Description |
---|---|
AdBreak |
clone() |
boolean |
equals(Object obj) |
String |
getMessageType()
The SCTE-35 ad insertion type.
|
Long |
getOffsetMillis()
How long (in milliseconds) after the beginning of the program that an ad starts.
|
SlateSource |
getSlate()
Ad break slate configuration.
|
SpliceInsertMessage |
getSpliceInsertMessage()
This defines the SCTE-35 splice_insert() message inserted around the ad.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessageType(String messageType)
The SCTE-35 ad insertion type.
|
void |
setOffsetMillis(Long offsetMillis)
How long (in milliseconds) after the beginning of the program that an ad starts.
|
void |
setSlate(SlateSource slate)
Ad break slate configuration.
|
void |
setSpliceInsertMessage(SpliceInsertMessage spliceInsertMessage)
This defines the SCTE-35 splice_insert() message inserted around the ad.
|
String |
toString()
Returns a string representation of this object.
|
AdBreak |
withMessageType(MessageType messageType)
The SCTE-35 ad insertion type.
|
AdBreak |
withMessageType(String messageType)
The SCTE-35 ad insertion type.
|
AdBreak |
withOffsetMillis(Long offsetMillis)
How long (in milliseconds) after the beginning of the program that an ad starts.
|
AdBreak |
withSlate(SlateSource slate)
Ad break slate configuration.
|
AdBreak |
withSpliceInsertMessage(SpliceInsertMessage spliceInsertMessage)
This defines the SCTE-35 splice_insert() message inserted around the ad.
|
public void setMessageType(String messageType)
The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.
messageType
- The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.MessageType
public String getMessageType()
The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.
MessageType
public AdBreak withMessageType(String messageType)
The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.
messageType
- The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.MessageType
public AdBreak withMessageType(MessageType messageType)
The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.
messageType
- The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.MessageType
public void setOffsetMillis(Long offsetMillis)
How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall within 100ms of a segment boundary, otherwise the ad break will be skipped.
offsetMillis
- How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall
within 100ms of a segment boundary, otherwise the ad break will be skipped.public Long getOffsetMillis()
How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall within 100ms of a segment boundary, otherwise the ad break will be skipped.
public AdBreak withOffsetMillis(Long offsetMillis)
How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall within 100ms of a segment boundary, otherwise the ad break will be skipped.
offsetMillis
- How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall
within 100ms of a segment boundary, otherwise the ad break will be skipped.public void setSlate(SlateSource slate)
Ad break slate configuration.
slate
- Ad break slate configuration.public SlateSource getSlate()
Ad break slate configuration.
public AdBreak withSlate(SlateSource slate)
Ad break slate configuration.
slate
- Ad break slate configuration.public void setSpliceInsertMessage(SpliceInsertMessage spliceInsertMessage)
This defines the SCTE-35 splice_insert() message inserted around the ad. For information about using splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.
spliceInsertMessage
- This defines the SCTE-35 splice_insert() message inserted around the ad. For information about using
splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.public SpliceInsertMessage getSpliceInsertMessage()
This defines the SCTE-35 splice_insert() message inserted around the ad. For information about using splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.
public AdBreak withSpliceInsertMessage(SpliceInsertMessage spliceInsertMessage)
This defines the SCTE-35 splice_insert() message inserted around the ad. For information about using splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.
spliceInsertMessage
- This defines the SCTE-35 splice_insert() message inserted around the ad. For information about using
splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.