@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DoubleRange extends Object implements Serializable, Cloneable
A range of double values.
Constructor and Description |
---|
DoubleRange() |
Modifier and Type | Method and Description |
---|---|
DoubleRange |
clone() |
boolean |
equals(Object obj) |
Double |
getFrom()
The minimum value in the range.
|
Double |
getTo()
The maximum value in the range.
|
int |
hashCode() |
void |
setFrom(Double from)
The minimum value in the range.
|
void |
setTo(Double to)
The maximum value in the range.
|
String |
toString()
Returns a string representation of this object.
|
DoubleRange |
withFrom(Double from)
The minimum value in the range.
|
DoubleRange |
withTo(Double to)
The maximum value in the range.
|
public void setFrom(Double from)
The minimum value in the range.
from
- The minimum value in the range.public Double getFrom()
The minimum value in the range.
public DoubleRange withFrom(Double from)
The minimum value in the range.
from
- The minimum value in the range.public void setTo(Double to)
The maximum value in the range.
to
- The maximum value in the range.public Double getTo()
The maximum value in the range.
public DoubleRange withTo(Double to)
The maximum value in the range.
to
- The maximum value in the range.public String toString()
toString
in class Object
Object.toString()
public DoubleRange clone()