@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
Constructor and Description |
---|
CapacityConfiguration() |
Modifier and Type | Method and Description |
---|---|
CapacityConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getNodeCount()
The number of instances running in a cluster.
|
String |
getNodeType()
The type that determines the hardware of the host computer used for your cluster instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNodeCount(Integer nodeCount)
The number of instances running in a cluster.
|
void |
setNodeType(String nodeType)
The type that determines the hardware of the host computer used for your cluster instance.
|
String |
toString()
Returns a string representation of this object.
|
CapacityConfiguration |
withNodeCount(Integer nodeCount)
The number of instances running in a cluster.
|
CapacityConfiguration |
withNodeType(String nodeType)
The type that determines the hardware of the host computer used for your cluster instance.
|
public void setNodeType(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.
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.
public String getNodeType()
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 CapacityConfiguration withNodeType(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.
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.
public void setNodeCount(Integer nodeCount)
The number of instances running in a cluster.
nodeCount
- The number of instances running in a cluster.public Integer getNodeCount()
The number of instances running in a cluster.
public CapacityConfiguration withNodeCount(Integer nodeCount)
The number of instances running in a cluster.
nodeCount
- The number of instances running in a cluster.public String toString()
toString
in class Object
Object.toString()
public CapacityConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.