Interface AudioProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AudioProperties.Builder,,AudioProperties> SdkBuilder<AudioProperties.Builder,,AudioProperties> SdkPojo
- Enclosing class:
AudioProperties
@Mutable
@NotThreadSafe
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.channelLayout(String channelLayout) The audio channel layout of the track, such as "mono", "stereo", "5.1", or "7.1".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, expressed as a fraction with numerator and denominator values.The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.languageCode(String languageCode) The language code of the audio track, in three character ISO 639-3 format.objectCount(Integer objectCount) The number of audio objects in an object-based or immersive audio track.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.
-
channelLayout
The audio channel layout of the track, such as "mono", "stereo", "5.1", or "7.1". Object-based or immersive audio is reported as "5.1.4" or "7.1.4".- Parameters:
channelLayout- The audio channel layout of the track, such as "mono", "stereo", "5.1", or "7.1". Object-based or immersive audio is reported as "5.1.4" or "7.1.4".- 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, expressed as a fraction with numerator and denominator values.- Parameters:
frameRate- The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.- 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, expressed as a fraction with numerator and denominator values. 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.
-
objectCount
The number of audio objects in an object-based or immersive audio track. This field is present for codecs that support object-based audio, such as E-AC-3 with Joint Object Coding (JOC) or IAMF. This field is null when the audio track does not contain object-based audio metadata.- Parameters:
objectCount- The number of audio objects in an object-based or immersive audio track. This field is present for codecs that support object-based audio, such as E-AC-3 with Joint Object Coding (JOC) or IAMF. This field is null when the audio track does not contain object-based audio metadata.- 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.
-