@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.
CACHE_250 – This type provides at least 250 MB/s disk access throughput.
CACHE_12 – This type provides at least 12 MB/s disk access throughput.
For cache type CACHE_1000
and CACHE_250
you can select cache size as 1200 GB or
increments of 2400 GB. For cache type CACHE_12
you can select the cache size in increments of 6000
GB.
type
- The type of cache storage. The valid values are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
CACHE_250 – This type provides at least 250 MB/s disk access throughput.
CACHE_12 – This type provides at least 12 MB/s disk access throughput.
For cache type CACHE_1000
and CACHE_250
you can select cache size as 1200 GB or
increments of 2400 GB. For cache type CACHE_12
you can select the cache size in increments of
6000 GB.
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_250 – This type provides at least 250 MB/s disk access throughput.
CACHE_12 – This type provides at least 12 MB/s disk access throughput.
For cache type CACHE_1000
and CACHE_250
you can select cache size as 1200 GB or
increments of 2400 GB. For cache type CACHE_12
you can select the cache size in increments of 6000
GB.
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
CACHE_250 – This type provides at least 250 MB/s disk access throughput.
CACHE_12 – This type provides at least 12 MB/s disk access throughput.
For cache type CACHE_1000
and CACHE_250
you can select cache size as 1200 GB or
increments of 2400 GB. For cache type CACHE_12
you can select the cache size in increments
of 6000 GB.
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.
CACHE_250 – This type provides at least 250 MB/s disk access throughput.
CACHE_12 – This type provides at least 12 MB/s disk access throughput.
For cache type CACHE_1000
and CACHE_250
you can select cache size as 1200 GB or
increments of 2400 GB. For cache type CACHE_12
you can select the cache size in increments of 6000
GB.
type
- The type of cache storage. The valid values are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
CACHE_250 – This type provides at least 250 MB/s disk access throughput.
CACHE_12 – This type provides at least 12 MB/s disk access throughput.
For cache type CACHE_1000
and CACHE_250
you can select cache size as 1200 GB or
increments of 2400 GB. For cache type CACHE_12
you can select the cache size in increments of
6000 GB.
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.