@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataStorage extends Object implements Serializable, Cloneable
The data storage limit.
Constructor and Description |
---|
DataStorage() |
Modifier and Type | Method and Description |
---|---|
DataStorage |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaximum()
The upper limit for data storage the cache is set to use.
|
Integer |
getMinimum()
The lower limit for data storage the cache is set to use.
|
String |
getUnit()
The unit that the storage is measured in, in GB.
|
int |
hashCode() |
void |
setMaximum(Integer maximum)
The upper limit for data storage the cache is set to use.
|
void |
setMinimum(Integer minimum)
The lower limit for data storage the cache is set to use.
|
void |
setUnit(String unit)
The unit that the storage is measured in, in GB.
|
String |
toString()
Returns a string representation of this object.
|
DataStorage |
withMaximum(Integer maximum)
The upper limit for data storage the cache is set to use.
|
DataStorage |
withMinimum(Integer minimum)
The lower limit for data storage the cache is set to use.
|
DataStorage |
withUnit(DataStorageUnit unit)
The unit that the storage is measured in, in GB.
|
DataStorage |
withUnit(String unit)
The unit that the storage is measured in, in GB.
|
public void setMaximum(Integer maximum)
The upper limit for data storage the cache is set to use.
maximum
- The upper limit for data storage the cache is set to use.public Integer getMaximum()
The upper limit for data storage the cache is set to use.
public DataStorage withMaximum(Integer maximum)
The upper limit for data storage the cache is set to use.
maximum
- The upper limit for data storage the cache is set to use.public void setMinimum(Integer minimum)
The lower limit for data storage the cache is set to use.
minimum
- The lower limit for data storage the cache is set to use.public Integer getMinimum()
The lower limit for data storage the cache is set to use.
public DataStorage withMinimum(Integer minimum)
The lower limit for data storage the cache is set to use.
minimum
- The lower limit for data storage the cache is set to use.public void setUnit(String unit)
The unit that the storage is measured in, in GB.
unit
- The unit that the storage is measured in, in GB.DataStorageUnit
public String getUnit()
The unit that the storage is measured in, in GB.
DataStorageUnit
public DataStorage withUnit(String unit)
The unit that the storage is measured in, in GB.
unit
- The unit that the storage is measured in, in GB.DataStorageUnit
public DataStorage withUnit(DataStorageUnit unit)
The unit that the storage is measured in, in GB.
unit
- The unit that the storage is measured in, in GB.DataStorageUnit
public String toString()
toString
in class Object
Object.toString()
public DataStorage clone()