Class InputSettings
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<InputSettings.Builder,
InputSettings>
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal List
<AudioSelector> Used to select the audio stream to decode for inputs that have multiple available.static InputSettings.Builder
builder()
final List
<CaptionSelector> Used to select the caption input to use for inputs that have multiple available.final InputDeblockFilter
Enable or disable the deblock filter when filtering.final String
Enable or disable the deblock filter when filtering.final InputDenoiseFilter
Enable or disable the denoise filter when filtering.final String
Enable or disable the denoise filter when filtering.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Integer
Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the AudioSelectors property.final boolean
For responses, this returns true if the service returned a value for the CaptionSelectors property.final int
hashCode()
final InputFilter
Turns on the filter for this input.final String
Turns on the filter for this input.final NetworkInputSettings
Input settings.final Integer
PID from which to read SCTE-35 messages.static Class
<? extends InputSettings.Builder> final Smpte2038DataPreference
Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input.final String
Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input.final InputSourceEndBehavior
Loop input if it is a file.final String
Loop input if it is a file.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final VideoSelector
Informs which video elementary stream to decode for input types that have multiple available.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
hasAudioSelectors
public final boolean hasAudioSelectors()For responses, this returns true if the service returned a value for the AudioSelectors property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
audioSelectors
Used to select the audio stream to decode for inputs that have multiple available.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
hasAudioSelectors()
method.- Returns:
- Used to select the audio stream to decode for inputs that have multiple available.
-
hasCaptionSelectors
public final boolean hasCaptionSelectors()For responses, this returns true if the service returned a value for the CaptionSelectors property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
deblockFilter
Enable or disable the deblock filter when filtering.If the service returns an enum value that is not available in the current SDK version,
deblockFilter
will returnInputDeblockFilter.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdeblockFilterAsString()
.- Returns:
- Enable or disable the deblock filter when filtering.
- See Also:
-
deblockFilterAsString
Enable or disable the deblock filter when filtering.If the service returns an enum value that is not available in the current SDK version,
deblockFilter
will returnInputDeblockFilter.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdeblockFilterAsString()
.- Returns:
- Enable or disable the deblock filter when filtering.
- See Also:
-
denoiseFilter
Enable or disable the denoise filter when filtering.If the service returns an enum value that is not available in the current SDK version,
denoiseFilter
will returnInputDenoiseFilter.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdenoiseFilterAsString()
.- Returns:
- Enable or disable the denoise filter when filtering.
- See Also:
-
denoiseFilterAsString
Enable or disable the denoise filter when filtering.If the service returns an enum value that is not available in the current SDK version,
denoiseFilter
will returnInputDenoiseFilter.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdenoiseFilterAsString()
.- Returns:
- Enable or disable the denoise filter when filtering.
- See Also:
-
filterStrength
Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).- Returns:
- Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).
-
inputFilter
Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input typeIf the service returns an enum value that is not available in the current SDK version,
inputFilter
will returnInputFilter.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominputFilterAsString()
.- Returns:
- Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input type
- See Also:
-
inputFilterAsString
Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input typeIf the service returns an enum value that is not available in the current SDK version,
inputFilter
will returnInputFilter.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominputFilterAsString()
.- Returns:
- Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input type
- See Also:
-
networkInputSettings
Input settings.- Returns:
- Input settings.
-
scte35Pid
PID from which to read SCTE-35 messages. If left undefined, EML will select the first SCTE-35 PID found in the input.- Returns:
- PID from which to read SCTE-35 messages. If left undefined, EML will select the first SCTE-35 PID found in the input.
-
smpte2038DataPreference
Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.If the service returns an enum value that is not available in the current SDK version,
smpte2038DataPreference
will returnSmpte2038DataPreference.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsmpte2038DataPreferenceAsString()
.- Returns:
- Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.
- See Also:
-
smpte2038DataPreferenceAsString
Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.If the service returns an enum value that is not available in the current SDK version,
smpte2038DataPreference
will returnSmpte2038DataPreference.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsmpte2038DataPreferenceAsString()
.- Returns:
- Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.
- See Also:
-
sourceEndBehavior
Loop input if it is a file. This allows a file input to be streamed indefinitely.If the service returns an enum value that is not available in the current SDK version,
sourceEndBehavior
will returnInputSourceEndBehavior.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsourceEndBehaviorAsString()
.- Returns:
- Loop input if it is a file. This allows a file input to be streamed indefinitely.
- See Also:
-
sourceEndBehaviorAsString
Loop input if it is a file. This allows a file input to be streamed indefinitely.If the service returns an enum value that is not available in the current SDK version,
sourceEndBehavior
will returnInputSourceEndBehavior.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsourceEndBehaviorAsString()
.- Returns:
- Loop input if it is a file. This allows a file input to be streamed indefinitely.
- See Also:
-
videoSelector
Informs which video elementary stream to decode for input types that have multiple available.- Returns:
- Informs which video elementary stream to decode for input types that have multiple available.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<InputSettings.Builder,
InputSettings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-