Class CfnProgram.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnProgram.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProgram>
- Enclosing class:
CfnProgram
@Stability(Stable)
public static final class CfnProgram.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProgram>
A fluent builder for
CfnProgram.-
Method Summary
Modifier and TypeMethodDescriptionThe ad break configuration settings.adBreaks(IResolvable adBreaks) The ad break configuration settings.audienceMedia(List<? extends Object> audienceMedia) The list of AudienceMedia defined in program.audienceMedia(IResolvable audienceMedia) The list of AudienceMedia defined in program.build()channelName(String channelName) The name of the channel for this Program.static CfnProgram.BuilderliveSourceName(String liveSourceName) The name of the LiveSource for this Program.programName(String programName) The name of the Program.scheduleConfiguration(IResolvable scheduleConfiguration) Schedule configuration parameters.scheduleConfiguration(CfnProgram.ScheduleConfigurationProperty scheduleConfiguration) Schedule configuration parameters.sourceLocationName(String sourceLocationName) The name of the source location.vodSourceName(String vodSourceName) The name that's used to refer to a VOD source.
-
Method Details
-
create
@Stability(Stable) public static CfnProgram.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnProgram.Builder.
-
channelName
The name of the channel for this Program.- Parameters:
channelName- The name of the channel for this Program. This parameter is required.- Returns:
this- See Also:
-
programName
The name of the Program.- Parameters:
programName- The name of the Program. This parameter is required.- Returns:
this- See Also:
-
sourceLocationName
The name of the source location.- Parameters:
sourceLocationName- The name of the source location. This parameter is required.- Returns:
this- See Also:
-
adBreaks
The ad break configuration settings.- Parameters:
adBreaks- The ad break configuration settings. This parameter is required.- Returns:
this- See Also:
-
adBreaks
The ad break configuration settings.- Parameters:
adBreaks- The ad break configuration settings. This parameter is required.- Returns:
this- See Also:
-
audienceMedia
The list of AudienceMedia defined in program.- Parameters:
audienceMedia- The list of AudienceMedia defined in program. This parameter is required.- Returns:
this- See Also:
-
audienceMedia
The list of AudienceMedia defined in program.- Parameters:
audienceMedia- The list of AudienceMedia defined in program. This parameter is required.- Returns:
this- See Also:
-
liveSourceName
The name of the LiveSource for this Program.- Parameters:
liveSourceName- The name of the LiveSource for this Program. This parameter is required.- Returns:
this- See Also:
-
scheduleConfiguration
@Stability(Stable) public CfnProgram.Builder scheduleConfiguration(IResolvable scheduleConfiguration) Schedule configuration parameters.- Parameters:
scheduleConfiguration- Schedule configuration parameters. This parameter is required.- Returns:
this- See Also:
-
scheduleConfiguration
@Stability(Stable) public CfnProgram.Builder scheduleConfiguration(CfnProgram.ScheduleConfigurationProperty scheduleConfiguration) Schedule configuration parameters.- Parameters:
scheduleConfiguration- Schedule configuration parameters. This parameter is required.- Returns:
this- See Also:
-
vodSourceName
The name that's used to refer to a VOD source.- Parameters:
vodSourceName- The name that's used to refer to a VOD source. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProgram>- Returns:
- a newly built instance of
CfnProgram.
-