@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudioDescription extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
AudioDescription() |
Modifier and Type | Method and Description |
---|---|
AudioDescription |
clone() |
boolean |
equals(Object obj) |
AudioNormalizationSettings |
getAudioNormalizationSettings()
Advanced audio normalization settings.
|
String |
getAudioSourceName()
Specifies which audio data to use from each input.
|
Integer |
getAudioType()
Applies only if Follow Input Audio Type is unchecked (false).
|
String |
getAudioTypeControl()
When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to the
output.
|
AudioCodecSettings |
getCodecSettings()
Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to audio
encoding.
|
String |
getCustomLanguageCode()
Specify the language for this audio output track, using the ISO 639-2 or ISO 639-3 three-letter language code.
|
String |
getLanguageCode()
Indicates the language of the audio output track.
|
String |
getLanguageCodeControl()
Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639 language code of
the input.
|
RemixSettings |
getRemixSettings()
Advanced audio remixing settings.
|
String |
getStreamName()
Used for MS Smooth and Apple HLS outputs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudioNormalizationSettings(AudioNormalizationSettings audioNormalizationSettings)
Advanced audio normalization settings.
|
void |
setAudioSourceName(String audioSourceName)
Specifies which audio data to use from each input.
|
void |
setAudioType(Integer audioType)
Applies only if Follow Input Audio Type is unchecked (false).
|
void |
setAudioTypeControl(String audioTypeControl)
When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to the
output.
|
void |
setCodecSettings(AudioCodecSettings codecSettings)
Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to audio
encoding.
|
void |
setCustomLanguageCode(String customLanguageCode)
Specify the language for this audio output track, using the ISO 639-2 or ISO 639-3 three-letter language code.
|
void |
setLanguageCode(String languageCode)
Indicates the language of the audio output track.
|
void |
setLanguageCodeControl(String languageCodeControl)
Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639 language code of
the input.
|
void |
setRemixSettings(RemixSettings remixSettings)
Advanced audio remixing settings.
|
void |
setStreamName(String streamName)
Used for MS Smooth and Apple HLS outputs.
|
String |
toString()
Returns a string representation of this object.
|
AudioDescription |
withAudioNormalizationSettings(AudioNormalizationSettings audioNormalizationSettings)
Advanced audio normalization settings.
|
AudioDescription |
withAudioSourceName(String audioSourceName)
Specifies which audio data to use from each input.
|
AudioDescription |
withAudioType(Integer audioType)
Applies only if Follow Input Audio Type is unchecked (false).
|
AudioDescription |
withAudioTypeControl(AudioTypeControl audioTypeControl)
When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to the
output.
|
AudioDescription |
withAudioTypeControl(String audioTypeControl)
When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to the
output.
|
AudioDescription |
withCodecSettings(AudioCodecSettings codecSettings)
Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to audio
encoding.
|
AudioDescription |
withCustomLanguageCode(String customLanguageCode)
Specify the language for this audio output track, using the ISO 639-2 or ISO 639-3 three-letter language code.
|
AudioDescription |
withLanguageCode(LanguageCode languageCode)
Indicates the language of the audio output track.
|
AudioDescription |
withLanguageCode(String languageCode)
Indicates the language of the audio output track.
|
AudioDescription |
withLanguageCodeControl(AudioLanguageCodeControl languageCodeControl)
Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639 language code of
the input.
|
AudioDescription |
withLanguageCodeControl(String languageCodeControl)
Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639 language code of
the input.
|
AudioDescription |
withRemixSettings(RemixSettings remixSettings)
Advanced audio remixing settings.
|
AudioDescription |
withStreamName(String streamName)
Used for MS Smooth and Apple HLS outputs.
|
public void setAudioNormalizationSettings(AudioNormalizationSettings audioNormalizationSettings)
audioNormalizationSettings
- Advanced audio normalization settings.public AudioNormalizationSettings getAudioNormalizationSettings()
public AudioDescription withAudioNormalizationSettings(AudioNormalizationSettings audioNormalizationSettings)
audioNormalizationSettings
- Advanced audio normalization settings.public void setAudioSourceName(String audioSourceName)
audioSourceName
- Specifies which audio data to use from each input. In the simplest case, specify an
"Audio Selector":#inputs-audio_selector by name based on its order within each input. For example if you
specify "Audio Selector 3", then the third audio selector will be used from each input. If an input does
not have an "Audio Selector 3", then the audio selector marked as "default" in that input will be used. If
there is no audio selector marked as "default", silence will be inserted for the duration of that input.
Alternatively, an "Audio Selector Group":#inputs-audio_selector_group name may be specified, with similar
default/silence behavior. If no audio_source_name is specified, then "Audio Selector 1" will be chosen
automatically.public String getAudioSourceName()
public AudioDescription withAudioSourceName(String audioSourceName)
audioSourceName
- Specifies which audio data to use from each input. In the simplest case, specify an
"Audio Selector":#inputs-audio_selector by name based on its order within each input. For example if you
specify "Audio Selector 3", then the third audio selector will be used from each input. If an input does
not have an "Audio Selector 3", then the audio selector marked as "default" in that input will be used. If
there is no audio selector marked as "default", silence will be inserted for the duration of that input.
Alternatively, an "Audio Selector Group":#inputs-audio_selector_group name may be specified, with similar
default/silence behavior. If no audio_source_name is specified, then "Audio Selector 1" will be chosen
automatically.public void setAudioType(Integer audioType)
audioType
- Applies only if Follow Input Audio Type is unchecked (false). A number between 0 and 255. The following
are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 = Visually
Impaired Commentary, 4-255 = Reserved.public Integer getAudioType()
public AudioDescription withAudioType(Integer audioType)
audioType
- Applies only if Follow Input Audio Type is unchecked (false). A number between 0 and 255. The following
are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 = Visually
Impaired Commentary, 4-255 = Reserved.public void setAudioTypeControl(String audioTypeControl)
audioTypeControl
- When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through
to the output. If the input contains no ISO 639 audio_type, the value in Audio Type is included in the
output. Otherwise the value in Audio Type is included in the output. Note that this field and audioType
are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD.AudioTypeControl
public String getAudioTypeControl()
AudioTypeControl
public AudioDescription withAudioTypeControl(String audioTypeControl)
audioTypeControl
- When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through
to the output. If the input contains no ISO 639 audio_type, the value in Audio Type is included in the
output. Otherwise the value in Audio Type is included in the output. Note that this field and audioType
are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD.AudioTypeControl
public AudioDescription withAudioTypeControl(AudioTypeControl audioTypeControl)
audioTypeControl
- When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through
to the output. If the input contains no ISO 639 audio_type, the value in Audio Type is included in the
output. Otherwise the value in Audio Type is included in the output. Note that this field and audioType
are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD.AudioTypeControl
public void setCodecSettings(AudioCodecSettings codecSettings)
codecSettings
- Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to
audio encoding. The settings in this group vary depending on the value you choose for Audio codec (Codec).
For each codec enum you choose, define the corresponding settings object. The following lists the codec
enum, settings object pairs. * AAC, AacSettings * MP2, Mp2Settings * WAV, WavSettings * AIFF, AiffSettings
* AC3, Ac3Settings * EAC3, Eac3Settingspublic AudioCodecSettings getCodecSettings()
public AudioDescription withCodecSettings(AudioCodecSettings codecSettings)
codecSettings
- Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to
audio encoding. The settings in this group vary depending on the value you choose for Audio codec (Codec).
For each codec enum you choose, define the corresponding settings object. The following lists the codec
enum, settings object pairs. * AAC, AacSettings * MP2, Mp2Settings * WAV, WavSettings * AIFF, AiffSettings
* AC3, Ac3Settings * EAC3, Eac3Settingspublic void setCustomLanguageCode(String customLanguageCode)
customLanguageCode
- Specify the language for this audio output track, using the ISO 639-2 or ISO 639-3 three-letter language
code. The language specified will be used when 'Follow Input Language Code' is not selected or when
'Follow Input Language Code' is selected but there is no ISO 639 language code specified by the input.public String getCustomLanguageCode()
public AudioDescription withCustomLanguageCode(String customLanguageCode)
customLanguageCode
- Specify the language for this audio output track, using the ISO 639-2 or ISO 639-3 three-letter language
code. The language specified will be used when 'Follow Input Language Code' is not selected or when
'Follow Input Language Code' is selected but there is no ISO 639 language code specified by the input.public void setLanguageCode(String languageCode)
languageCode
- Indicates the language of the audio output track. The ISO 639 language specified in the 'Language Code'
drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language
Code' is selected but there is no ISO 639 language code specified by the input.LanguageCode
public String getLanguageCode()
LanguageCode
public AudioDescription withLanguageCode(String languageCode)
languageCode
- Indicates the language of the audio output track. The ISO 639 language specified in the 'Language Code'
drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language
Code' is selected but there is no ISO 639 language code specified by the input.LanguageCode
public AudioDescription withLanguageCode(LanguageCode languageCode)
languageCode
- Indicates the language of the audio output track. The ISO 639 language specified in the 'Language Code'
drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language
Code' is selected but there is no ISO 639 language code specified by the input.LanguageCode
public void setLanguageCodeControl(String languageCodeControl)
languageCodeControl
- Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639 language
code of the input. The language specified for languageCode' will be used when USE_CONFIGURED is selected
or when FOLLOW_INPUT is selected but there is no ISO 639 language code specified by the input.AudioLanguageCodeControl
public String getLanguageCodeControl()
AudioLanguageCodeControl
public AudioDescription withLanguageCodeControl(String languageCodeControl)
languageCodeControl
- Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639 language
code of the input. The language specified for languageCode' will be used when USE_CONFIGURED is selected
or when FOLLOW_INPUT is selected but there is no ISO 639 language code specified by the input.AudioLanguageCodeControl
public AudioDescription withLanguageCodeControl(AudioLanguageCodeControl languageCodeControl)
languageCodeControl
- Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639 language
code of the input. The language specified for languageCode' will be used when USE_CONFIGURED is selected
or when FOLLOW_INPUT is selected but there is no ISO 639 language code specified by the input.AudioLanguageCodeControl
public void setRemixSettings(RemixSettings remixSettings)
remixSettings
- Advanced audio remixing settings.public RemixSettings getRemixSettings()
public AudioDescription withRemixSettings(RemixSettings remixSettings)
remixSettings
- Advanced audio remixing settings.public void setStreamName(String streamName)
streamName
- Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by the player (eg. English, or
Director Commentary). Alphanumeric characters, spaces, and underscore are legal.public String getStreamName()
public AudioDescription withStreamName(String streamName)
streamName
- Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by the player (eg. English, or
Director Commentary). Alphanumeric characters, spaces, and underscore are legal.public String toString()
toString
in class Object
Object.toString()
public AudioDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.