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

com.pulumi.azure.datafactory.inputs.LinkedServiceSqlServerKeyVaultConnectionStringArgs Maven / Gradle / Ivy

// *** 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.azure.datafactory.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;


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

    public static final LinkedServiceSqlServerKeyVaultConnectionStringArgs Empty = new LinkedServiceSqlServerKeyVaultConnectionStringArgs();

    /**
     * Specifies the name of an existing Key Vault Data Factory Linked Service.
     * 
     */
    @Import(name="linkedServiceName", required=true)
    private Output linkedServiceName;

    /**
     * @return Specifies the name of an existing Key Vault Data Factory Linked Service.
     * 
     */
    public Output linkedServiceName() {
        return this.linkedServiceName;
    }

    /**
     * Specifies the secret name in Azure Key Vault that stores SQL Server connection string.
     * 
     */
    @Import(name="secretName", required=true)
    private Output secretName;

    /**
     * @return Specifies the secret name in Azure Key Vault that stores SQL Server connection string.
     * 
     */
    public Output secretName() {
        return this.secretName;
    }

    private LinkedServiceSqlServerKeyVaultConnectionStringArgs() {}

    private LinkedServiceSqlServerKeyVaultConnectionStringArgs(LinkedServiceSqlServerKeyVaultConnectionStringArgs $) {
        this.linkedServiceName = $.linkedServiceName;
        this.secretName = $.secretName;
    }

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

    public static final class Builder {
        private LinkedServiceSqlServerKeyVaultConnectionStringArgs $;

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

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

        /**
         * @param linkedServiceName Specifies the name of an existing Key Vault Data Factory Linked Service.
         * 
         * @return builder
         * 
         */
        public Builder linkedServiceName(Output linkedServiceName) {
            $.linkedServiceName = linkedServiceName;
            return this;
        }

        /**
         * @param linkedServiceName Specifies the name of an existing Key Vault Data Factory Linked Service.
         * 
         * @return builder
         * 
         */
        public Builder linkedServiceName(String linkedServiceName) {
            return linkedServiceName(Output.of(linkedServiceName));
        }

        /**
         * @param secretName Specifies the secret name in Azure Key Vault that stores SQL Server connection string.
         * 
         * @return builder
         * 
         */
        public Builder secretName(Output secretName) {
            $.secretName = secretName;
            return this;
        }

        /**
         * @param secretName Specifies the secret name in Azure Key Vault that stores SQL Server connection string.
         * 
         * @return builder
         * 
         */
        public Builder secretName(String secretName) {
            return secretName(Output.of(secretName));
        }

        public LinkedServiceSqlServerKeyVaultConnectionStringArgs build() {
            if ($.linkedServiceName == null) {
                throw new MissingRequiredPropertyException("LinkedServiceSqlServerKeyVaultConnectionStringArgs", "linkedServiceName");
            }
            if ($.secretName == null) {
                throw new MissingRequiredPropertyException("LinkedServiceSqlServerKeyVaultConnectionStringArgs", "secretName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy