@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutomaticInputFailoverSettings extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
AutomaticInputFailoverSettings() |
| Modifier and Type | Method and Description |
|---|---|
AutomaticInputFailoverSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getErrorClearTimeMsec()
This clear time defines the requirement a recovered input must meet to be considered healthy.
|
List<FailoverCondition> |
getFailoverConditions()
A list of failover conditions.
|
String |
getInputPreference()
Input preference when deciding which input to make active when a previously failed input has recovered.
|
String |
getSecondaryInputId()
The input ID of the secondary input in the automatic input failover pair.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorClearTimeMsec(Integer errorClearTimeMsec)
This clear time defines the requirement a recovered input must meet to be considered healthy.
|
void |
setFailoverConditions(Collection<FailoverCondition> failoverConditions)
A list of failover conditions.
|
void |
setInputPreference(String inputPreference)
Input preference when deciding which input to make active when a previously failed input has recovered.
|
void |
setSecondaryInputId(String secondaryInputId)
The input ID of the secondary input in the automatic input failover pair.
|
String |
toString()
Returns a string representation of this object.
|
AutomaticInputFailoverSettings |
withErrorClearTimeMsec(Integer errorClearTimeMsec)
This clear time defines the requirement a recovered input must meet to be considered healthy.
|
AutomaticInputFailoverSettings |
withFailoverConditions(Collection<FailoverCondition> failoverConditions)
A list of failover conditions.
|
AutomaticInputFailoverSettings |
withFailoverConditions(FailoverCondition... failoverConditions)
A list of failover conditions.
|
AutomaticInputFailoverSettings |
withInputPreference(InputPreference inputPreference)
Input preference when deciding which input to make active when a previously failed input has recovered.
|
AutomaticInputFailoverSettings |
withInputPreference(String inputPreference)
Input preference when deciding which input to make active when a previously failed input has recovered.
|
AutomaticInputFailoverSettings |
withSecondaryInputId(String secondaryInputId)
The input ID of the secondary input in the automatic input failover pair.
|
public void setErrorClearTimeMsec(Integer errorClearTimeMsec)
errorClearTimeMsec - This clear time defines the requirement a recovered input must meet to be considered healthy. The input
must have no failover conditions for this length of time. Enter a time in milliseconds. This value is
particularly important if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED,
because after this time, MediaLive will switch back to the primary input.public Integer getErrorClearTimeMsec()
public AutomaticInputFailoverSettings withErrorClearTimeMsec(Integer errorClearTimeMsec)
errorClearTimeMsec - This clear time defines the requirement a recovered input must meet to be considered healthy. The input
must have no failover conditions for this length of time. Enter a time in milliseconds. This value is
particularly important if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED,
because after this time, MediaLive will switch back to the primary input.public List<FailoverCondition> getFailoverConditions()
public void setFailoverConditions(Collection<FailoverCondition> failoverConditions)
failoverConditions - A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the
other input.public AutomaticInputFailoverSettings withFailoverConditions(FailoverCondition... failoverConditions)
NOTE: This method appends the values to the existing list (if any). Use
setFailoverConditions(java.util.Collection) or withFailoverConditions(java.util.Collection) if
you want to override the existing values.
failoverConditions - A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the
other input.public AutomaticInputFailoverSettings withFailoverConditions(Collection<FailoverCondition> failoverConditions)
failoverConditions - A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the
other input.public void setInputPreference(String inputPreference)
inputPreference - Input preference when deciding which input to make active when a previously failed input has recovered.InputPreferencepublic String getInputPreference()
InputPreferencepublic AutomaticInputFailoverSettings withInputPreference(String inputPreference)
inputPreference - Input preference when deciding which input to make active when a previously failed input has recovered.InputPreferencepublic AutomaticInputFailoverSettings withInputPreference(InputPreference inputPreference)
inputPreference - Input preference when deciding which input to make active when a previously failed input has recovered.InputPreferencepublic void setSecondaryInputId(String secondaryInputId)
secondaryInputId - The input ID of the secondary input in the automatic input failover pair.public String getSecondaryInputId()
public AutomaticInputFailoverSettings withSecondaryInputId(String secondaryInputId)
secondaryInputId - The input ID of the secondary input in the automatic input failover pair.public String toString()
toString in class ObjectObject.toString()public AutomaticInputFailoverSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.