Class CfnMultiplexprogram.MultiplexProgramSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnMultiplexprogram.MultiplexProgramSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMultiplexprogram.MultiplexProgramSettingsProperty>
- Enclosing interface:
CfnMultiplexprogram.MultiplexProgramSettingsProperty
@Stability(Stable)
public static final class CfnMultiplexprogram.MultiplexProgramSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMultiplexprogram.MultiplexProgramSettingsProperty>
A builder for
CfnMultiplexprogram.MultiplexProgramSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.preferredChannelPipeline
(String preferredChannelPipeline) programNumber
(Number programNumber) Sets the value ofCfnMultiplexprogram.MultiplexProgramSettingsProperty.getProgramNumber()
serviceDescriptor
(IResolvable serviceDescriptor) serviceDescriptor
(CfnMultiplexprogram.MultiplexProgramServiceDescriptorProperty serviceDescriptor) videoSettings
(IResolvable videoSettings) Sets the value ofCfnMultiplexprogram.MultiplexProgramSettingsProperty.getVideoSettings()
videoSettings
(CfnMultiplexprogram.MultiplexVideoSettingsProperty videoSettings) Sets the value ofCfnMultiplexprogram.MultiplexProgramSettingsProperty.getVideoSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
programNumber
@Stability(Stable) public CfnMultiplexprogram.MultiplexProgramSettingsProperty.Builder programNumber(Number programNumber) Sets the value ofCfnMultiplexprogram.MultiplexProgramSettingsProperty.getProgramNumber()
- Parameters:
programNumber
- Unique program number. This parameter is required.- Returns:
this
-
preferredChannelPipeline
@Stability(Stable) public CfnMultiplexprogram.MultiplexProgramSettingsProperty.Builder preferredChannelPipeline(String preferredChannelPipeline) Sets the value ofCfnMultiplexprogram.MultiplexProgramSettingsProperty.getPreferredChannelPipeline()
- Parameters:
preferredChannelPipeline
- Indicates which pipeline is preferred by the multiplex for program ingest.- Returns:
this
-
serviceDescriptor
@Stability(Stable) public CfnMultiplexprogram.MultiplexProgramSettingsProperty.Builder serviceDescriptor(IResolvable serviceDescriptor) - Parameters:
serviceDescriptor
- Transport stream service descriptor configuration for the Multiplex program.- Returns:
this
-
serviceDescriptor
@Stability(Stable) public CfnMultiplexprogram.MultiplexProgramSettingsProperty.Builder serviceDescriptor(CfnMultiplexprogram.MultiplexProgramServiceDescriptorProperty serviceDescriptor) - Parameters:
serviceDescriptor
- Transport stream service descriptor configuration for the Multiplex program.- Returns:
this
-
videoSettings
@Stability(Stable) public CfnMultiplexprogram.MultiplexProgramSettingsProperty.Builder videoSettings(IResolvable videoSettings) Sets the value ofCfnMultiplexprogram.MultiplexProgramSettingsProperty.getVideoSettings()
- Parameters:
videoSettings
- Program video settings configuration.- Returns:
this
-
videoSettings
@Stability(Stable) public CfnMultiplexprogram.MultiplexProgramSettingsProperty.Builder videoSettings(CfnMultiplexprogram.MultiplexVideoSettingsProperty videoSettings) Sets the value ofCfnMultiplexprogram.MultiplexProgramSettingsProperty.getVideoSettings()
- Parameters:
videoSettings
- Program video settings configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMultiplexprogram.MultiplexProgramSettingsProperty>
- Returns:
- a new instance of
CfnMultiplexprogram.MultiplexProgramSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-