@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodegroupScalingConfig extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the scaling configuration details for the Auto Scaling group that is associated with your node group.
Constructor and Description |
---|
NodegroupScalingConfig() |
Modifier and Type | Method and Description |
---|---|
NodegroupScalingConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getDesiredSize()
The current number of worker nodes that the managed node group should maintain.
|
Integer |
getMaxSize()
The maximum number of worker nodes that the managed node group can scale out to.
|
Integer |
getMinSize()
The minimum number of worker nodes that the managed node group can scale in to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDesiredSize(Integer desiredSize)
The current number of worker nodes that the managed node group should maintain.
|
void |
setMaxSize(Integer maxSize)
The maximum number of worker nodes that the managed node group can scale out to.
|
void |
setMinSize(Integer minSize)
The minimum number of worker nodes that the managed node group can scale in to.
|
String |
toString()
Returns a string representation of this object.
|
NodegroupScalingConfig |
withDesiredSize(Integer desiredSize)
The current number of worker nodes that the managed node group should maintain.
|
NodegroupScalingConfig |
withMaxSize(Integer maxSize)
The maximum number of worker nodes that the managed node group can scale out to.
|
NodegroupScalingConfig |
withMinSize(Integer minSize)
The minimum number of worker nodes that the managed node group can scale in to.
|
public void setMinSize(Integer minSize)
The minimum number of worker nodes that the managed node group can scale in to. This number must be greater than zero.
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 getMinSize()
The minimum number of worker nodes that the managed node group can scale in to. This number must be greater than zero.
public NodegroupScalingConfig withMinSize(Integer minSize)
The minimum number of worker nodes that the managed node group can scale in to. This number must be greater than zero.
minSize
- The minimum number of worker nodes that the managed node group can scale in to. This number must be
greater than zero.public void setMaxSize(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.
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 getMaxSize()
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 NodegroupScalingConfig withMaxSize(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.
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 void setDesiredSize(Integer desiredSize)
The current number of worker nodes that the managed node group should maintain.
desiredSize
- The current number of worker nodes that the managed node group should maintain.public Integer getDesiredSize()
The current number of worker nodes that the managed node group should maintain.
public NodegroupScalingConfig withDesiredSize(Integer desiredSize)
The current number of worker nodes that the managed node group should maintain.
desiredSize
- The current number of worker nodes that the managed node group should maintain.public String toString()
toString
in class Object
Object.toString()
public NodegroupScalingConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.