Interface ClusterKubernetesConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterKubernetesConfig.Builder,,ClusterKubernetesConfig> SdkBuilder<ClusterKubernetesConfig.Builder,,ClusterKubernetesConfig> SdkPojo
- Enclosing class:
ClusterKubernetesConfig
@Mutable
@NotThreadSafe
public static interface ClusterKubernetesConfig.Builder
extends SdkPojo, CopyableBuilder<ClusterKubernetesConfig.Builder,ClusterKubernetesConfig>
-
Method Summary
Modifier and TypeMethodDescriptionKey-value pairs of labels to be applied to cluster nodes.taints(Collection<ClusterKubernetesTaint> taints) List of taints to be applied to cluster nodes.taints(Consumer<ClusterKubernetesTaint.Builder>... taints) List of taints to be applied to cluster nodes.taints(ClusterKubernetesTaint... taints) List of taints to be applied to cluster nodes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
labels
Key-value pairs of labels to be applied to cluster nodes.
- Parameters:
labels- Key-value pairs of labels to be applied to cluster nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taints
List of taints to be applied to cluster nodes.
- Parameters:
taints- List of taints to be applied to cluster nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taints
List of taints to be applied to cluster nodes.
- Parameters:
taints- List of taints to be applied to cluster nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taints
List of taints to be applied to cluster nodes.
This is a convenience method that creates an instance of theClusterKubernetesTaint.Builderavoiding the need to create one manually viaClusterKubernetesTaint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaints(List<ClusterKubernetesTaint>).- Parameters:
taints- a consumer that will call methods onClusterKubernetesTaint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-