@Generated(value="software.amazon.awssdk:codegen") public final class CapacityConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CapacityConfiguration.Builder,CapacityConfiguration>
A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CapacityConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CapacityConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
nodeCount()
The number of instances running in a cluster.
|
String |
nodeType()
The type that determines the hardware of the host computer used for your cluster instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CapacityConfiguration.Builder> |
serializableBuilderClass() |
CapacityConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String nodeType()
The type that determines the hardware of the host computer used for your cluster instance. Each node type offers different memory and storage capabilities. Choose a node type based on the requirements of the application or software that you plan to run on your instance.
You can only specify one of the following values:
kx.s.large – The node type with a configuration of 12 GiB memory and 2 vCPUs.
kx.s.xlarge – The node type with a configuration of 27 GiB memory and 4 vCPUs.
kx.s.2xlarge – The node type with a configuration of 54 GiB memory and 8 vCPUs.
kx.s.4xlarge – The node type with a configuration of 108 GiB memory and 16 vCPUs.
kx.s.8xlarge – The node type with a configuration of 216 GiB memory and 32 vCPUs.
kx.s.16xlarge – The node type with a configuration of 432 GiB memory and 64 vCPUs.
kx.s.32xlarge – The node type with a configuration of 864 GiB memory and 128 vCPUs.
You can only specify one of the following values:
kx.s.large – The node type with a configuration of 12 GiB memory and 2 vCPUs.
kx.s.xlarge – The node type with a configuration of 27 GiB memory and 4 vCPUs.
kx.s.2xlarge – The node type with a configuration of 54 GiB memory and 8 vCPUs.
kx.s.4xlarge – The node type with a configuration of 108 GiB memory and 16 vCPUs.
kx.s.8xlarge – The node type with a configuration of 216 GiB memory and 32 vCPUs.
kx.s.16xlarge – The node type with a configuration of 432 GiB memory and 64 vCPUs.
kx.s.32xlarge – The node type with a configuration of 864 GiB memory and 128 vCPUs.
public final Integer nodeCount()
The number of instances running in a cluster.
public CapacityConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CapacityConfiguration.Builder,CapacityConfiguration>public static CapacityConfiguration.Builder builder()
public static Class<? extends CapacityConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.