Class CfnChannel.InputSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.InputSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.InputSpecificationProperty>
- Enclosing interface:
CfnChannel.InputSpecificationProperty
@Stability(Stable)
public static final class CfnChannel.InputSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.InputSpecificationProperty>
A builder for
CfnChannel.InputSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannel.InputSpecificationProperty.getCodec()maximumBitrate(String maximumBitrate) Sets the value ofCfnChannel.InputSpecificationProperty.getMaximumBitrate()resolution(String resolution) Sets the value ofCfnChannel.InputSpecificationProperty.getResolution()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
codec
Sets the value ofCfnChannel.InputSpecificationProperty.getCodec()- Parameters:
codec- The codec to include in the input specification for this channel.- Returns:
this
-
maximumBitrate
@Stability(Stable) public CfnChannel.InputSpecificationProperty.Builder maximumBitrate(String maximumBitrate) Sets the value ofCfnChannel.InputSpecificationProperty.getMaximumBitrate()- Parameters:
maximumBitrate- The maximum input bitrate for any input attached to this channel.- Returns:
this
-
resolution
@Stability(Stable) public CfnChannel.InputSpecificationProperty.Builder resolution(String resolution) Sets the value ofCfnChannel.InputSpecificationProperty.getResolution()- Parameters:
resolution- The resolution for any input attached to this channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.InputSpecificationProperty>- Returns:
- a new instance of
CfnChannel.InputSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-