@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CacheUsageLimits extends Object implements Serializable, Cloneable
The usage limits for storage and ElastiCache Processing Units for the cache.
Constructor and Description |
---|
CacheUsageLimits() |
Modifier and Type | Method and Description |
---|---|
CacheUsageLimits |
clone() |
boolean |
equals(Object obj) |
DataStorage |
getDataStorage()
The maximum data storage limit in the cache, expressed in Gigabytes.
|
ECPUPerSecond |
getECPUPerSecond() |
int |
hashCode() |
void |
setDataStorage(DataStorage dataStorage)
The maximum data storage limit in the cache, expressed in Gigabytes.
|
void |
setECPUPerSecond(ECPUPerSecond eCPUPerSecond) |
String |
toString()
Returns a string representation of this object.
|
CacheUsageLimits |
withDataStorage(DataStorage dataStorage)
The maximum data storage limit in the cache, expressed in Gigabytes.
|
CacheUsageLimits |
withECPUPerSecond(ECPUPerSecond eCPUPerSecond) |
public void setDataStorage(DataStorage dataStorage)
The maximum data storage limit in the cache, expressed in Gigabytes.
dataStorage
- The maximum data storage limit in the cache, expressed in Gigabytes.public DataStorage getDataStorage()
The maximum data storage limit in the cache, expressed in Gigabytes.
public CacheUsageLimits withDataStorage(DataStorage dataStorage)
The maximum data storage limit in the cache, expressed in Gigabytes.
dataStorage
- The maximum data storage limit in the cache, expressed in Gigabytes.public void setECPUPerSecond(ECPUPerSecond eCPUPerSecond)
eCPUPerSecond
- public ECPUPerSecond getECPUPerSecond()
public CacheUsageLimits withECPUPerSecond(ECPUPerSecond eCPUPerSecond)
eCPUPerSecond
- public String toString()
toString
in class Object
Object.toString()
public CacheUsageLimits clone()