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

com.pulumi.azurenative.azurearcdata.ActiveDirectoryConnectorArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.azurearcdata;

import com.pulumi.azurenative.azurearcdata.inputs.ActiveDirectoryConnectorPropertiesArgs;
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 ActiveDirectoryConnectorArgs extends com.pulumi.resources.ResourceArgs {

    public static final ActiveDirectoryConnectorArgs Empty = new ActiveDirectoryConnectorArgs();

    /**
     * The name of the Active Directory connector instance
     * 
     */
    @Import(name="activeDirectoryConnectorName")
    private @Nullable Output activeDirectoryConnectorName;

    /**
     * @return The name of the Active Directory connector instance
     * 
     */
    public Optional> activeDirectoryConnectorName() {
        return Optional.ofNullable(this.activeDirectoryConnectorName);
    }

    /**
     * The name of the data controller
     * 
     */
    @Import(name="dataControllerName", required=true)
    private Output dataControllerName;

    /**
     * @return The name of the data controller
     * 
     */
    public Output dataControllerName() {
        return this.dataControllerName;
    }

    /**
     * null
     * 
     */
    @Import(name="properties", required=true)
    private Output properties;

    /**
     * @return null
     * 
     */
    public Output properties() {
        return this.properties;
    }

    /**
     * The name of the Azure resource group
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the Azure resource group
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private ActiveDirectoryConnectorArgs() {}

    private ActiveDirectoryConnectorArgs(ActiveDirectoryConnectorArgs $) {
        this.activeDirectoryConnectorName = $.activeDirectoryConnectorName;
        this.dataControllerName = $.dataControllerName;
        this.properties = $.properties;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private ActiveDirectoryConnectorArgs $;

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

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

        /**
         * @param activeDirectoryConnectorName The name of the Active Directory connector instance
         * 
         * @return builder
         * 
         */
        public Builder activeDirectoryConnectorName(@Nullable Output activeDirectoryConnectorName) {
            $.activeDirectoryConnectorName = activeDirectoryConnectorName;
            return this;
        }

        /**
         * @param activeDirectoryConnectorName The name of the Active Directory connector instance
         * 
         * @return builder
         * 
         */
        public Builder activeDirectoryConnectorName(String activeDirectoryConnectorName) {
            return activeDirectoryConnectorName(Output.of(activeDirectoryConnectorName));
        }

        /**
         * @param dataControllerName The name of the data controller
         * 
         * @return builder
         * 
         */
        public Builder dataControllerName(Output dataControllerName) {
            $.dataControllerName = dataControllerName;
            return this;
        }

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

        /**
         * @param properties null
         * 
         * @return builder
         * 
         */
        public Builder properties(Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties null
         * 
         * @return builder
         * 
         */
        public Builder properties(ActiveDirectoryConnectorPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param resourceGroupName The name of the Azure resource group
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Azure resource group
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public ActiveDirectoryConnectorArgs build() {
            if ($.dataControllerName == null) {
                throw new MissingRequiredPropertyException("ActiveDirectoryConnectorArgs", "dataControllerName");
            }
            if ($.properties == null) {
                throw new MissingRequiredPropertyException("ActiveDirectoryConnectorArgs", "properties");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ActiveDirectoryConnectorArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy