Class FailoverConfig
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconnect.model.FailoverConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FailoverConfig.Builder,FailoverConfig>
@Generated("software.amazon.awssdk:codegen") public final class FailoverConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FailoverConfig.Builder,FailoverConfig>
The settings for source failover.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFailoverConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FailoverConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FailoverModefailoverMode()The type of failover you choose for this flow.StringfailoverModeAsString()The type of failover you choose for this flow.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerrecoveryWindow()Search window time to look for dash-7 packetsList<SdkField<?>>sdkFields()static Class<? extends FailoverConfig.Builder>serializableBuilderClass()SourcePrioritysourcePriority()The priority you want to assign to a source.Statestate()Returns the value of the State property for this object.StringstateAsString()Returns the value of the State property for this object.FailoverConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
failoverMode
public final FailoverMode failoverMode()
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.If the service returns an enum value that is not available in the current SDK version,
failoverModewill returnFailoverMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailoverModeAsString().- Returns:
- The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
- See Also:
FailoverMode
-
failoverModeAsString
public final String failoverModeAsString()
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.If the service returns an enum value that is not available in the current SDK version,
failoverModewill returnFailoverMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailoverModeAsString().- Returns:
- The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
- See Also:
FailoverMode
-
recoveryWindow
public final Integer recoveryWindow()
Search window time to look for dash-7 packets- Returns:
- Search window time to look for dash-7 packets
-
sourcePriority
public final SourcePriority sourcePriority()
The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.- Returns:
- The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.
-
state
public final State state()
Returns the value of the State property for this object.If the service returns an enum value that is not available in the current SDK version,
statewill returnState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The value of the State property for this object.
- See Also:
State
-
stateAsString
public final String stateAsString()
Returns the value of the State property for this object.If the service returns an enum value that is not available in the current SDK version,
statewill returnState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The value of the State property for this object.
- See Also:
State
-
toBuilder
public FailoverConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FailoverConfig.Builder,FailoverConfig>
-
builder
public static FailoverConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends FailoverConfig.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.
-
-