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