Interface Range.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Range.Builder,Range>
,SdkBuilder<Range.Builder,Range>
,SdkPojo
- Enclosing class:
- Range
public static interface Range.Builder extends SdkPojo, CopyableBuilder<Range.Builder,Range>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Range.Builder
from(Integer from)
The minimum value in the range.Range.Builder
step(Integer step)
The step value for the range.Range.Builder
to(Integer to)
The maximum value in the 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 Detail
-
from
Range.Builder from(Integer from)
The minimum value in the range.
- Parameters:
from
- The minimum value in the range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
Range.Builder to(Integer to)
The maximum value in the range.
- Parameters:
to
- The maximum value in the range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
step
Range.Builder step(Integer step)
The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...
- Parameters:
step
- The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-