Class CfnProgramMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnProgramMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProgramMixinProps>
- Enclosing interface:
CfnProgramMixinProps
@Stability(Stable)
public static final class CfnProgramMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProgramMixinProps>
A builder for
CfnProgramMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnProgramMixinProps.getAdBreaks()adBreaks(IResolvable adBreaks) Sets the value ofCfnProgramMixinProps.getAdBreaks()audienceMedia(List<? extends Object> audienceMedia) Sets the value ofCfnProgramMixinProps.getAudienceMedia()audienceMedia(IResolvable audienceMedia) Sets the value ofCfnProgramMixinProps.getAudienceMedia()build()Builds the configured instance.channelName(String channelName) Sets the value ofCfnProgramMixinProps.getChannelName()liveSourceName(String liveSourceName) Sets the value ofCfnProgramMixinProps.getLiveSourceName()programName(String programName) Sets the value ofCfnProgramMixinProps.getProgramName()scheduleConfiguration(CfnProgramPropsMixin.ScheduleConfigurationProperty scheduleConfiguration) Sets the value ofCfnProgramMixinProps.getScheduleConfiguration()scheduleConfiguration(IResolvable scheduleConfiguration) Sets the value ofCfnProgramMixinProps.getScheduleConfiguration()sourceLocationName(String sourceLocationName) Sets the value ofCfnProgramMixinProps.getSourceLocationName()vodSourceName(String vodSourceName) Sets the value ofCfnProgramMixinProps.getVodSourceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adBreaks
Sets the value ofCfnProgramMixinProps.getAdBreaks()- Parameters:
adBreaks- The ad break configuration settings.- Returns:
this
-
adBreaks
Sets the value ofCfnProgramMixinProps.getAdBreaks()- Parameters:
adBreaks- The ad break configuration settings.- Returns:
this
-
audienceMedia
Sets the value ofCfnProgramMixinProps.getAudienceMedia()- Parameters:
audienceMedia- The list of AudienceMedia defined in program.- Returns:
this
-
audienceMedia
@Stability(Stable) public CfnProgramMixinProps.Builder audienceMedia(List<? extends Object> audienceMedia) Sets the value ofCfnProgramMixinProps.getAudienceMedia()- Parameters:
audienceMedia- The list of AudienceMedia defined in program.- Returns:
this
-
channelName
Sets the value ofCfnProgramMixinProps.getChannelName()- Parameters:
channelName- The name of the channel for this Program.- Returns:
this
-
liveSourceName
Sets the value ofCfnProgramMixinProps.getLiveSourceName()- Parameters:
liveSourceName- The name of the LiveSource for this Program.- Returns:
this
-
programName
Sets the value ofCfnProgramMixinProps.getProgramName()- Parameters:
programName- The name of the Program.- Returns:
this
-
scheduleConfiguration
@Stability(Stable) public CfnProgramMixinProps.Builder scheduleConfiguration(IResolvable scheduleConfiguration) Sets the value ofCfnProgramMixinProps.getScheduleConfiguration()- Parameters:
scheduleConfiguration- Schedule configuration parameters.- Returns:
this
-
scheduleConfiguration
@Stability(Stable) public CfnProgramMixinProps.Builder scheduleConfiguration(CfnProgramPropsMixin.ScheduleConfigurationProperty scheduleConfiguration) Sets the value ofCfnProgramMixinProps.getScheduleConfiguration()- Parameters:
scheduleConfiguration- Schedule configuration parameters.- Returns:
this
-
sourceLocationName
@Stability(Stable) public CfnProgramMixinProps.Builder sourceLocationName(String sourceLocationName) Sets the value ofCfnProgramMixinProps.getSourceLocationName()- Parameters:
sourceLocationName- The name of the source location.- Returns:
this
-
vodSourceName
Sets the value ofCfnProgramMixinProps.getVodSourceName()- Parameters:
vodSourceName- The name that's used to refer to a VOD source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProgramMixinProps>- Returns:
- a new instance of
CfnProgramMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-