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 Summary
Modifier and TypeMethodDescriptionbuild()
instanceArn
(String instanceArn) The Amazon Resource Name (ARN) of the user hierarchy group.The name of the user hierarchy group.parentGroupArn
(String parentGroupArn) The Amazon Resource Name (ARN) of the parent group.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnUserHierarchyGroup.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
CfnUserHierarchyGroup.Builder
.
-
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
- See Also:
-
name
The name of the user hierarchy group.- Parameters:
name
- The name of the user hierarchy group. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
tags
An array of key-value pairs to apply to this resource.- 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<CfnUserHierarchyGroup>
- Returns:
- a newly built instance of
CfnUserHierarchyGroup
.
-