@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Range extends Object implements Serializable, Cloneable
A range of integer values.
| Constructor and Description | 
|---|
| Range() | 
| Modifier and Type | Method and Description | 
|---|---|
| Range | clone() | 
| boolean | equals(Object obj) | 
| Integer | getFrom()
 The minimum value in the range. | 
| Integer | getStep()
 The step value for the range. | 
| Integer | getTo()
 The maximum value in the range. | 
| int | hashCode() | 
| void | setFrom(Integer from)
 The minimum value in the range. | 
| void | setStep(Integer step)
 The step value for the range. | 
| void | setTo(Integer to)
 The maximum value in the range. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| Range | withFrom(Integer from)
 The minimum value in the range. | 
| Range | withStep(Integer step)
 The step value for the range. | 
| Range | withTo(Integer to)
 The maximum value in the range. | 
public void setFrom(Integer from)
The minimum value in the range.
from - The minimum value in the range.public Integer getFrom()
The minimum value in the range.
public Range withFrom(Integer from)
The minimum value in the range.
from - The minimum value in the range.public void setTo(Integer to)
The maximum value in the range.
to - The maximum value in the range.public Integer getTo()
The maximum value in the range.
public Range withTo(Integer to)
The maximum value in the range.
to - The maximum value in the range.public void setStep(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...
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...public Integer getStep()
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...
public Range withStep(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...
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...public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.