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

com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureLevelTwoArgs Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final UserHierarchyStructureHierarchyStructureLevelTwoArgs Empty = new UserHierarchyStructureHierarchyStructureLevelTwoArgs();

    /**
     * The Amazon Resource Name (ARN) of the hierarchy level.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The Amazon Resource Name (ARN) of the hierarchy level.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The identifier of the hierarchy level.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return The identifier of the hierarchy level.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The name of the user hierarchy level. Must not be more than 50 characters.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the user hierarchy level. Must not be more than 50 characters.
     * 
     */
    public Output name() {
        return this.name;
    }

    private UserHierarchyStructureHierarchyStructureLevelTwoArgs() {}

    private UserHierarchyStructureHierarchyStructureLevelTwoArgs(UserHierarchyStructureHierarchyStructureLevelTwoArgs $) {
        this.arn = $.arn;
        this.id = $.id;
        this.name = $.name;
    }

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

    public static final class Builder {
        private UserHierarchyStructureHierarchyStructureLevelTwoArgs $;

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

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

        /**
         * @param arn The Amazon Resource Name (ARN) of the hierarchy level.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn The Amazon Resource Name (ARN) of the hierarchy level.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param id The identifier of the hierarchy level.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The identifier of the hierarchy level.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name The name of the user hierarchy level. Must not be more than 50 characters.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the user hierarchy level. Must not be more than 50 characters.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public UserHierarchyStructureHierarchyStructureLevelTwoArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("UserHierarchyStructureHierarchyStructureLevelTwoArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy