Interface DurationRange.Builder

    • Method Detail

      • minSeconds

        DurationRange.Builder minSeconds​(Integer minSeconds)

        The minimum value of the duration range. Must be greater than zero.

        Parameters:
        minSeconds - The minimum value of the duration range. Must be greater than zero.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxSeconds

        DurationRange.Builder maxSeconds​(Integer maxSeconds)

        The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).

        Parameters:
        maxSeconds - The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
        Returns:
        Returns a reference to this object so that method calls can be chained together.