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 Details

    • create

      @Stability(Stable) public static CfnVirtualCluster.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      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

      @Stability(Stable) public CfnVirtualCluster.Builder name(String name)
      The name of the virtual cluster.

      Parameters:
      name - The name of the virtual cluster. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnVirtualCluster.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnVirtualCluster build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnVirtualCluster>
      Returns:
      a newly built instance of CfnVirtualCluster.