Interface CfnProgram.AdBreakProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProgram.AdBreakProperty.Jsii$Proxy
- Enclosing class:
CfnProgram
@Stability(Stable)
public static interface CfnProgram.AdBreakProperty
extends software.amazon.jsii.JsiiSerializable
Ad break configuration parameters.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediatailor.*;
AdBreakProperty adBreakProperty = AdBreakProperty.builder()
.offsetMillis(123)
// the properties below are optional
.adBreakMetadata(List.of(KeyValuePairProperty.builder()
.key("key")
.value("value")
.build()))
.messageType("messageType")
.slate(SlateSourceProperty.builder()
.sourceLocationName("sourceLocationName")
.vodSourceName("vodSourceName")
.build())
.spliceInsertMessage(SpliceInsertMessageProperty.builder()
.availNum(123)
.availsExpected(123)
.spliceEventId(123)
.uniqueProgramId(123)
.build())
.timeSignalMessage(TimeSignalMessageProperty.builder()
.segmentationDescriptors(List.of(SegmentationDescriptorProperty.builder()
.segmentationEventId(123)
.segmentationTypeId(123)
.segmentationUpid("segmentationUpid")
.segmentationUpidType(123)
.segmentNum(123)
.segmentsExpected(123)
.subSegmentNum(123)
.subSegmentsExpected(123)
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnProgram.AdBreakPropertystatic final classAn implementation forCfnProgram.AdBreakProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDefines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET tag for SCTE35_ENHANCED output.default StringThe SCTE-35 ad insertion type.How long (in milliseconds) after the beginning of the program that an ad starts.default ObjectgetSlate()Slate VOD source configuration.default ObjectSplice insert message configuration.default ObjectThe SCTE-35 time_signal message configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOffsetMillis
How long (in milliseconds) after the beginning of the program that an ad starts.- See Also:
-
getAdBreakMetadata
Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET tag for SCTE35_ENHANCED output.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProgram.KeyValuePairProperty>- See Also:
-
getMessageType
The SCTE-35 ad insertion type.- See Also:
-
getSlate
Slate VOD source configuration.Returns union: either
IResolvableorCfnProgram.SlateSourceProperty- See Also:
-
getSpliceInsertMessage
Splice insert message configuration.Returns union: either
IResolvableorCfnProgram.SpliceInsertMessageProperty- See Also:
-
getTimeSignalMessage
The SCTE-35 time_signal message configuration.Returns union: either
IResolvableorCfnProgram.TimeSignalMessageProperty- See Also:
-
builder
- Returns:
- a
CfnProgram.AdBreakProperty.BuilderofCfnProgram.AdBreakProperty
-