Class CfnFlowOutput.MediaStreamOutputConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlowOutput.MediaStreamOutputConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowOutput.MediaStreamOutputConfigurationProperty>
- Enclosing interface:
CfnFlowOutput.MediaStreamOutputConfigurationProperty
@Stability(Stable)
public static final class CfnFlowOutput.MediaStreamOutputConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowOutput.MediaStreamOutputConfigurationProperty>
A builder for
CfnFlowOutput.MediaStreamOutputConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationConfigurations
(List<? extends Object> destinationConfigurations) destinationConfigurations
(IResolvable destinationConfigurations) encodingName
(String encodingName) Sets the value ofCfnFlowOutput.MediaStreamOutputConfigurationProperty.getEncodingName()
encodingParameters
(IResolvable encodingParameters) encodingParameters
(CfnFlowOutput.EncodingParametersProperty encodingParameters) mediaStreamName
(String mediaStreamName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encodingName
@Stability(Stable) public CfnFlowOutput.MediaStreamOutputConfigurationProperty.Builder encodingName(String encodingName) Sets the value ofCfnFlowOutput.MediaStreamOutputConfigurationProperty.getEncodingName()
- Parameters:
encodingName
- The format that will be 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 streams on sources or outputs that use the CDI protocol, set the encoding name to
raw
.For video streams on sources or outputs that use the ST 2110 JPEG XS protocol, set the encoding name to
jxsv
.- Returns:
this
-
mediaStreamName
@Stability(Stable) public CfnFlowOutput.MediaStreamOutputConfigurationProperty.Builder mediaStreamName(String mediaStreamName) - Parameters:
mediaStreamName
- A name that helps you distinguish one media stream from another. This parameter is required.- Returns:
this
-
destinationConfigurations
@Stability(Stable) public CfnFlowOutput.MediaStreamOutputConfigurationProperty.Builder destinationConfigurations(IResolvable destinationConfigurations) Sets the value ofCfnFlowOutput.MediaStreamOutputConfigurationProperty.getDestinationConfigurations()
- Parameters:
destinationConfigurations
- The media streams that you want to associate with the output.- Returns:
this
-
destinationConfigurations
@Stability(Stable) public CfnFlowOutput.MediaStreamOutputConfigurationProperty.Builder destinationConfigurations(List<? extends Object> destinationConfigurations) Sets the value ofCfnFlowOutput.MediaStreamOutputConfigurationProperty.getDestinationConfigurations()
- Parameters:
destinationConfigurations
- The media streams that you want to associate with the output.- Returns:
this
-
encodingParameters
@Stability(Stable) public CfnFlowOutput.MediaStreamOutputConfigurationProperty.Builder encodingParameters(IResolvable encodingParameters) - Parameters:
encodingParameters
- A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.- Returns:
this
-
encodingParameters
@Stability(Stable) public CfnFlowOutput.MediaStreamOutputConfigurationProperty.Builder encodingParameters(CfnFlowOutput.EncodingParametersProperty encodingParameters) - Parameters:
encodingParameters
- A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlowOutput.MediaStreamOutputConfigurationProperty>
- Returns:
- a new instance of
CfnFlowOutput.MediaStreamOutputConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-