Interface AdBreak.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AdBreak.Builder,,AdBreak> SdkBuilder<AdBreak.Builder,,AdBreak> SdkPojo
- Enclosing class:
AdBreak
-
Method Summary
Modifier and TypeMethodDescriptionadBreakMetadata(Collection<KeyValuePair> adBreakMetadata) Defines a list of key/value pairs that MediaTailor generates within theEXT-X-ASSETtag forSCTE35_ENHANCEDoutput.adBreakMetadata(Consumer<KeyValuePair.Builder>... adBreakMetadata) Defines a list of key/value pairs that MediaTailor generates within theEXT-X-ASSETtag forSCTE35_ENHANCEDoutput.adBreakMetadata(KeyValuePair... adBreakMetadata) Defines a list of key/value pairs that MediaTailor generates within theEXT-X-ASSETtag forSCTE35_ENHANCEDoutput.messageType(String messageType) The SCTE-35 ad insertion type.messageType(MessageType messageType) The SCTE-35 ad insertion type.offsetMillis(Long offsetMillis) How long (in milliseconds) after the beginning of the program that an ad starts.default AdBreak.Builderslate(Consumer<SlateSource.Builder> slate) Ad break slate configuration.slate(SlateSource slate) Ad break slate configuration.default AdBreak.BuilderspliceInsertMessage(Consumer<SpliceInsertMessage.Builder> spliceInsertMessage) This defines the SCTE-35splice_insert()message inserted around the ad.spliceInsertMessage(SpliceInsertMessage spliceInsertMessage) This defines the SCTE-35splice_insert()message inserted around the ad.default AdBreak.BuildertimeSignalMessage(Consumer<TimeSignalMessage.Builder> timeSignalMessage) Defines the SCTE-35time_signalmessage inserted around the ad.timeSignalMessage(TimeSignalMessage timeSignalMessage) Defines the SCTE-35time_signalmessage inserted around the ad.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
adBreakMetadata
Defines a list of key/value pairs that MediaTailor generates within the
EXT-X-ASSETtag forSCTE35_ENHANCEDoutput.- Parameters:
adBreakMetadata- Defines a list of key/value pairs that MediaTailor generates within theEXT-X-ASSETtag forSCTE35_ENHANCEDoutput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreakMetadata
Defines a list of key/value pairs that MediaTailor generates within the
EXT-X-ASSETtag forSCTE35_ENHANCEDoutput.- Parameters:
adBreakMetadata- Defines a list of key/value pairs that MediaTailor generates within theEXT-X-ASSETtag forSCTE35_ENHANCEDoutput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreakMetadata
Defines a list of key/value pairs that MediaTailor generates within the
This is a convenience method that creates an instance of theEXT-X-ASSETtag forSCTE35_ENHANCEDoutput.KeyValuePair.Builderavoiding the need to create one manually viaKeyValuePair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadBreakMetadata(List<KeyValuePair>).- Parameters:
adBreakMetadata- a consumer that will call methods onKeyValuePair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messageType
The SCTE-35 ad insertion type. Accepted value:
SPLICE_INSERT,TIME_SIGNAL.- Parameters:
messageType- The SCTE-35 ad insertion type. Accepted value:SPLICE_INSERT,TIME_SIGNAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messageType
The SCTE-35 ad insertion type. Accepted value:
SPLICE_INSERT,TIME_SIGNAL.- Parameters:
messageType- The SCTE-35 ad insertion type. Accepted value:SPLICE_INSERT,TIME_SIGNAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slate
Ad break slate configuration.
- Parameters:
slate- Ad break slate configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slate
Ad break slate configuration.
This is a convenience method that creates an instance of theSlateSource.Builderavoiding the need to create one manually viaSlateSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toslate(SlateSource).- Parameters:
slate- a consumer that will call methods onSlateSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spliceInsertMessage
This defines the SCTE-35
splice_insert()message inserted around the ad. For information about usingsplice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.- Parameters:
spliceInsertMessage- This defines the SCTE-35splice_insert()message inserted around the ad. For information about usingsplice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spliceInsertMessage
default AdBreak.Builder spliceInsertMessage(Consumer<SpliceInsertMessage.Builder> spliceInsertMessage) This defines the SCTE-35
This is a convenience method that creates an instance of thesplice_insert()message inserted around the ad. For information about usingsplice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.SpliceInsertMessage.Builderavoiding the need to create one manually viaSpliceInsertMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospliceInsertMessage(SpliceInsertMessage).- Parameters:
spliceInsertMessage- a consumer that will call methods onSpliceInsertMessage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeSignalMessage
Defines the SCTE-35
time_signalmessage inserted around the ad.Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insertSCTE-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.
- Parameters:
timeSignalMessage- Defines the SCTE-35time_signalmessage inserted around the ad.Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insertSCTE-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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSignalMessage
Defines the SCTE-35
time_signalmessage inserted around the ad.Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insertSCTE-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.
This is a convenience method that creates an instance of theTimeSignalMessage.Builderavoiding the need to create one manually viaTimeSignalMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeSignalMessage(TimeSignalMessage).- Parameters:
timeSignalMessage- a consumer that will call methods onTimeSignalMessage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-