@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudioMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Metadata information about an audio stream. An array of AudioMetadata
objects for the audio streams
found in a stored video is returned by GetSegmentDetection.
Constructor and Description |
---|
AudioMetadata() |
Modifier and Type | Method and Description |
---|---|
AudioMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getCodec()
The audio codec used to encode or decode the audio stream.
|
Long |
getDurationMillis()
The duration of the audio stream in milliseconds.
|
Long |
getNumberOfChannels()
The number of audio channels in the segment.
|
Long |
getSampleRate()
The sample rate for the audio stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCodec(String codec)
The audio codec used to encode or decode the audio stream.
|
void |
setDurationMillis(Long durationMillis)
The duration of the audio stream in milliseconds.
|
void |
setNumberOfChannels(Long numberOfChannels)
The number of audio channels in the segment.
|
void |
setSampleRate(Long sampleRate)
The sample rate for the audio stream.
|
String |
toString()
Returns a string representation of this object.
|
AudioMetadata |
withCodec(String codec)
The audio codec used to encode or decode the audio stream.
|
AudioMetadata |
withDurationMillis(Long durationMillis)
The duration of the audio stream in milliseconds.
|
AudioMetadata |
withNumberOfChannels(Long numberOfChannels)
The number of audio channels in the segment.
|
AudioMetadata |
withSampleRate(Long sampleRate)
The sample rate for the audio stream.
|
public void setCodec(String codec)
The audio codec used to encode or decode the audio stream.
codec
- The audio codec used to encode or decode the audio stream.public String getCodec()
The audio codec used to encode or decode the audio stream.
public AudioMetadata withCodec(String codec)
The audio codec used to encode or decode the audio stream.
codec
- The audio codec used to encode or decode the audio stream.public void setDurationMillis(Long durationMillis)
The duration of the audio stream in milliseconds.
durationMillis
- The duration of the audio stream in milliseconds.public Long getDurationMillis()
The duration of the audio stream in milliseconds.
public AudioMetadata withDurationMillis(Long durationMillis)
The duration of the audio stream in milliseconds.
durationMillis
- The duration of the audio stream in milliseconds.public void setSampleRate(Long sampleRate)
The sample rate for the audio stream.
sampleRate
- The sample rate for the audio stream.public Long getSampleRate()
The sample rate for the audio stream.
public AudioMetadata withSampleRate(Long sampleRate)
The sample rate for the audio stream.
sampleRate
- The sample rate for the audio stream.public void setNumberOfChannels(Long numberOfChannels)
The number of audio channels in the segment.
numberOfChannels
- The number of audio channels in the segment.public Long getNumberOfChannels()
The number of audio channels in the segment.
public AudioMetadata withNumberOfChannels(Long numberOfChannels)
The number of audio channels in the segment.
numberOfChannels
- The number of audio channels in the segment.public String toString()
toString
in class Object
Object.toString()
public AudioMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.