Class CfnOffering.ReservationResourceSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnOffering.ReservationResourceSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOffering.ReservationResourceSpecificationProperty>
- Enclosing interface:
CfnOffering.ReservationResourceSpecificationProperty
@Stability(Stable)
public static final class CfnOffering.ReservationResourceSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOffering.ReservationResourceSpecificationProperty>
A builder for
CfnOffering.ReservationResourceSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelClass(String channelClass) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getChannelClass()Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getCodec()maximumBitrate(String maximumBitrate) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getMaximumBitrate()maximumFramerate(String maximumFramerate) resolution(String resolution) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getResolution()resourceType(String resourceType) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getResourceType()specialFeature(String specialFeature) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getSpecialFeature()videoQuality(String videoQuality) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getVideoQuality()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelClass
@Stability(Stable) public CfnOffering.ReservationResourceSpecificationProperty.Builder channelClass(String channelClass) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getChannelClass()- Parameters:
channelClass- Channel class, e.g. 'STANDARD'.- Returns:
this
-
codec
@Stability(Stable) public CfnOffering.ReservationResourceSpecificationProperty.Builder codec(String codec) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getCodec()- Parameters:
codec- Codec, e.g. 'AVC'.- Returns:
this
-
maximumBitrate
@Stability(Stable) public CfnOffering.ReservationResourceSpecificationProperty.Builder maximumBitrate(String maximumBitrate) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getMaximumBitrate()- Parameters:
maximumBitrate- Maximum bitrate, e.g. 'MAX_20_MBPS'.- Returns:
this
-
maximumFramerate
@Stability(Stable) public CfnOffering.ReservationResourceSpecificationProperty.Builder maximumFramerate(String maximumFramerate) - Parameters:
maximumFramerate- Maximum framerate, e.g. 'MAX_30_FPS' (Outputs only).- Returns:
this
-
resolution
@Stability(Stable) public CfnOffering.ReservationResourceSpecificationProperty.Builder resolution(String resolution) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getResolution()- Parameters:
resolution- Resolution, e.g. 'HD'.- Returns:
this
-
resourceType
@Stability(Stable) public CfnOffering.ReservationResourceSpecificationProperty.Builder resourceType(String resourceType) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getResourceType()- Parameters:
resourceType- Resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL'.- Returns:
this
-
specialFeature
@Stability(Stable) public CfnOffering.ReservationResourceSpecificationProperty.Builder specialFeature(String specialFeature) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getSpecialFeature()- Parameters:
specialFeature- Special feature, e.g. 'AUDIO_NORMALIZATION' (Channels only).- Returns:
this
-
videoQuality
@Stability(Stable) public CfnOffering.ReservationResourceSpecificationProperty.Builder videoQuality(String videoQuality) Sets the value ofCfnOffering.ReservationResourceSpecificationProperty.getVideoQuality()- Parameters:
videoQuality- Video quality, e.g. 'STANDARD' (Outputs only).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOffering.ReservationResourceSpecificationProperty>- Returns:
- a new instance of
CfnOffering.ReservationResourceSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-