Class CfnUserHierarchyGroup.Builder

java.lang.Object
software.amazon.awscdk.services.connect.CfnUserHierarchyGroup.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserHierarchyGroup>
Enclosing class:
CfnUserHierarchyGroup

@Stability(Stable) public static final class CfnUserHierarchyGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnUserHierarchyGroup>
A fluent builder for CfnUserHierarchyGroup.
  • Method Details

    • create

      @Stability(Stable) public static CfnUserHierarchyGroup.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 CfnUserHierarchyGroup.Builder.
    • instanceArn

      @Stability(Stable) public CfnUserHierarchyGroup.Builder instanceArn(String instanceArn)
      The Amazon Resource Name (ARN) of the user hierarchy group.

      Parameters:
      instanceArn - The Amazon Resource Name (ARN) of the user hierarchy group. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnUserHierarchyGroup.Builder name(String name)
      The name of the user hierarchy group.

      Parameters:
      name - The name of the user hierarchy group. This parameter is required.
      Returns:
      this
    • parentGroupArn

      @Stability(Stable) public CfnUserHierarchyGroup.Builder parentGroupArn(String parentGroupArn)
      The Amazon Resource Name (ARN) of the parent group.

      Parameters:
      parentGroupArn - The Amazon Resource Name (ARN) of the parent group. This parameter is required.
      Returns:
      this
    • build

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