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