@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KxScalingGroupConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The structure that stores the capacity configuration details of a scaling group.
Constructor and Description |
---|
KxScalingGroupConfiguration() |
Modifier and Type | Method and Description |
---|---|
KxScalingGroupConfiguration |
clone() |
boolean |
equals(Object obj) |
Double |
getCpu()
The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.
|
Integer |
getMemoryLimit()
An optional hard limit on the amount of memory a kdb cluster can use.
|
Integer |
getMemoryReservation()
A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to
be successfully placed in a scaling group.
|
Integer |
getNodeCount()
The number of kdb cluster nodes.
|
String |
getScalingGroupName()
A unique identifier for the kdb scaling group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCpu(Double cpu)
The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.
|
void |
setMemoryLimit(Integer memoryLimit)
An optional hard limit on the amount of memory a kdb cluster can use.
|
void |
setMemoryReservation(Integer memoryReservation)
A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to
be successfully placed in a scaling group.
|
void |
setNodeCount(Integer nodeCount)
The number of kdb cluster nodes.
|
void |
setScalingGroupName(String scalingGroupName)
A unique identifier for the kdb scaling group.
|
String |
toString()
Returns a string representation of this object.
|
KxScalingGroupConfiguration |
withCpu(Double cpu)
The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.
|
KxScalingGroupConfiguration |
withMemoryLimit(Integer memoryLimit)
An optional hard limit on the amount of memory a kdb cluster can use.
|
KxScalingGroupConfiguration |
withMemoryReservation(Integer memoryReservation)
A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to
be successfully placed in a scaling group.
|
KxScalingGroupConfiguration |
withNodeCount(Integer nodeCount)
The number of kdb cluster nodes.
|
KxScalingGroupConfiguration |
withScalingGroupName(String scalingGroupName)
A unique identifier for the kdb scaling group.
|
public void setScalingGroupName(String scalingGroupName)
A unique identifier for the kdb scaling group.
scalingGroupName
- A unique identifier for the kdb scaling group.public String getScalingGroupName()
A unique identifier for the kdb scaling group.
public KxScalingGroupConfiguration withScalingGroupName(String scalingGroupName)
A unique identifier for the kdb scaling group.
scalingGroupName
- A unique identifier for the kdb scaling group.public void setMemoryLimit(Integer memoryLimit)
An optional hard limit on the amount of memory a kdb cluster can use.
memoryLimit
- An optional hard limit on the amount of memory a kdb cluster can use.public Integer getMemoryLimit()
An optional hard limit on the amount of memory a kdb cluster can use.
public KxScalingGroupConfiguration withMemoryLimit(Integer memoryLimit)
An optional hard limit on the amount of memory a kdb cluster can use.
memoryLimit
- An optional hard limit on the amount of memory a kdb cluster can use.public void setMemoryReservation(Integer memoryReservation)
A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to be successfully placed in a scaling group.
memoryReservation
- A reservation of the minimum amount of memory that should be available on the scaling group for a kdb
cluster to be successfully placed in a scaling group.public Integer getMemoryReservation()
A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to be successfully placed in a scaling group.
public KxScalingGroupConfiguration withMemoryReservation(Integer memoryReservation)
A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to be successfully placed in a scaling group.
memoryReservation
- A reservation of the minimum amount of memory that should be available on the scaling group for a kdb
cluster to be successfully placed in a scaling group.public void setNodeCount(Integer nodeCount)
The number of kdb cluster nodes.
nodeCount
- The number of kdb cluster nodes.public Integer getNodeCount()
The number of kdb cluster nodes.
public KxScalingGroupConfiguration withNodeCount(Integer nodeCount)
The number of kdb cluster nodes.
nodeCount
- The number of kdb cluster nodes.public void setCpu(Double cpu)
The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.
cpu
- The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.public Double getCpu()
The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.
public KxScalingGroupConfiguration withCpu(Double cpu)
The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.
cpu
- The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.public String toString()
toString
in class Object
Object.toString()
public KxScalingGroupConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.