Interface CfnProgram.AudienceMediaProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnProgram.AudienceMediaProperty.Jsii$Proxy
Enclosing class:
CfnProgram

@Stability(Stable) public static interface CfnProgram.AudienceMediaProperty extends software.amazon.jsii.JsiiSerializable
An AudienceMedia object contains an Audience and a list of AlternateMedia.

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.*;
 AudienceMediaProperty audienceMediaProperty = AudienceMediaProperty.builder()
         .alternateMedia(List.of(AlternateMediaProperty.builder()
                 .adBreaks(List.of(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()))
                 .clipRange(ClipRangeProperty.builder()
                         .endOffsetMillis(123)
                         .startOffsetMillis(123)
                         .build())
                 .durationMillis(123)
                 .liveSourceName("liveSourceName")
                 .scheduledStartTimeMillis(123)
                 .sourceLocationName("sourceLocationName")
                 .vodSourceName("vodSourceName")
                 .build()))
         .audience("audience")
         .build();
 

See Also: