Class CfnNodegroup.NodeRepairConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnNodegroup.NodeRepairConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNodegroup.NodeRepairConfigProperty>
- Enclosing interface:
CfnNodegroup.NodeRepairConfigProperty
@Stability(Stable)
public static final class CfnNodegroup.NodeRepairConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNodegroup.NodeRepairConfigProperty>
A builder for
CfnNodegroup.NodeRepairConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnNodegroup.NodeRepairConfigProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnNodegroup.NodeRepairConfigProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnNodegroup.NodeRepairConfigProperty.getEnabled()
- Parameters:
enabled
- Set this value to true to enable node auto repair for the node group.- Returns:
this
-
enabled
@Stability(Stable) public CfnNodegroup.NodeRepairConfigProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnNodegroup.NodeRepairConfigProperty.getEnabled()
- Parameters:
enabled
- Set this value to true to enable node auto repair for the node group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNodegroup.NodeRepairConfigProperty>
- Returns:
- a new instance of
CfnNodegroup.NodeRepairConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-