Interface AutomaticInputFailoverSettings.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AutomaticInputFailoverSettings.Builder,,- AutomaticInputFailoverSettings> - SdkBuilder<AutomaticInputFailoverSettings.Builder,,- AutomaticInputFailoverSettings> - SdkPojo
- Enclosing class:
- AutomaticInputFailoverSettings
@Mutable
@NotThreadSafe
public static interface AutomaticInputFailoverSettings.Builder
extends SdkPojo, CopyableBuilder<AutomaticInputFailoverSettings.Builder,AutomaticInputFailoverSettings> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
errorClearTimeMsecThis 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.
 
- 
failoverConditionsAutomaticInputFailoverSettings.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.
 
- 
failoverConditionsA 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.
 
- 
failoverConditionsAutomaticInputFailoverSettings.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 on- FailoverCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
inputPreferenceInput 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:
 
- 
inputPreferenceInput 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:
 
- 
secondaryInputIdThe 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.
 
 
-