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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomaticInputFailoverSettings.BuildererrorClearTimeMsec(Integer errorClearTimeMsec)This clear time defines the requirement a recovered input must meet to be considered healthy.AutomaticInputFailoverSettings.BuilderfailoverConditions(Collection<FailoverCondition> failoverConditions)A list of failover conditions.AutomaticInputFailoverSettings.BuilderfailoverConditions(Consumer<FailoverCondition.Builder>... failoverConditions)A list of failover conditions.AutomaticInputFailoverSettings.BuilderfailoverConditions(FailoverCondition... failoverConditions)A list of failover conditions.AutomaticInputFailoverSettings.BuilderinputPreference(String inputPreference)Input preference when deciding which input to make active when a previously failed input has recovered.AutomaticInputFailoverSettings.BuilderinputPreference(InputPreference inputPreference)Input preference when deciding which input to make active when a previously failed input has recovered.AutomaticInputFailoverSettings.BuildersecondaryInputId(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
errorClearTimeMsec
AutomaticInputFailoverSettings.Builder errorClearTimeMsec(Integer 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
AutomaticInputFailoverSettings.Builder failoverConditions(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
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 to#failoverConditions(List.) - 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:
#failoverConditions(java.util.Collection)
-
inputPreference
AutomaticInputFailoverSettings.Builder inputPreference(String 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,InputPreference
-
inputPreference
AutomaticInputFailoverSettings.Builder inputPreference(InputPreference 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,InputPreference
-
secondaryInputId
AutomaticInputFailoverSettings.Builder secondaryInputId(String 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.
-
-