Interface TransportStream.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransportStream.Builder,
,TransportStream> SdkBuilder<TransportStream.Builder,
,TransportStream> SdkPojo
- Enclosing class:
TransportStream
@Mutable
@NotThreadSafe
public static interface TransportStream.Builder
extends SdkPojo, CopyableBuilder<TransportStream.Builder,TransportStream>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of channels in the audio stream.The codec used by the stream.The frame rate used by the video stream.default TransportStream.Builder
frameResolution
(Consumer<FrameResolution.Builder> frameResolution) The frame resolution used by the video stream.frameResolution
(FrameResolution frameResolution) The frame resolution used by the video stream.The Packet ID (PID) as it is reported in the Program Map Table.sampleRate
(Integer sampleRate) The sample rate used by the audio stream.sampleSize
(Integer sampleSize) The sample bit size used by the audio stream.streamType
(String streamType) The Stream Type as it is reported in the Program Map Table.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
-
channels
The number of channels in the audio stream.
- Parameters:
channels
- The number of channels in the audio stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codec
The codec used by the stream.
- Parameters:
codec
- The codec used by the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameRate
The frame rate used by the video stream.
- Parameters:
frameRate
- The frame rate used by the video stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameResolution
The frame resolution used by the video stream.
- Parameters:
frameResolution
- The frame resolution used by the video stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameResolution
The frame resolution used by the video stream.
This is a convenience method that creates an instance of theFrameResolution.Builder
avoiding the need to create one manually viaFrameResolution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toframeResolution(FrameResolution)
.- Parameters:
frameResolution
- a consumer that will call methods onFrameResolution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pid
The Packet ID (PID) as it is reported in the Program Map Table.
- Parameters:
pid
- The Packet ID (PID) as it is reported in the Program Map Table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleRate
The sample rate used by the audio stream.
- Parameters:
sampleRate
- The sample rate used by the audio stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleSize
The sample bit size used by the audio stream.
- Parameters:
sampleSize
- The sample bit size used by the audio stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamType
The Stream Type as it is reported in the Program Map Table.
- Parameters:
streamType
- The Stream Type as it is reported in the Program Map Table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-