Class CfnChannel.VideoSelectorProgramIdProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.VideoSelectorProgramIdProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.VideoSelectorProgramIdProperty>
- Enclosing interface:
CfnChannel.VideoSelectorProgramIdProperty
@Stability(Stable)
public static final class CfnChannel.VideoSelectorProgramIdProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.VideoSelectorProgramIdProperty>
A builder for
CfnChannel.VideoSelectorProgramIdProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnChannel.VideoSelectorProgramIdProperty.getProgramId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
programId
@Stability(Stable) public CfnChannel.VideoSelectorProgramIdProperty.Builder programId(Number programId) Sets the value ofCfnChannel.VideoSelectorProgramIdProperty.getProgramId()
- Parameters:
programId
- Selects a specific program from within a multi-program transport stream. If the program doesn't exist, MediaLive selects the first program within the transport stream by default.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.VideoSelectorProgramIdProperty>
- Returns:
- a new instance of
CfnChannel.VideoSelectorProgramIdProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-