Class CfnVirtualClusterProps.Builder
java.lang.Object
software.amazon.awscdk.services.emrcontainers.CfnVirtualClusterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualClusterProps>
- Enclosing interface:
CfnVirtualClusterProps
@Stability(Stable)
public static final class CfnVirtualClusterProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualClusterProps>
A builder for
CfnVirtualClusterProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containerProvider(IResolvable containerProvider) Sets the value ofCfnVirtualClusterProps.getContainerProvider()containerProvider(CfnVirtualCluster.ContainerProviderProperty containerProvider) Sets the value ofCfnVirtualClusterProps.getContainerProvider()Sets the value ofCfnVirtualClusterProps.getName()securityConfigurationId(String securityConfigurationId) Sets the value ofCfnVirtualClusterProps.getSecurityConfigurationId()Sets the value ofCfnVirtualClusterProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerProvider
@Stability(Stable) public CfnVirtualClusterProps.Builder containerProvider(IResolvable containerProvider) Sets the value ofCfnVirtualClusterProps.getContainerProvider()- Parameters:
containerProvider- The container provider of the virtual cluster. This parameter is required.- Returns:
this
-
containerProvider
@Stability(Stable) public CfnVirtualClusterProps.Builder containerProvider(CfnVirtualCluster.ContainerProviderProperty containerProvider) Sets the value ofCfnVirtualClusterProps.getContainerProvider()- Parameters:
containerProvider- The container provider of the virtual cluster. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnVirtualClusterProps.getName()- Parameters:
name- The name of the virtual cluster. This parameter is required.- Returns:
this
-
securityConfigurationId
@Stability(Stable) public CfnVirtualClusterProps.Builder securityConfigurationId(String securityConfigurationId) Sets the value ofCfnVirtualClusterProps.getSecurityConfigurationId()- Parameters:
securityConfigurationId- The ID of the security configuration.- Returns:
this
-
tags
Sets the value ofCfnVirtualClusterProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVirtualClusterProps>- Returns:
- a new instance of
CfnVirtualClusterProps - Throws:
NullPointerException- if any required attribute was not provided
-