@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KxCacheStorageConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for read only disk cache associated with a cluster.
Constructor and Description |
---|
KxCacheStorageConfiguration() |
Modifier and Type | Method and Description |
---|---|
KxCacheStorageConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getSize()
The size of cache in Gigabytes.
|
String |
getType()
The type of cache storage .
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSize(Integer size)
The size of cache in Gigabytes.
|
void |
setType(String type)
The type of cache storage .
|
String |
toString()
Returns a string representation of this object.
|
KxCacheStorageConfiguration |
withSize(Integer size)
The size of cache in Gigabytes.
|
KxCacheStorageConfiguration |
withType(String type)
The type of cache storage .
|
public void setType(String type)
The type of cache storage . The valid values are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
type
- The type of cache storage . The valid values are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
public String getType()
The type of cache storage . The valid values are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
public KxCacheStorageConfiguration withType(String type)
The type of cache storage . The valid values are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
type
- The type of cache storage . The valid values are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
public void setSize(Integer size)
The size of cache in Gigabytes.
size
- The size of cache in Gigabytes.public Integer getSize()
The size of cache in Gigabytes.
public KxCacheStorageConfiguration withSize(Integer size)
The size of cache in Gigabytes.
size
- The size of cache in Gigabytes.public String toString()
toString
in class Object
Object.toString()
public KxCacheStorageConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.