@Generated(value="software.amazon.awssdk:codegen") public final class NodegroupScalingConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodegroupScalingConfig.Builder,NodegroupScalingConfig>
An object representing the scaling configuration details for the Auto Scaling group that is associated with your node group. If you specify a value for any property, then you must specify values for all of the properties.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NodegroupScalingConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NodegroupScalingConfig.Builder |
builder() |
Integer |
desiredSize()
The current number of worker nodes that the managed node group should maintain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxSize()
The maximum number of worker nodes that the managed node group can scale out to.
|
Integer |
minSize()
The minimum number of worker nodes that the managed node group can scale in to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NodegroupScalingConfig.Builder> |
serializableBuilderClass() |
NodegroupScalingConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Integer minSize()
The minimum number of worker nodes that the managed node group can scale in to. This number must be greater than zero.
public Integer maxSize()
The maximum number of worker nodes that the managed node group can scale out to. Managed node groups can support up to 100 nodes by default.
public Integer desiredSize()
The current number of worker nodes that the managed node group should maintain.
public NodegroupScalingConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NodegroupScalingConfig.Builder,NodegroupScalingConfig>public static NodegroupScalingConfig.Builder builder()
public static Class<? extends NodegroupScalingConfig.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.