Class InputSwitchScheduleActionSettings
- java.lang.Object
-
- software.amazon.awssdk.services.medialive.model.InputSwitchScheduleActionSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InputSwitchScheduleActionSettings.Builder,InputSwitchScheduleActionSettings>
@Generated("software.amazon.awssdk:codegen") public final class InputSwitchScheduleActionSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InputSwitchScheduleActionSettings.Builder,InputSwitchScheduleActionSettings>
Settings for the "switch input" action: to switch from ingesting one input to ingesting another input.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInputSwitchScheduleActionSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputSwitchScheduleActionSettings.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasUrlPath()For responses, this returns true if the service returned a value for the UrlPath property.StringinputAttachmentNameReference()The name of the input attachment (not the name of the input!) to switch to.InputClippingSettingsinputClippingSettings()Settings to let you create a clip of the file input, in order to set up the input to ingest only a portion of the file.List<SdkField<?>>sdkFields()static Class<? extends InputSwitchScheduleActionSettings.Builder>serializableBuilderClass()InputSwitchScheduleActionSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<String>urlPath()The value for the variable portion of the URL for the dynamic input, for this instance of the input.-
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
-
inputAttachmentNameReference
public final String inputAttachmentNameReference()
The name of the input attachment (not the name of the input!) to switch to. The name is specified in the channel configuration.- Returns:
- The name of the input attachment (not the name of the input!) to switch to. The name is specified in the channel configuration.
-
inputClippingSettings
public final InputClippingSettings inputClippingSettings()
Settings to let you create a clip of the file input, in order to set up the input to ingest only a portion of the file.- Returns:
- Settings to let you create a clip of the file input, in order to set up the input to ingest only a portion of the file.
-
hasUrlPath
public final boolean hasUrlPath()
For responses, this returns true if the service returned a value for the UrlPath 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.
-
urlPath
public final List<String> urlPath()
The value for the variable portion of the URL for the dynamic input, for this instance of the input. Each time you use the same dynamic input in an input switch action, you can provide a different value, in order to connect the input to a different content source.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
hasUrlPath()method.- Returns:
- The value for the variable portion of the URL for the dynamic input, for this instance of the input. Each time you use the same dynamic input in an input switch action, you can provide a different value, in order to connect the input to a different content source.
-
toBuilder
public InputSwitchScheduleActionSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InputSwitchScheduleActionSettings.Builder,InputSwitchScheduleActionSettings>
-
builder
public static InputSwitchScheduleActionSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends InputSwitchScheduleActionSettings.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.
-
-