All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.connect.UserHierarchyStructureArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.connect;

import com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class UserHierarchyStructureArgs extends com.pulumi.resources.ResourceArgs {

    public static final UserHierarchyStructureArgs Empty = new UserHierarchyStructureArgs();

    /**
     * A block that defines the hierarchy structure's levels. The `hierarchy_structure` block is documented below.
     * 
     */
    @Import(name="hierarchyStructure", required=true)
    private Output hierarchyStructure;

    /**
     * @return A block that defines the hierarchy structure's levels. The `hierarchy_structure` block is documented below.
     * 
     */
    public Output hierarchyStructure() {
        return this.hierarchyStructure;
    }

    /**
     * Specifies the identifier of the hosting Amazon Connect Instance.
     * 
     */
    @Import(name="instanceId", required=true)
    private Output instanceId;

    /**
     * @return Specifies the identifier of the hosting Amazon Connect Instance.
     * 
     */
    public Output instanceId() {
        return this.instanceId;
    }

    private UserHierarchyStructureArgs() {}

    private UserHierarchyStructureArgs(UserHierarchyStructureArgs $) {
        this.hierarchyStructure = $.hierarchyStructure;
        this.instanceId = $.instanceId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(UserHierarchyStructureArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private UserHierarchyStructureArgs $;

        public Builder() {
            $ = new UserHierarchyStructureArgs();
        }

        public Builder(UserHierarchyStructureArgs defaults) {
            $ = new UserHierarchyStructureArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param hierarchyStructure A block that defines the hierarchy structure's levels. The `hierarchy_structure` block is documented below.
         * 
         * @return builder
         * 
         */
        public Builder hierarchyStructure(Output hierarchyStructure) {
            $.hierarchyStructure = hierarchyStructure;
            return this;
        }

        /**
         * @param hierarchyStructure A block that defines the hierarchy structure's levels. The `hierarchy_structure` block is documented below.
         * 
         * @return builder
         * 
         */
        public Builder hierarchyStructure(UserHierarchyStructureHierarchyStructureArgs hierarchyStructure) {
            return hierarchyStructure(Output.of(hierarchyStructure));
        }

        /**
         * @param instanceId Specifies the identifier of the hosting Amazon Connect Instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(Output instanceId) {
            $.instanceId = instanceId;
            return this;
        }

        /**
         * @param instanceId Specifies the identifier of the hosting Amazon Connect Instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(String instanceId) {
            return instanceId(Output.of(instanceId));
        }

        public UserHierarchyStructureArgs build() {
            if ($.hierarchyStructure == null) {
                throw new MissingRequiredPropertyException("UserHierarchyStructureArgs", "hierarchyStructure");
            }
            if ($.instanceId == null) {
                throw new MissingRequiredPropertyException("UserHierarchyStructureArgs", "instanceId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy