Class CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserHierarchyStructure.UserHierarchyStructureProperty>
- Enclosing interface:
CfnUserHierarchyStructure.UserHierarchyStructureProperty
@Stability(Stable)
public static final class CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserHierarchyStructure.UserHierarchyStructureProperty>
A builder for
CfnUserHierarchyStructure.UserHierarchyStructureProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.levelFive
(IResolvable levelFive) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelFive()
Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelFive()
levelFour
(IResolvable levelFour) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelFour()
Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelFour()
levelOne
(IResolvable levelOne) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelOne()
Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelOne()
levelThree
(IResolvable levelThree) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelThree()
Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelThree()
levelTwo
(IResolvable levelTwo) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelTwo()
Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelTwo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
levelFive
@Stability(Stable) public CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder levelFive(IResolvable levelFive) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelFive()
- Parameters:
levelFive
- Information about level five.- Returns:
this
-
levelFive
@Stability(Stable) public CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder levelFive(CfnUserHierarchyStructure.LevelFiveProperty levelFive) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelFive()
- Parameters:
levelFive
- Information about level five.- Returns:
this
-
levelFour
@Stability(Stable) public CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder levelFour(IResolvable levelFour) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelFour()
- Parameters:
levelFour
- The update for level four.- Returns:
this
-
levelFour
@Stability(Stable) public CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder levelFour(CfnUserHierarchyStructure.LevelFourProperty levelFour) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelFour()
- Parameters:
levelFour
- The update for level four.- Returns:
this
-
levelOne
@Stability(Stable) public CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder levelOne(IResolvable levelOne) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelOne()
- Parameters:
levelOne
- The update for level one.- Returns:
this
-
levelOne
@Stability(Stable) public CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder levelOne(CfnUserHierarchyStructure.LevelOneProperty levelOne) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelOne()
- Parameters:
levelOne
- The update for level one.- Returns:
this
-
levelThree
@Stability(Stable) public CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder levelThree(IResolvable levelThree) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelThree()
- Parameters:
levelThree
- The update for level three.- Returns:
this
-
levelThree
@Stability(Stable) public CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder levelThree(CfnUserHierarchyStructure.LevelThreeProperty levelThree) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelThree()
- Parameters:
levelThree
- The update for level three.- Returns:
this
-
levelTwo
@Stability(Stable) public CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder levelTwo(IResolvable levelTwo) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelTwo()
- Parameters:
levelTwo
- The update for level two.- Returns:
this
-
levelTwo
@Stability(Stable) public CfnUserHierarchyStructure.UserHierarchyStructureProperty.Builder levelTwo(CfnUserHierarchyStructure.LevelTwoProperty levelTwo) Sets the value ofCfnUserHierarchyStructure.UserHierarchyStructureProperty.getLevelTwo()
- Parameters:
levelTwo
- The update for level two.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserHierarchyStructure.UserHierarchyStructureProperty>
- Returns:
- a new instance of
CfnUserHierarchyStructure.UserHierarchyStructureProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-