Interface AutomaticInputFailoverSettings.Builder

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