@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodegroupUpdateConfig extends Object implements Serializable, Cloneable, StructuredPojo
The node group update configuration.
Constructor and Description |
---|
NodegroupUpdateConfig() |
Modifier and Type | Method and Description |
---|---|
NodegroupUpdateConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxUnavailable()
The maximum number of nodes unavailable at once during a version update.
|
Integer |
getMaxUnavailablePercentage()
The maximum percentage of nodes unavailable during a version update.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxUnavailable(Integer maxUnavailable)
The maximum number of nodes unavailable at once during a version update.
|
void |
setMaxUnavailablePercentage(Integer maxUnavailablePercentage)
The maximum percentage of nodes unavailable during a version update.
|
String |
toString()
Returns a string representation of this object.
|
NodegroupUpdateConfig |
withMaxUnavailable(Integer maxUnavailable)
The maximum number of nodes unavailable at once during a version update.
|
NodegroupUpdateConfig |
withMaxUnavailablePercentage(Integer maxUnavailablePercentage)
The maximum percentage of nodes unavailable during a version update.
|
public void setMaxUnavailable(Integer maxUnavailable)
The maximum number of nodes unavailable at once during a version update. Nodes are updated in parallel. This
value or maxUnavailablePercentage
is required to have a value.The maximum number is 100.
maxUnavailable
- The maximum number of nodes unavailable at once during a version update. Nodes are updated in parallel.
This value or maxUnavailablePercentage
is required to have a value.The maximum number is 100.public Integer getMaxUnavailable()
The maximum number of nodes unavailable at once during a version update. Nodes are updated in parallel. This
value or maxUnavailablePercentage
is required to have a value.The maximum number is 100.
maxUnavailablePercentage
is required to have a value.The maximum number is
100.public NodegroupUpdateConfig withMaxUnavailable(Integer maxUnavailable)
The maximum number of nodes unavailable at once during a version update. Nodes are updated in parallel. This
value or maxUnavailablePercentage
is required to have a value.The maximum number is 100.
maxUnavailable
- The maximum number of nodes unavailable at once during a version update. Nodes are updated in parallel.
This value or maxUnavailablePercentage
is required to have a value.The maximum number is 100.public void setMaxUnavailablePercentage(Integer maxUnavailablePercentage)
The maximum percentage of nodes unavailable during a version update. This percentage of nodes are updated in
parallel, up to 100 nodes at once. This value or maxUnavailable
is required to have a value.
maxUnavailablePercentage
- The maximum percentage of nodes unavailable during a version update. This percentage of nodes are updated
in parallel, up to 100 nodes at once. This value or maxUnavailable
is required to have a
value.public Integer getMaxUnavailablePercentage()
The maximum percentage of nodes unavailable during a version update. This percentage of nodes are updated in
parallel, up to 100 nodes at once. This value or maxUnavailable
is required to have a value.
maxUnavailable
is required to have a
value.public NodegroupUpdateConfig withMaxUnavailablePercentage(Integer maxUnavailablePercentage)
The maximum percentage of nodes unavailable during a version update. This percentage of nodes are updated in
parallel, up to 100 nodes at once. This value or maxUnavailable
is required to have a value.
maxUnavailablePercentage
- The maximum percentage of nodes unavailable during a version update. This percentage of nodes are updated
in parallel, up to 100 nodes at once. This value or maxUnavailable
is required to have a
value.public String toString()
toString
in class Object
Object.toString()
public NodegroupUpdateConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.