Interface AutomaticInputFailoverSettings.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<AutomaticInputFailoverSettings.Builder,,AutomaticInputFailoverSettings> SdkBuilder<AutomaticInputFailoverSettings.Builder,,AutomaticInputFailoverSettings> SdkPojo
- Enclosing class:
 AutomaticInputFailoverSettings
public static interface AutomaticInputFailoverSettings.Builder
extends SdkPojo, CopyableBuilder<AutomaticInputFailoverSettings.Builder,AutomaticInputFailoverSettings> 
- 
Method Summary
Modifier and TypeMethodDescriptionerrorClearTimeMsec(Integer errorClearTimeMsec) This clear time defines the requirement a recovered input must meet to be considered healthy.failoverConditions(Collection<FailoverCondition> failoverConditions) A list of failover conditions.failoverConditions(Consumer<FailoverCondition.Builder>... failoverConditions) A list of failover conditions.failoverConditions(FailoverCondition... failoverConditions) A list of failover conditions.inputPreference(String inputPreference) Input preference when deciding which input to make active when a previously failed input has recovered.inputPreference(InputPreference inputPreference) Input preference when deciding which input to make active when a previously failed input has recovered.secondaryInputId(String secondaryInputId) The input ID of the secondary input in the automatic input failover pair.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
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.- Parameters:
 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.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
failoverConditions
AutomaticInputFailoverSettings.Builder failoverConditions(Collection<FailoverCondition> failoverConditions) A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the other input.- Parameters:
 failoverConditions- A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the other input.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
failoverConditions
A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the other input.- Parameters:
 failoverConditions- A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the other input.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
failoverConditions
AutomaticInputFailoverSettings.Builder failoverConditions(Consumer<FailoverCondition.Builder>... failoverConditions) A list of failover conditions. If any of these conditions occur, MediaLive will perform a failover to the other input. This is a convenience method that creates an instance of theFailoverCondition.Builderavoiding the need to create one manually viaFailoverCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailoverConditions(List<FailoverCondition>).- Parameters:
 failoverConditions- a consumer that will call methods onFailoverCondition.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
inputPreference
Input preference when deciding which input to make active when a previously failed input has recovered.- Parameters:
 inputPreference- Input preference when deciding which input to make active when a previously failed input has recovered.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
inputPreference
Input preference when deciding which input to make active when a previously failed input has recovered.- Parameters:
 inputPreference- Input preference when deciding which input to make active when a previously failed input has recovered.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
secondaryInputId
The input ID of the secondary input in the automatic input failover pair.- Parameters:
 secondaryInputId- The input ID of the secondary input in the automatic input failover pair.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -