Interface AudioMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AudioMetadata.Builder,
,AudioMetadata> SdkBuilder<AudioMetadata.Builder,
,AudioMetadata> SdkPojo
- Enclosing class:
AudioMetadata
public static interface AudioMetadata.Builder
extends SdkPojo, CopyableBuilder<AudioMetadata.Builder,AudioMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionThe audio codec used to encode or decode the audio stream.durationMillis
(Long durationMillis) The duration of the audio stream in milliseconds.numberOfChannels
(Long numberOfChannels) The number of audio channels in the segment.sampleRate
(Long sampleRate) The sample rate for the audio stream.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 Details
-
codec
The audio codec used to encode or decode the audio stream.
- Parameters:
codec
- The audio codec used to encode or decode the audio stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationMillis
The duration of the audio stream in milliseconds.
- Parameters:
durationMillis
- The duration of the audio stream in milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleRate
The sample rate for the audio stream.
- Parameters:
sampleRate
- The sample rate for the audio stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfChannels
The number of audio channels in the segment.
- Parameters:
numberOfChannels
- The number of audio channels in the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-