Class CfnFlow.MediaStreamSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlow.MediaStreamSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.MediaStreamSourceConfigurationProperty>
- Enclosing interface:
CfnFlow.MediaStreamSourceConfigurationProperty
@Stability(Stable)
public static final class CfnFlow.MediaStreamSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.MediaStreamSourceConfigurationProperty>
A builder for
CfnFlow.MediaStreamSourceConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.encodingName
(String encodingName) Sets the value ofCfnFlow.MediaStreamSourceConfigurationProperty.getEncodingName()
inputConfigurations
(List<? extends Object> inputConfigurations) Sets the value ofCfnFlow.MediaStreamSourceConfigurationProperty.getInputConfigurations()
inputConfigurations
(IResolvable inputConfigurations) Sets the value ofCfnFlow.MediaStreamSourceConfigurationProperty.getInputConfigurations()
mediaStreamName
(String mediaStreamName) Sets the value ofCfnFlow.MediaStreamSourceConfigurationProperty.getMediaStreamName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encodingName
@Stability(Stable) public CfnFlow.MediaStreamSourceConfigurationProperty.Builder encodingName(String encodingName) Sets the value ofCfnFlow.MediaStreamSourceConfigurationProperty.getEncodingName()
- Parameters:
encodingName
- The format that was used to encode the data. This parameter is required. For ancillary data streams, set the encoding name tosmpte291
.For audio streams, set the encoding name to
pcm
.For video, 2110 streams, set the encoding name to
raw
.For video, JPEG XS streams, set the encoding name to
jxsv
.- Returns:
this
-
mediaStreamName
@Stability(Stable) public CfnFlow.MediaStreamSourceConfigurationProperty.Builder mediaStreamName(String mediaStreamName) Sets the value ofCfnFlow.MediaStreamSourceConfigurationProperty.getMediaStreamName()
- Parameters:
mediaStreamName
- A name that helps you distinguish one media stream from another. This parameter is required.- Returns:
this
-
inputConfigurations
@Stability(Stable) public CfnFlow.MediaStreamSourceConfigurationProperty.Builder inputConfigurations(IResolvable inputConfigurations) Sets the value ofCfnFlow.MediaStreamSourceConfigurationProperty.getInputConfigurations()
- Parameters:
inputConfigurations
- The media streams that you want to associate with the source.- Returns:
this
-
inputConfigurations
@Stability(Stable) public CfnFlow.MediaStreamSourceConfigurationProperty.Builder inputConfigurations(List<? extends Object> inputConfigurations) Sets the value ofCfnFlow.MediaStreamSourceConfigurationProperty.getInputConfigurations()
- Parameters:
inputConfigurations
- The media streams that you want to associate with the source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.MediaStreamSourceConfigurationProperty>
- Returns:
- a new instance of
CfnFlow.MediaStreamSourceConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-