Class CfnUserHierarchyStructure

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.connect.CfnUserHierarchyStructure
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.106.0 (build e852934)", date="2025-02-06T22:15:52.085Z") @Stability(Stable) public class CfnUserHierarchyStructure extends CfnResource implements IInspectable
Contains information about a hierarchy structure.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.connect.*;
 CfnUserHierarchyStructure cfnUserHierarchyStructure = CfnUserHierarchyStructure.Builder.create(this, "MyCfnUserHierarchyStructure")
         .instanceArn("instanceArn")
         // the properties below are optional
         .userHierarchyStructure(UserHierarchyStructureProperty.builder()
                 .levelFive(LevelFiveProperty.builder()
                         .name("name")
                         // the properties below are optional
                         .hierarchyLevelArn("hierarchyLevelArn")
                         .hierarchyLevelId("hierarchyLevelId")
                         .build())
                 .levelFour(LevelFourProperty.builder()
                         .name("name")
                         // the properties below are optional
                         .hierarchyLevelArn("hierarchyLevelArn")
                         .hierarchyLevelId("hierarchyLevelId")
                         .build())
                 .levelOne(LevelOneProperty.builder()
                         .name("name")
                         // the properties below are optional
                         .hierarchyLevelArn("hierarchyLevelArn")
                         .hierarchyLevelId("hierarchyLevelId")
                         .build())
                 .levelThree(LevelThreeProperty.builder()
                         .name("name")
                         // the properties below are optional
                         .hierarchyLevelArn("hierarchyLevelArn")
                         .hierarchyLevelId("hierarchyLevelId")
                         .build())
                 .levelTwo(LevelTwoProperty.builder()
                         .name("name")
                         // the properties below are optional
                         .hierarchyLevelArn("hierarchyLevelArn")
                         .hierarchyLevelId("hierarchyLevelId")
                         .build())
                 .build())
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnUserHierarchyStructure

      protected CfnUserHierarchyStructure(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnUserHierarchyStructure

      protected CfnUserHierarchyStructure(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnUserHierarchyStructure

      @Stability(Stable) public CfnUserHierarchyStructure(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnUserHierarchyStructureProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrUserHierarchyStructureArn

      @Stability(Stable) @NotNull public String getAttrUserHierarchyStructureArn()
      The identifier for the user hierarchy structure.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getInstanceArn

      @Stability(Stable) @NotNull public String getInstanceArn()
      The Amazon Resource Name (ARN) of the instance.
    • setInstanceArn

      @Stability(Stable) public void setInstanceArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the instance.
    • getUserHierarchyStructure

      @Stability(Stable) @Nullable public Object getUserHierarchyStructure()
      Contains information about a hierarchy structure.
    • setUserHierarchyStructure

      @Stability(Stable) public void setUserHierarchyStructure(@Nullable IResolvable value)
      Contains information about a hierarchy structure.
    • setUserHierarchyStructure

      @Stability(Stable) public void setUserHierarchyStructure(@Nullable CfnUserHierarchyStructure.UserHierarchyStructureProperty value)
      Contains information about a hierarchy structure.