Interface MediaStreamSourceConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MediaStreamSourceConfiguration.Builder,
,MediaStreamSourceConfiguration> SdkBuilder<MediaStreamSourceConfiguration.Builder,
,MediaStreamSourceConfiguration> SdkPojo
- Enclosing class:
MediaStreamSourceConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionencodingName
(String encodingName) The format that was used to encode the data.encodingName
(EncodingName encodingName) The format that was used to encode the data.inputConfigurations
(Collection<InputConfiguration> inputConfigurations) The media streams that you want to associate with the source.inputConfigurations
(Consumer<InputConfiguration.Builder>... inputConfigurations) The media streams that you want to associate with the source.inputConfigurations
(InputConfiguration... inputConfigurations) The media streams that you want to associate with the source.mediaStreamName
(String mediaStreamName) A name that helps you distinguish one media stream from another.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
-
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:
-
inputConfigurations
MediaStreamSourceConfiguration.Builder inputConfigurations(Collection<InputConfiguration> inputConfigurations) The media streams that you want to associate with the source.
- Parameters:
inputConfigurations
- The media streams that you want to associate with the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfigurations
MediaStreamSourceConfiguration.Builder inputConfigurations(InputConfiguration... inputConfigurations) The media streams that you want to associate with the source.
- Parameters:
inputConfigurations
- The media streams that you want to associate with the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfigurations
MediaStreamSourceConfiguration.Builder inputConfigurations(Consumer<InputConfiguration.Builder>... inputConfigurations) The media streams that you want to associate with the source.
This is a convenience method that creates an instance of theInputConfiguration.Builder
avoiding the need to create one manually viaInputConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputConfigurations(List<InputConfiguration>)
.- Parameters:
inputConfigurations
- a consumer that will call methods onInputConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaStreamName
A name that helps you distinguish one media stream from another.
- Parameters:
mediaStreamName
- A name that helps you distinguish one media stream from another.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-