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

com.pulumi.azurenative.aad.OuContainerArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.aad;

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 OuContainerArgs extends com.pulumi.resources.ResourceArgs {

    public static final OuContainerArgs Empty = new OuContainerArgs();

    /**
     * The account name
     * 
     */
    @Import(name="accountName")
    private @Nullable Output accountName;

    /**
     * @return The account name
     * 
     */
    public Optional> accountName() {
        return Optional.ofNullable(this.accountName);
    }

    /**
     * The name of the domain service.
     * 
     */
    @Import(name="domainServiceName", required=true)
    private Output domainServiceName;

    /**
     * @return The name of the domain service.
     * 
     */
    public Output domainServiceName() {
        return this.domainServiceName;
    }

    /**
     * The name of the OuContainer.
     * 
     */
    @Import(name="ouContainerName")
    private @Nullable Output ouContainerName;

    /**
     * @return The name of the OuContainer.
     * 
     */
    public Optional> ouContainerName() {
        return Optional.ofNullable(this.ouContainerName);
    }

    /**
     * The account password
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return The account password
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * The name of the resource group within the user's subscription. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group within the user's subscription. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The account spn
     * 
     */
    @Import(name="spn")
    private @Nullable Output spn;

    /**
     * @return The account spn
     * 
     */
    public Optional> spn() {
        return Optional.ofNullable(this.spn);
    }

    private OuContainerArgs() {}

    private OuContainerArgs(OuContainerArgs $) {
        this.accountName = $.accountName;
        this.domainServiceName = $.domainServiceName;
        this.ouContainerName = $.ouContainerName;
        this.password = $.password;
        this.resourceGroupName = $.resourceGroupName;
        this.spn = $.spn;
    }

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

    public static final class Builder {
        private OuContainerArgs $;

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

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

        /**
         * @param accountName The account name
         * 
         * @return builder
         * 
         */
        public Builder accountName(@Nullable Output accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param accountName The account name
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            return accountName(Output.of(accountName));
        }

        /**
         * @param domainServiceName The name of the domain service.
         * 
         * @return builder
         * 
         */
        public Builder domainServiceName(Output domainServiceName) {
            $.domainServiceName = domainServiceName;
            return this;
        }

        /**
         * @param domainServiceName The name of the domain service.
         * 
         * @return builder
         * 
         */
        public Builder domainServiceName(String domainServiceName) {
            return domainServiceName(Output.of(domainServiceName));
        }

        /**
         * @param ouContainerName The name of the OuContainer.
         * 
         * @return builder
         * 
         */
        public Builder ouContainerName(@Nullable Output ouContainerName) {
            $.ouContainerName = ouContainerName;
            return this;
        }

        /**
         * @param ouContainerName The name of the OuContainer.
         * 
         * @return builder
         * 
         */
        public Builder ouContainerName(String ouContainerName) {
            return ouContainerName(Output.of(ouContainerName));
        }

        /**
         * @param password The account password
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password The account password
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param spn The account spn
         * 
         * @return builder
         * 
         */
        public Builder spn(@Nullable Output spn) {
            $.spn = spn;
            return this;
        }

        /**
         * @param spn The account spn
         * 
         * @return builder
         * 
         */
        public Builder spn(String spn) {
            return spn(Output.of(spn));
        }

        public OuContainerArgs build() {
            if ($.domainServiceName == null) {
                throw new MissingRequiredPropertyException("OuContainerArgs", "domainServiceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("OuContainerArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy