Class CfnUserHierarchyGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnUserHierarchyGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserHierarchyGroupProps>
- Enclosing interface:
CfnUserHierarchyGroupProps
@Stability(Stable)
public static final class CfnUserHierarchyGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserHierarchyGroupProps>
A builder for
CfnUserHierarchyGroupProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.instanceArn
(String instanceArn) Sets the value ofCfnUserHierarchyGroupProps.getInstanceArn()
Sets the value ofCfnUserHierarchyGroupProps.getName()
parentGroupArn
(String parentGroupArn) Sets the value ofCfnUserHierarchyGroupProps.getParentGroupArn()
Sets the value ofCfnUserHierarchyGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnUserHierarchyGroupProps.getInstanceArn()
- Parameters:
instanceArn
- The Amazon Resource Name (ARN) of the user hierarchy group. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnUserHierarchyGroupProps.getName()
- Parameters:
name
- The name of the user hierarchy group. This parameter is required.- Returns:
this
-
parentGroupArn
Sets the value ofCfnUserHierarchyGroupProps.getParentGroupArn()
- Parameters:
parentGroupArn
- The Amazon Resource Name (ARN) of the parent group.- Returns:
this
-
tags
Sets the value ofCfnUserHierarchyGroupProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserHierarchyGroupProps>
- Returns:
- a new instance of
CfnUserHierarchyGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-