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 Details

    • 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

      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 the FailoverCondition.Builder avoiding the need to create one manually via FailoverCondition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to failoverConditions(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:
    • 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

      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:
    • 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.