Class CfnProgramPropsMixin.AlternateMediaProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnProgramPropsMixin.AlternateMediaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProgramPropsMixin.AlternateMediaProperty>
- Enclosing interface:
CfnProgramPropsMixin.AlternateMediaProperty
@Stability(Stable)
public static final class CfnProgramPropsMixin.AlternateMediaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProgramPropsMixin.AlternateMediaProperty>
A builder for
CfnProgramPropsMixin.AlternateMediaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getAdBreaks()adBreaks(IResolvable adBreaks) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getAdBreaks()build()Builds the configured instance.clipRange(CfnProgramPropsMixin.ClipRangeProperty clipRange) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getClipRange()clipRange(IResolvable clipRange) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getClipRange()durationMillis(Number durationMillis) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getDurationMillis()liveSourceName(String liveSourceName) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getLiveSourceName()scheduledStartTimeMillis(Number scheduledStartTimeMillis) sourceLocationName(String sourceLocationName) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getSourceLocationName()vodSourceName(String vodSourceName) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getVodSourceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adBreaks
@Stability(Stable) public CfnProgramPropsMixin.AlternateMediaProperty.Builder adBreaks(IResolvable adBreaks) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getAdBreaks()- Parameters:
adBreaks- Ad break configuration parameters defined in AlternateMedia.- Returns:
this
-
adBreaks
@Stability(Stable) public CfnProgramPropsMixin.AlternateMediaProperty.Builder adBreaks(List<? extends Object> adBreaks) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getAdBreaks()- Parameters:
adBreaks- Ad break configuration parameters defined in AlternateMedia.- Returns:
this
-
clipRange
@Stability(Stable) public CfnProgramPropsMixin.AlternateMediaProperty.Builder clipRange(IResolvable clipRange) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getClipRange()- Parameters:
clipRange- Clip range configuration for the VOD source associated with the program.- Returns:
this
-
clipRange
@Stability(Stable) public CfnProgramPropsMixin.AlternateMediaProperty.Builder clipRange(CfnProgramPropsMixin.ClipRangeProperty clipRange) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getClipRange()- Parameters:
clipRange- Clip range configuration for the VOD source associated with the program.- Returns:
this
-
durationMillis
@Stability(Stable) public CfnProgramPropsMixin.AlternateMediaProperty.Builder durationMillis(Number durationMillis) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getDurationMillis()- Parameters:
durationMillis- The duration of the alternateMedia in milliseconds.- Returns:
this
-
liveSourceName
@Stability(Stable) public CfnProgramPropsMixin.AlternateMediaProperty.Builder liveSourceName(String liveSourceName) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getLiveSourceName()- Parameters:
liveSourceName- The name of the live source for alternateMedia.- Returns:
this
-
scheduledStartTimeMillis
@Stability(Stable) public CfnProgramPropsMixin.AlternateMediaProperty.Builder scheduledStartTimeMillis(Number scheduledStartTimeMillis) - Parameters:
scheduledStartTimeMillis- The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.- Returns:
this
-
sourceLocationName
@Stability(Stable) public CfnProgramPropsMixin.AlternateMediaProperty.Builder sourceLocationName(String sourceLocationName) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getSourceLocationName()- Parameters:
sourceLocationName- The name of the source location for alternateMedia.- Returns:
this
-
vodSourceName
@Stability(Stable) public CfnProgramPropsMixin.AlternateMediaProperty.Builder vodSourceName(String vodSourceName) Sets the value ofCfnProgramPropsMixin.AlternateMediaProperty.getVodSourceName()- Parameters:
vodSourceName- The name of the VOD source for alternateMedia.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProgramPropsMixin.AlternateMediaProperty>- Returns:
- a new instance of
CfnProgramPropsMixin.AlternateMediaProperty - Throws:
NullPointerException- if any required attribute was not provided
-