Class CfnUserHierarchyStructure.LevelTwoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnUserHierarchyStructure.LevelTwoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserHierarchyStructure.LevelTwoProperty>
- Enclosing interface:
CfnUserHierarchyStructure.LevelTwoProperty
@Stability(Stable)
public static final class CfnUserHierarchyStructure.LevelTwoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserHierarchyStructure.LevelTwoProperty>
A builder for
CfnUserHierarchyStructure.LevelTwoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hierarchyLevelArn(String hierarchyLevelArn) Sets the value ofCfnUserHierarchyStructure.LevelTwoProperty.getHierarchyLevelArn()hierarchyLevelId(String hierarchyLevelId) Sets the value ofCfnUserHierarchyStructure.LevelTwoProperty.getHierarchyLevelId()Sets the value ofCfnUserHierarchyStructure.LevelTwoProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnUserHierarchyStructure.LevelTwoProperty.getName()- Parameters:
name- The name of the hierarchy level. This parameter is required.- Returns:
this
-
hierarchyLevelArn
@Stability(Stable) public CfnUserHierarchyStructure.LevelTwoProperty.Builder hierarchyLevelArn(String hierarchyLevelArn) Sets the value ofCfnUserHierarchyStructure.LevelTwoProperty.getHierarchyLevelArn()- Parameters:
hierarchyLevelArn- The Amazon Resource Name (ARN) of the hierarchy level.- Returns:
this
-
hierarchyLevelId
@Stability(Stable) public CfnUserHierarchyStructure.LevelTwoProperty.Builder hierarchyLevelId(String hierarchyLevelId) Sets the value ofCfnUserHierarchyStructure.LevelTwoProperty.getHierarchyLevelId()- Parameters:
hierarchyLevelId- The identifier of the hierarchy level.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserHierarchyStructure.LevelTwoProperty>- Returns:
- a new instance of
CfnUserHierarchyStructure.LevelTwoProperty - Throws:
NullPointerException- if any required attribute was not provided
-