Class CfnVirtualCluster.Builder
java.lang.Object
software.amazon.awscdk.services.emrcontainers.CfnVirtualCluster.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualCluster>
- Enclosing class:
- CfnVirtualCluster
@Stability(Stable)
public static final class CfnVirtualCluster.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualCluster>
A fluent builder for
CfnVirtualCluster
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
containerProvider
(IResolvable containerProvider) The container provider of the virtual cluster.containerProvider
(CfnVirtualCluster.ContainerProviderProperty containerProvider) The container provider of the virtual cluster.static CfnVirtualCluster.Builder
The name of the virtual cluster.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnVirtualCluster.Builder
.
-
containerProvider
@Stability(Stable) public CfnVirtualCluster.Builder containerProvider(CfnVirtualCluster.ContainerProviderProperty containerProvider) The container provider of the virtual cluster.- Parameters:
containerProvider
- The container provider of the virtual cluster. This parameter is required.- Returns:
this
-
containerProvider
@Stability(Stable) public CfnVirtualCluster.Builder containerProvider(IResolvable containerProvider) The container provider of the virtual cluster.- Parameters:
containerProvider
- The container provider of the virtual cluster. This parameter is required.- Returns:
this
-
name
The name of the virtual cluster.- Parameters:
name
- The name of the virtual cluster. This parameter is required.- Returns:
this
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualCluster>
- Returns:
- a newly built instance of
CfnVirtualCluster
.
-