Interface TransportStream.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransportStream.Builder,TransportStream>,SdkBuilder<TransportStream.Builder,TransportStream>,SdkPojo
- Enclosing class:
- TransportStream
public static interface TransportStream.Builder extends SdkPojo, CopyableBuilder<TransportStream.Builder,TransportStream>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TransportStream.Builderchannels(Integer channels)The number of channels in the audio stream.TransportStream.Buildercodec(String codec)The codec used by the stream.TransportStream.BuilderframeRate(String frameRate)The frame rate used by the video stream.default TransportStream.BuilderframeResolution(Consumer<FrameResolution.Builder> frameResolution)Sets the value of the FrameResolution property for this object.TransportStream.BuilderframeResolution(FrameResolution frameResolution)Sets the value of the FrameResolution property for this object.TransportStream.Builderpid(Integer pid)The Packet ID (PID) as it is reported in the Program Map Table.TransportStream.BuildersampleRate(Integer sampleRate)The sample rate used by the audio stream.TransportStream.BuildersampleSize(Integer sampleSize)The sample bit size used by the audio stream.TransportStream.BuilderstreamType(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, sdkFields
-
-
-
-
Method Detail
-
channels
TransportStream.Builder channels(Integer 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
TransportStream.Builder codec(String 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
TransportStream.Builder frameRate(String 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
TransportStream.Builder frameResolution(FrameResolution frameResolution)
Sets the value of the FrameResolution property for this object.- Parameters:
frameResolution- The new value for the FrameResolution property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameResolution
default TransportStream.Builder frameResolution(Consumer<FrameResolution.Builder> frameResolution)
Sets the value of the FrameResolution property for this object. This is a convenience method that creates an instance of theFrameResolution.Builderavoiding the need to create one manually viaFrameResolution.builder().When the
Consumercompletes,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:
frameResolution(FrameResolution)
-
pid
TransportStream.Builder pid(Integer 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
TransportStream.Builder sampleRate(Integer 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
TransportStream.Builder sampleSize(Integer 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
TransportStream.Builder streamType(String 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.
-
-