Class AudioMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.AudioMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AudioMetadata.Builder,AudioMetadata>
@Generated("software.amazon.awssdk:codegen") public final class AudioMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AudioMetadata.Builder,AudioMetadata>
Metadata information about an audio stream. An array of
AudioMetadataobjects for the audio streams found in a stored video is returned by GetSegmentDetection.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAudioMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AudioMetadata.Builderbuilder()Stringcodec()The audio codec used to encode or decode the audio stream.LongdurationMillis()The duration of the audio stream in milliseconds.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongnumberOfChannels()The number of audio channels in the segment.LongsampleRate()The sample rate for the audio stream.List<SdkField<?>>sdkFields()static Class<? extends AudioMetadata.Builder>serializableBuilderClass()AudioMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
codec
public final String codec()
The audio codec used to encode or decode the audio stream.
- Returns:
- The audio codec used to encode or decode the audio stream.
-
durationMillis
public final Long durationMillis()
The duration of the audio stream in milliseconds.
- Returns:
- The duration of the audio stream in milliseconds.
-
sampleRate
public final Long sampleRate()
The sample rate for the audio stream.
- Returns:
- The sample rate for the audio stream.
-
numberOfChannels
public final Long numberOfChannels()
The number of audio channels in the segment.
- Returns:
- The number of audio channels in the segment.
-
toBuilder
public AudioMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AudioMetadata.Builder,AudioMetadata>
-
builder
public static AudioMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends AudioMetadata.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-