Interface AudioProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AudioProperties.Builder,,AudioProperties> SdkBuilder<AudioProperties.Builder,,AudioProperties> SdkPojo
- Enclosing class:
AudioProperties
public static interface AudioProperties.Builder
extends SdkPojo, CopyableBuilder<AudioProperties.Builder,AudioProperties>
-
Method Summary
Modifier and TypeMethodDescriptionThe bit depth of the audio track.The bit rate of the audio track, in bits per second.The number of audio channels in the audio track.default AudioProperties.BuilderframeRate(Consumer<FrameRate.Builder> frameRate) The frame rate of the video or audio track.The frame rate of the video or audio track.languageCode(String languageCode) The language code of the audio track, in three character ISO 639-3 format.sampleRate(Integer sampleRate) The sample rate of the audio track.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
bitDepth
The bit depth of the audio track.- Parameters:
bitDepth- The bit depth of the audio track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bitRate
The bit rate of the audio track, in bits per second.- Parameters:
bitRate- The bit rate of the audio track, in bits per second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
The number of audio channels in the audio track.- Parameters:
channels- The number of audio channels in the audio track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameRate
The frame rate of the video or audio track.- Parameters:
frameRate- The frame rate of the video or audio track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameRate
The frame rate of the video or audio track. This is a convenience method that creates an instance of theFrameRate.Builderavoiding the need to create one manually viaFrameRate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toframeRate(FrameRate).- Parameters:
frameRate- a consumer that will call methods onFrameRate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The language code of the audio track, in three character ISO 639-3 format.- Parameters:
languageCode- The language code of the audio track, in three character ISO 639-3 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleRate
The sample rate of the audio track.- Parameters:
sampleRate- The sample rate of the audio track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-