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
@Stability(Stable) public static CfnVirtualCluster.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnVirtualCluster.Builder
.
-
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
- See Also:
-
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
- See Also:
-
name
The name of the virtual cluster.- Parameters:
name
- The name of the virtual cluster. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualCluster>
- Returns:
- a newly built instance of
CfnVirtualCluster
.
-