Class CfnVirtualCluster.ContainerProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrcontainers.CfnVirtualCluster.ContainerProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualCluster.ContainerProviderProperty>
- Enclosing interface:
CfnVirtualCluster.ContainerProviderProperty
@Stability(Stable)
public static final class CfnVirtualCluster.ContainerProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualCluster.ContainerProviderProperty>
A builder for
CfnVirtualCluster.ContainerProviderProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnVirtualCluster.ContainerProviderProperty.getId()
info
(IResolvable info) Sets the value ofCfnVirtualCluster.ContainerProviderProperty.getInfo()
Sets the value ofCfnVirtualCluster.ContainerProviderProperty.getInfo()
Sets the value ofCfnVirtualCluster.ContainerProviderProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnVirtualCluster.ContainerProviderProperty.getId()
- Parameters:
id
- The ID of the container cluster. This parameter is required. Minimum : 1Maximum : 100
Pattern :
^[0-9A-Za-z][A-Za-z0-9\-_]*
- Returns:
this
-
info
@Stability(Stable) public CfnVirtualCluster.ContainerProviderProperty.Builder info(IResolvable info) Sets the value ofCfnVirtualCluster.ContainerProviderProperty.getInfo()
- Parameters:
info
- The information about the container cluster. This parameter is required.- Returns:
this
-
info
@Stability(Stable) public CfnVirtualCluster.ContainerProviderProperty.Builder info(CfnVirtualCluster.ContainerInfoProperty info) Sets the value ofCfnVirtualCluster.ContainerProviderProperty.getInfo()
- Parameters:
info
- The information about the container cluster. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnVirtualCluster.ContainerProviderProperty.getType()
- Parameters:
type
- The type of the container provider. This parameter is required. Amazon EKS is the only supported type as of now.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualCluster.ContainerProviderProperty>
- Returns:
- a new instance of
CfnVirtualCluster.ContainerProviderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-