Class CfnNodegroup.TaintProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnNodegroup.TaintProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNodegroup.TaintProperty>
- Enclosing interface:
- CfnNodegroup.TaintProperty
@Stability(Stable)
public static final class CfnNodegroup.TaintProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNodegroup.TaintProperty>
A builder for
CfnNodegroup.TaintProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnNodegroup.TaintProperty.getEffect()
Sets the value ofCfnNodegroup.TaintProperty.getKey()
Sets the value ofCfnNodegroup.TaintProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
effect
Sets the value ofCfnNodegroup.TaintProperty.getEffect()
- Parameters:
effect
- The effect of the taint.- Returns:
this
-
key
Sets the value ofCfnNodegroup.TaintProperty.getKey()
- Parameters:
key
- The key of the taint.- Returns:
this
-
value
Sets the value ofCfnNodegroup.TaintProperty.getValue()
- Parameters:
value
- The value of the taint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNodegroup.TaintProperty>
- Returns:
- a new instance of
CfnNodegroup.TaintProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-