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