Class CdiInputSpecificationProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.CdiInputSpecificationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CdiInputSpecificationProps>
- Enclosing interface:
CdiInputSpecificationProps
@Stability(Experimental)
public static final class CdiInputSpecificationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CdiInputSpecificationProps>
A builder for
CdiInputSpecificationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cdiResolution(CdiInputResolution cdiResolution) Sets the value ofCdiInputSpecificationProps.getCdiResolution()codec(InputCodec codec) Sets the value ofStandardInputSpecificationProps.getCodec()maximumBitrate(InputMaximumBitrate maximumBitrate) Sets the value ofStandardInputSpecificationProps.getMaximumBitrate()resolution(InputResolution resolution) Sets the value ofStandardInputSpecificationProps.getResolution()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cdiResolution
@Stability(Experimental) public CdiInputSpecificationProps.Builder cdiResolution(CdiInputResolution cdiResolution) Sets the value ofCdiInputSpecificationProps.getCdiResolution()- Parameters:
cdiResolution- The maximum resolution of the most demanding CDI input.- Returns:
this
-
codec
Sets the value ofStandardInputSpecificationProps.getCodec()- Parameters:
codec- The codec of the input. This should match the codec of your source content, not the output codec.- Returns:
this
-
maximumBitrate
@Stability(Experimental) public CdiInputSpecificationProps.Builder maximumBitrate(InputMaximumBitrate maximumBitrate) Sets the value ofStandardInputSpecificationProps.getMaximumBitrate()- Parameters:
maximumBitrate- The maximum bitrate of the input.- Returns:
this
-
resolution
@Stability(Experimental) public CdiInputSpecificationProps.Builder resolution(InputResolution resolution) Sets the value ofStandardInputSpecificationProps.getResolution()- Parameters:
resolution- The resolution of the input.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CdiInputSpecificationProps>- Returns:
- a new instance of
CdiInputSpecificationProps - Throws:
NullPointerException- if any required attribute was not provided
-