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