Interface CfnProgramPropsMixin.AlternateMediaProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProgramPropsMixin.AlternateMediaProperty.Jsii$Proxy
- Enclosing class:
CfnProgramPropsMixin
@Stability(Stable)
public static interface CfnProgramPropsMixin.AlternateMediaProperty
extends software.amazon.jsii.JsiiSerializable
A playlist of media to be played instead of the default media on a particular program.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.mediatailor.*;
AlternateMediaProperty alternateMediaProperty = AlternateMediaProperty.builder()
.adBreaks(List.of(AdBreakProperty.builder()
.adBreakMetadata(List.of(KeyValuePairProperty.builder()
.key("key")
.value("value")
.build()))
.messageType("messageType")
.offsetMillis(123)
.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()))
.clipRange(ClipRangeProperty.builder()
.endOffsetMillis(123)
.startOffsetMillis(123)
.build())
.durationMillis(123)
.liveSourceName("liveSourceName")
.scheduledStartTimeMillis(123)
.sourceLocationName("sourceLocationName")
.vodSourceName("vodSourceName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnProgramPropsMixin.AlternateMediaPropertystatic final classAn implementation forCfnProgramPropsMixin.AlternateMediaProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAd break configuration parameters defined in AlternateMedia.default ObjectClip range configuration for the VOD source associated with the program.default NumberThe duration of the alternateMedia in milliseconds.default StringThe name of the live source for alternateMedia.default NumberThe date and time that the alternateMedia is scheduled to start, in epoch milliseconds.default StringThe name of the source location for alternateMedia.default StringThe name of the VOD source for alternateMedia.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdBreaks
Ad break configuration parameters defined in AlternateMedia.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProgramPropsMixin.AdBreakProperty>- See Also:
-
getClipRange
Clip range configuration for the VOD source associated with the program.Returns union: either
IResolvableorCfnProgramPropsMixin.ClipRangeProperty- See Also:
-
getDurationMillis
The duration of the alternateMedia in milliseconds.- See Also:
-
getLiveSourceName
The name of the live source for alternateMedia.- See Also:
-
getScheduledStartTimeMillis
The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.- See Also:
-
getSourceLocationName
The name of the source location for alternateMedia.- See Also:
-
getVodSourceName
The name of the VOD source for alternateMedia.- See Also:
-
builder
-