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