Class CfnClusterPropsMixin.ClusterKubernetesConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnClusterPropsMixin.ClusterKubernetesConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterKubernetesConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.ClusterKubernetesConfigProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.ClusterKubernetesConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterKubernetesConfigProperty>
A builder for
CfnClusterPropsMixin.ClusterKubernetesConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.ClusterKubernetesConfigProperty.getLabels()labels(IResolvable labels) Sets the value ofCfnClusterPropsMixin.ClusterKubernetesConfigProperty.getLabels()Sets the value ofCfnClusterPropsMixin.ClusterKubernetesConfigProperty.getTaints()taints(IResolvable taints) Sets the value ofCfnClusterPropsMixin.ClusterKubernetesConfigProperty.getTaints()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
labels
@Stability(Stable) public CfnClusterPropsMixin.ClusterKubernetesConfigProperty.Builder labels(Map<String, String> labels) Sets the value ofCfnClusterPropsMixin.ClusterKubernetesConfigProperty.getLabels()- Parameters:
labels- Key-value pairs of labels to be applied to cluster nodes.- Returns:
this
-
labels
@Stability(Stable) public CfnClusterPropsMixin.ClusterKubernetesConfigProperty.Builder labels(IResolvable labels) Sets the value ofCfnClusterPropsMixin.ClusterKubernetesConfigProperty.getLabels()- Parameters:
labels- Key-value pairs of labels to be applied to cluster nodes.- Returns:
this
-
taints
@Stability(Stable) public CfnClusterPropsMixin.ClusterKubernetesConfigProperty.Builder taints(IResolvable taints) Sets the value ofCfnClusterPropsMixin.ClusterKubernetesConfigProperty.getTaints()- Parameters:
taints- List of taints to be applied to cluster nodes.- Returns:
this
-
taints
@Stability(Stable) public CfnClusterPropsMixin.ClusterKubernetesConfigProperty.Builder taints(List<? extends Object> taints) Sets the value ofCfnClusterPropsMixin.ClusterKubernetesConfigProperty.getTaints()- Parameters:
taints- List of taints to be applied to cluster nodes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterKubernetesConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.ClusterKubernetesConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-