@Generated(value="software.amazon.awssdk:codegen") public final class AudioSelector extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AudioSelector.Builder,AudioSelector>
Modifier and Type | Class and Description |
---|---|
static interface |
AudioSelector.Builder |
Modifier and Type | Method and Description |
---|---|
AudioDurationCorrection |
audioDurationCorrection()
Apply audio timing corrections to help synchronize audio and video in your output.
|
String |
audioDurationCorrectionAsString()
Apply audio timing corrections to help synchronize audio and video in your output.
|
static AudioSelector.Builder |
builder() |
String |
customLanguageCode()
Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter
language code
|
AudioDefaultSelection |
defaultSelection()
Enable this setting on one audio selector to set it as the default for the job.
|
String |
defaultSelectionAsString()
Enable this setting on one audio selector to set it as the default for the job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalAudioFileInput()
Specifies audio data from an external file source.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPids()
For responses, this returns true if the service returned a value for the Pids property.
|
boolean |
hasTracks()
For responses, this returns true if the service returned a value for the Tracks property.
|
HlsRenditionGroupSettings |
hlsRenditionGroupSettings()
Settings specific to audio sources in an HLS alternate rendition group.
|
LanguageCode |
languageCode()
Selects a specific language code from within an audio source.
|
String |
languageCodeAsString()
Selects a specific language code from within an audio source.
|
Integer |
offset()
Specifies a time delta in milliseconds to offset the audio from the input video.
|
List<Integer> |
pids()
Selects a specific PID from within an audio source (e.g.
|
Integer |
programSelection()
Use this setting for input streams that contain Dolby E, to have the service extract specific program data from
the track.
|
RemixSettings |
remixSettings()
Use these settings to reorder the audio channels of one input to match those of another input.
|
List<SdkField<?>> |
sdkFields() |
AudioSelectorType |
selectorType()
Specifies the type of the audio selector.
|
String |
selectorTypeAsString()
Specifies the type of the audio selector.
|
static Class<? extends AudioSelector.Builder> |
serializableBuilderClass() |
AudioSelector.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<Integer> |
tracks()
Identify a track from the input audio to include in this selector by entering the track index number.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final AudioDurationCorrection audioDurationCorrection()
If the service returns an enum value that is not available in the current SDK version,
audioDurationCorrection
will return AudioDurationCorrection.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from audioDurationCorrectionAsString()
.
AudioDurationCorrection
public final String audioDurationCorrectionAsString()
If the service returns an enum value that is not available in the current SDK version,
audioDurationCorrection
will return AudioDurationCorrection.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from audioDurationCorrectionAsString()
.
AudioDurationCorrection
public final String customLanguageCode()
public final AudioDefaultSelection defaultSelection()
If the service returns an enum value that is not available in the current SDK version, defaultSelection
will return AudioDefaultSelection.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from defaultSelectionAsString()
.
AudioDefaultSelection
public final String defaultSelectionAsString()
If the service returns an enum value that is not available in the current SDK version, defaultSelection
will return AudioDefaultSelection.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from defaultSelectionAsString()
.
AudioDefaultSelection
public final String externalAudioFileInput()
public final HlsRenditionGroupSettings hlsRenditionGroupSettings()
public final LanguageCode languageCode()
If the service returns an enum value that is not available in the current SDK version, languageCode
will
return LanguageCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
languageCodeAsString()
.
LanguageCode
public final String languageCodeAsString()
If the service returns an enum value that is not available in the current SDK version, languageCode
will
return LanguageCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
languageCodeAsString()
.
LanguageCode
public final Integer offset()
public final boolean hasPids()
isEmpty()
method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Integer> pids()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPids()
method.
public final Integer programSelection()
public final RemixSettings remixSettings()
public final AudioSelectorType selectorType()
If the service returns an enum value that is not available in the current SDK version, selectorType
will
return AudioSelectorType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
selectorTypeAsString()
.
AudioSelectorType
public final String selectorTypeAsString()
If the service returns an enum value that is not available in the current SDK version, selectorType
will
return AudioSelectorType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
selectorTypeAsString()
.
AudioSelectorType
public final boolean hasTracks()
isEmpty()
method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Integer> tracks()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTracks()
method.
public AudioSelector.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AudioSelector.Builder,AudioSelector>
public static AudioSelector.Builder builder()
public static Class<? extends AudioSelector.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.