Interface SilentAudio.Builder

    • Method Detail

      • state

        SilentAudio.Builder state​(String state)
        Indicates whether the SilentAudio metric is enabled or disabled.
        Parameters:
        state - Indicates whether the SilentAudio metric is enabled or disabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        State, State
      • state

        SilentAudio.Builder state​(State state)
        Indicates whether the SilentAudio metric is enabled or disabled.
        Parameters:
        state - Indicates whether the SilentAudio metric is enabled or disabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        State, State
      • thresholdSeconds

        SilentAudio.Builder thresholdSeconds​(Integer thresholdSeconds)
        Specifies the number of consecutive seconds of silence that triggers an event or alert.
        Parameters:
        thresholdSeconds - Specifies the number of consecutive seconds of silence that triggers an event or alert.
        Returns:
        Returns a reference to this object so that method calls can be chained together.