Class NodegroupUpdateConfig
- java.lang.Object
-
- software.amazon.awssdk.services.eks.model.NodegroupUpdateConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NodegroupUpdateConfig.Builder,NodegroupUpdateConfig>
@Generated("software.amazon.awssdk:codegen") public final class NodegroupUpdateConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodegroupUpdateConfig.Builder,NodegroupUpdateConfig>
The node group update configuration. An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI versions in parallel. You choose the maximum unavailable and the update strategy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNodegroupUpdateConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodegroupUpdateConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxUnavailable()The maximum number of nodes unavailable at once during a version update.IntegermaxUnavailablePercentage()The maximum percentage of nodes unavailable during a version update.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NodegroupUpdateConfig.Builder>serializableBuilderClass()NodegroupUpdateConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.NodegroupUpdateStrategiesupdateStrategy()The configuration for the behavior to follow during a node group version update of this managed node group.StringupdateStrategyAsString()The configuration for the behavior to follow during a node group version update of this managed node group.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
maxUnavailable
public final Integer maxUnavailable()
The maximum number of nodes unavailable at once during a version update. Nodes are updated in parallel. This value or
maxUnavailablePercentageis required to have a value.The maximum number is 100.- Returns:
- The maximum number of nodes unavailable at once during a version update. Nodes are updated in parallel.
This value or
maxUnavailablePercentageis required to have a value.The maximum number is 100.
-
maxUnavailablePercentage
public final 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
maxUnavailableis required to have a value.- Returns:
- 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
maxUnavailableis required to have a value.
-
updateStrategy
public final NodegroupUpdateStrategies updateStrategy()
The configuration for the behavior to follow during a node group version update of this managed node group. You choose between two possible strategies for replacing nodes during an
UpdateNodegroupVersionaction.An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI versions in parallel. The update strategy changes the managed node update behavior of the managed node group for each quantity. The default strategy has guardrails to protect you from misconfiguration and launches the new instances first, before terminating the old instances. The minimal strategy removes the guardrails and terminates the old instances before launching the new instances. This minimal strategy is useful in scenarios where you are constrained to resources or costs (for example, with hardware accelerators such as GPUs).
If the service returns an enum value that is not available in the current SDK version,
updateStrategywill returnNodegroupUpdateStrategies.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateStrategyAsString().- Returns:
- The configuration for the behavior to follow during a node group version update of this managed node
group. You choose between two possible strategies for replacing nodes during an
UpdateNodegroupVersionaction.An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI versions in parallel. The update strategy changes the managed node update behavior of the managed node group for each quantity. The default strategy has guardrails to protect you from misconfiguration and launches the new instances first, before terminating the old instances. The minimal strategy removes the guardrails and terminates the old instances before launching the new instances. This minimal strategy is useful in scenarios where you are constrained to resources or costs (for example, with hardware accelerators such as GPUs).
- See Also:
NodegroupUpdateStrategies
-
updateStrategyAsString
public final String updateStrategyAsString()
The configuration for the behavior to follow during a node group version update of this managed node group. You choose between two possible strategies for replacing nodes during an
UpdateNodegroupVersionaction.An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI versions in parallel. The update strategy changes the managed node update behavior of the managed node group for each quantity. The default strategy has guardrails to protect you from misconfiguration and launches the new instances first, before terminating the old instances. The minimal strategy removes the guardrails and terminates the old instances before launching the new instances. This minimal strategy is useful in scenarios where you are constrained to resources or costs (for example, with hardware accelerators such as GPUs).
If the service returns an enum value that is not available in the current SDK version,
updateStrategywill returnNodegroupUpdateStrategies.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateStrategyAsString().- Returns:
- The configuration for the behavior to follow during a node group version update of this managed node
group. You choose between two possible strategies for replacing nodes during an
UpdateNodegroupVersionaction.An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI versions in parallel. The update strategy changes the managed node update behavior of the managed node group for each quantity. The default strategy has guardrails to protect you from misconfiguration and launches the new instances first, before terminating the old instances. The minimal strategy removes the guardrails and terminates the old instances before launching the new instances. This minimal strategy is useful in scenarios where you are constrained to resources or costs (for example, with hardware accelerators such as GPUs).
- See Also:
NodegroupUpdateStrategies
-
toBuilder
public NodegroupUpdateConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NodegroupUpdateConfig.Builder,NodegroupUpdateConfig>
-
builder
public static NodegroupUpdateConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends NodegroupUpdateConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-