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