@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) |
List<KeyValuePair> |
getAdBreakMetadata()
Defines a list of key/value pairs that MediaTailor generates within the
EXT-X-ASSET tag for
SCTE35_ENHANCED output. |
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. |
TimeSignalMessage |
getTimeSignalMessage()
Defines the SCTE-35
time_signal message inserted around the ad. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdBreakMetadata(Collection<KeyValuePair> adBreakMetadata)
Defines a list of key/value pairs that MediaTailor generates within the
EXT-X-ASSET tag for
SCTE35_ENHANCED output. |
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. |
void |
setTimeSignalMessage(TimeSignalMessage timeSignalMessage)
Defines the SCTE-35
time_signal message inserted around the ad. |
String |
toString()
Returns a string representation of this object.
|
AdBreak |
withAdBreakMetadata(Collection<KeyValuePair> adBreakMetadata)
Defines a list of key/value pairs that MediaTailor generates within the
EXT-X-ASSET tag for
SCTE35_ENHANCED output. |
AdBreak |
withAdBreakMetadata(KeyValuePair... adBreakMetadata)
Defines a list of key/value pairs that MediaTailor generates within the
EXT-X-ASSET tag for
SCTE35_ENHANCED output. |
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. |
AdBreak |
withTimeSignalMessage(TimeSignalMessage timeSignalMessage)
Defines the SCTE-35
time_signal message inserted around the ad. |
public List<KeyValuePair> getAdBreakMetadata()
Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET
tag for
SCTE35_ENHANCED
output.
EXT-X-ASSET
tag for
SCTE35_ENHANCED
output.public void setAdBreakMetadata(Collection<KeyValuePair> adBreakMetadata)
Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET
tag for
SCTE35_ENHANCED
output.
adBreakMetadata
- Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET
tag for
SCTE35_ENHANCED
output.public AdBreak withAdBreakMetadata(KeyValuePair... adBreakMetadata)
Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET
tag for
SCTE35_ENHANCED
output.
NOTE: This method appends the values to the existing list (if any). Use
setAdBreakMetadata(java.util.Collection)
or withAdBreakMetadata(java.util.Collection)
if you
want to override the existing values.
adBreakMetadata
- Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET
tag for
SCTE35_ENHANCED
output.public AdBreak withAdBreakMetadata(Collection<KeyValuePair> adBreakMetadata)
Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET
tag for
SCTE35_ENHANCED
output.
adBreakMetadata
- Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET
tag for
SCTE35_ENHANCED
output.public void setMessageType(String messageType)
The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT
, TIME_SIGNAL
.
messageType
- The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT
, TIME_SIGNAL
.MessageType
public String getMessageType()
The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT
, TIME_SIGNAL
.
SPLICE_INSERT
, TIME_SIGNAL
.MessageType
public AdBreak withMessageType(String messageType)
The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT
, TIME_SIGNAL
.
messageType
- The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT
, TIME_SIGNAL
.MessageType
public AdBreak withMessageType(MessageType messageType)
The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT
, TIME_SIGNAL
.
messageType
- The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT
, TIME_SIGNAL
.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.
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 void setTimeSignalMessage(TimeSignalMessage timeSignalMessage)
Defines the SCTE-35 time_signal
message inserted around the ad.
Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insert
SCTE-35 message to the ad break. This message provides basic metadata about the ad
break.
See section 9.7.4 of the 2022 SCTE-35 specification for more information.
timeSignalMessage
- Defines the SCTE-35 time_signal
message inserted around the ad.
Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insert
SCTE-35 message to the ad break. This message provides basic metadata about the
ad break.
See section 9.7.4 of the 2022 SCTE-35 specification for more information.
public TimeSignalMessage getTimeSignalMessage()
Defines the SCTE-35 time_signal
message inserted around the ad.
Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insert
SCTE-35 message to the ad break. This message provides basic metadata about the ad
break.
See section 9.7.4 of the 2022 SCTE-35 specification for more information.
time_signal
message inserted around the ad.
Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insert
SCTE-35 message to the ad break. This message provides basic metadata about
the ad break.
See section 9.7.4 of the 2022 SCTE-35 specification for more information.
public AdBreak withTimeSignalMessage(TimeSignalMessage timeSignalMessage)
Defines the SCTE-35 time_signal
message inserted around the ad.
Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insert
SCTE-35 message to the ad break. This message provides basic metadata about the ad
break.
See section 9.7.4 of the 2022 SCTE-35 specification for more information.
timeSignalMessage
- Defines the SCTE-35 time_signal
message inserted around the ad.
Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insert
SCTE-35 message to the ad break. This message provides basic metadata about the
ad break.
See section 9.7.4 of the 2022 SCTE-35 specification for more information.
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.