Interface DurationRange.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DurationRange.Builder,DurationRange>, SdkBuilder<DurationRange.Builder,DurationRange>, SdkPojo
Enclosing class:
DurationRange

public static interface DurationRange.Builder extends SdkPojo, CopyableBuilder<DurationRange.Builder,DurationRange>
  • Method Details

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