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()
-
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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserHierarchyGroupProps>- Returns:
- a new instance of
CfnUserHierarchyGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-