Interface AudioConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AudioConfiguration.Builder,
,AudioConfiguration> SdkBuilder<AudioConfiguration.Builder,
,AudioConfiguration> SdkPojo
- Enclosing class:
AudioConfiguration
@Mutable
@NotThreadSafe
public static interface AudioConfiguration.Builder
extends SdkPojo, CopyableBuilder<AudioConfiguration.Builder,AudioConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionNumber of audio channels.Codec used for the audio encoding.sampleRate
(Long sampleRate) Number of audio samples recorded per second.targetBitrate
(Long targetBitrate) The expected ingest bitrate (bits per second).Name of the audio track (if the stream has an audio track).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
Number of audio channels.
- Parameters:
channels
- Number of audio channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codec
Codec used for the audio encoding.
- Parameters:
codec
- Codec used for the audio encoding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleRate
Number of audio samples recorded per second.
- Parameters:
sampleRate
- Number of audio samples recorded per second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetBitrate
The expected ingest bitrate (bits per second). This is configured in the encoder.
- Parameters:
targetBitrate
- The expected ingest bitrate (bits per second). This is configured in the encoder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
track
Name of the audio track (if the stream has an audio track). If multitrack is not enabled, this is track0 (the sole track).
- Parameters:
track
- Name of the audio track (if the stream has an audio track). If multitrack is not enabled, this is track0 (the sole track).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-