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

com.pulumi.aws.appstream.DirectoryConfigArgs 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.appstream;

import com.pulumi.aws.appstream.inputs.DirectoryConfigServiceAccountCredentialsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final DirectoryConfigArgs Empty = new DirectoryConfigArgs();

    /**
     * Fully qualified name of the directory.
     * 
     */
    @Import(name="directoryName", required=true)
    private Output directoryName;

    /**
     * @return Fully qualified name of the directory.
     * 
     */
    public Output directoryName() {
        return this.directoryName;
    }

    /**
     * Distinguished names of the organizational units for computer accounts.
     * 
     */
    @Import(name="organizationalUnitDistinguishedNames", required=true)
    private Output> organizationalUnitDistinguishedNames;

    /**
     * @return Distinguished names of the organizational units for computer accounts.
     * 
     */
    public Output> organizationalUnitDistinguishedNames() {
        return this.organizationalUnitDistinguishedNames;
    }

    /**
     * Configuration block for the name of the directory and organizational unit (OU) to use to join the directory config to a Microsoft Active Directory domain. See `service_account_credentials` below.
     * 
     */
    @Import(name="serviceAccountCredentials", required=true)
    private Output serviceAccountCredentials;

    /**
     * @return Configuration block for the name of the directory and organizational unit (OU) to use to join the directory config to a Microsoft Active Directory domain. See `service_account_credentials` below.
     * 
     */
    public Output serviceAccountCredentials() {
        return this.serviceAccountCredentials;
    }

    private DirectoryConfigArgs() {}

    private DirectoryConfigArgs(DirectoryConfigArgs $) {
        this.directoryName = $.directoryName;
        this.organizationalUnitDistinguishedNames = $.organizationalUnitDistinguishedNames;
        this.serviceAccountCredentials = $.serviceAccountCredentials;
    }

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

    public static final class Builder {
        private DirectoryConfigArgs $;

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

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

        /**
         * @param directoryName Fully qualified name of the directory.
         * 
         * @return builder
         * 
         */
        public Builder directoryName(Output directoryName) {
            $.directoryName = directoryName;
            return this;
        }

        /**
         * @param directoryName Fully qualified name of the directory.
         * 
         * @return builder
         * 
         */
        public Builder directoryName(String directoryName) {
            return directoryName(Output.of(directoryName));
        }

        /**
         * @param organizationalUnitDistinguishedNames Distinguished names of the organizational units for computer accounts.
         * 
         * @return builder
         * 
         */
        public Builder organizationalUnitDistinguishedNames(Output> organizationalUnitDistinguishedNames) {
            $.organizationalUnitDistinguishedNames = organizationalUnitDistinguishedNames;
            return this;
        }

        /**
         * @param organizationalUnitDistinguishedNames Distinguished names of the organizational units for computer accounts.
         * 
         * @return builder
         * 
         */
        public Builder organizationalUnitDistinguishedNames(List organizationalUnitDistinguishedNames) {
            return organizationalUnitDistinguishedNames(Output.of(organizationalUnitDistinguishedNames));
        }

        /**
         * @param organizationalUnitDistinguishedNames Distinguished names of the organizational units for computer accounts.
         * 
         * @return builder
         * 
         */
        public Builder organizationalUnitDistinguishedNames(String... organizationalUnitDistinguishedNames) {
            return organizationalUnitDistinguishedNames(List.of(organizationalUnitDistinguishedNames));
        }

        /**
         * @param serviceAccountCredentials Configuration block for the name of the directory and organizational unit (OU) to use to join the directory config to a Microsoft Active Directory domain. See `service_account_credentials` below.
         * 
         * @return builder
         * 
         */
        public Builder serviceAccountCredentials(Output serviceAccountCredentials) {
            $.serviceAccountCredentials = serviceAccountCredentials;
            return this;
        }

        /**
         * @param serviceAccountCredentials Configuration block for the name of the directory and organizational unit (OU) to use to join the directory config to a Microsoft Active Directory domain. See `service_account_credentials` below.
         * 
         * @return builder
         * 
         */
        public Builder serviceAccountCredentials(DirectoryConfigServiceAccountCredentialsArgs serviceAccountCredentials) {
            return serviceAccountCredentials(Output.of(serviceAccountCredentials));
        }

        public DirectoryConfigArgs build() {
            if ($.directoryName == null) {
                throw new MissingRequiredPropertyException("DirectoryConfigArgs", "directoryName");
            }
            if ($.organizationalUnitDistinguishedNames == null) {
                throw new MissingRequiredPropertyException("DirectoryConfigArgs", "organizationalUnitDistinguishedNames");
            }
            if ($.serviceAccountCredentials == null) {
                throw new MissingRequiredPropertyException("DirectoryConfigArgs", "serviceAccountCredentials");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy