Class CfnUserHierarchyStructureProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnUserHierarchyStructureProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserHierarchyStructureProps>
- Enclosing interface:
CfnUserHierarchyStructureProps
@Stability(Stable)
public static final class CfnUserHierarchyStructureProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserHierarchyStructureProps>
A builder for
CfnUserHierarchyStructureProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.instanceArn
(String instanceArn) Sets the value ofCfnUserHierarchyStructureProps.getInstanceArn()
userHierarchyStructure
(IResolvable userHierarchyStructure) Sets the value ofCfnUserHierarchyStructureProps.getUserHierarchyStructure()
userHierarchyStructure
(CfnUserHierarchyStructure.UserHierarchyStructureProperty userHierarchyStructure) Sets the value ofCfnUserHierarchyStructureProps.getUserHierarchyStructure()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnUserHierarchyStructureProps.getInstanceArn()
- Parameters:
instanceArn
- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
userHierarchyStructure
@Stability(Stable) public CfnUserHierarchyStructureProps.Builder userHierarchyStructure(IResolvable userHierarchyStructure) Sets the value ofCfnUserHierarchyStructureProps.getUserHierarchyStructure()
- Parameters:
userHierarchyStructure
- Contains information about a hierarchy structure.- Returns:
this
-
userHierarchyStructure
@Stability(Stable) public CfnUserHierarchyStructureProps.Builder userHierarchyStructure(CfnUserHierarchyStructure.UserHierarchyStructureProperty userHierarchyStructure) Sets the value ofCfnUserHierarchyStructureProps.getUserHierarchyStructure()
- Parameters:
userHierarchyStructure
- Contains information about a hierarchy structure.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserHierarchyStructureProps>
- Returns:
- a new instance of
CfnUserHierarchyStructureProps
- Throws:
NullPointerException
- if any required attribute was not provided
-