Class CfnCluster.ControlPlanePlacementProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCluster.ControlPlanePlacementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ControlPlanePlacementProperty>
- Enclosing interface:
CfnCluster.ControlPlanePlacementProperty
@Stability(Stable)
public static final class CfnCluster.ControlPlanePlacementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ControlPlanePlacementProperty>
A builder for
CfnCluster.ControlPlanePlacementProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCluster.ControlPlanePlacementProperty.getGroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupName
@Stability(Stable) public CfnCluster.ControlPlanePlacementProperty.Builder groupName(String groupName) Sets the value ofCfnCluster.ControlPlanePlacementProperty.getGroupName()
- Parameters:
groupName
- The name of the placement group for the Kubernetes control plane instances. This property is only used for a local cluster on an AWS Outpost.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.ControlPlanePlacementProperty>
- Returns:
- a new instance of
CfnCluster.ControlPlanePlacementProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-