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 Summary
Modifier and TypeMethodDescriptionmaxSeconds
(Integer maxSeconds) The maximum value of the duration range.minSeconds
(Integer minSeconds) The minimum value of the duration range.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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.
-