Interface MediaStreamOutputConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MediaStreamOutputConfiguration.Builder,
,MediaStreamOutputConfiguration> SdkBuilder<MediaStreamOutputConfiguration.Builder,
,MediaStreamOutputConfiguration> SdkPojo
- Enclosing class:
MediaStreamOutputConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondestinationConfigurations
(Collection<DestinationConfiguration> destinationConfigurations) The transport parameters that are associated with each outbound media stream.destinationConfigurations
(Consumer<DestinationConfiguration.Builder>... destinationConfigurations) The transport parameters that are associated with each outbound media stream.destinationConfigurations
(DestinationConfiguration... destinationConfigurations) The transport parameters that are associated with each outbound media stream.encodingName
(String encodingName) The format that was used to encode the data.encodingName
(EncodingName encodingName) The format that was used to encode the data.encodingParameters
(Consumer<EncodingParameters.Builder> encodingParameters) A collection of parameters that determine how MediaConnect will convert the content.encodingParameters
(EncodingParameters encodingParameters) A collection of parameters that determine how MediaConnect will convert the content.mediaStreamName
(String mediaStreamName) The name of the media stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
destinationConfigurations
MediaStreamOutputConfiguration.Builder destinationConfigurations(Collection<DestinationConfiguration> destinationConfigurations) The transport parameters that are associated with each outbound media stream.
- Parameters:
destinationConfigurations
- The transport parameters that are associated with each outbound media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfigurations
MediaStreamOutputConfiguration.Builder destinationConfigurations(DestinationConfiguration... destinationConfigurations) The transport parameters that are associated with each outbound media stream.
- Parameters:
destinationConfigurations
- The transport parameters that are associated with each outbound media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfigurations
MediaStreamOutputConfiguration.Builder destinationConfigurations(Consumer<DestinationConfiguration.Builder>... destinationConfigurations) The transport parameters that are associated with each outbound media stream.
This is a convenience method that creates an instance of theDestinationConfiguration.Builder
avoiding the need to create one manually viaDestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationConfigurations(List<DestinationConfiguration>)
.- Parameters:
destinationConfigurations
- a consumer that will call methods onDestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encodingName
The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. 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.
- Parameters:
encodingName
- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encodingName
The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. 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.
- Parameters:
encodingName
- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
encodingParameters
default MediaStreamOutputConfiguration.Builder encodingParameters(Consumer<EncodingParameters.Builder> 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.
This is a convenience method that creates an instance of theEncodingParameters.Builder
avoiding the need to create one manually viaEncodingParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencodingParameters(EncodingParameters)
.- Parameters:
encodingParameters
- a consumer that will call methods onEncodingParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaStreamName
The name of the media stream.
- Parameters:
mediaStreamName
- The name of the media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-