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

com.pulumi.azurenative.databasewatcher.inputs.VaultSecretArgs 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.databasewatcher.inputs;

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


/**
 * The vault specific details required if using SQL authentication to connect to a target.
 * 
 */
public final class VaultSecretArgs extends com.pulumi.resources.ResourceArgs {

    public static final VaultSecretArgs Empty = new VaultSecretArgs();

    /**
     * The Azure ResourceId of the Key Vault instance storing database authentication secrets.
     * 
     */
    @Import(name="akvResourceId")
    private @Nullable Output akvResourceId;

    /**
     * @return The Azure ResourceId of the Key Vault instance storing database authentication secrets.
     * 
     */
    public Optional> akvResourceId() {
        return Optional.ofNullable(this.akvResourceId);
    }

    /**
     * The path to the Key Vault secret storing the password for authentication to a target.
     * 
     */
    @Import(name="akvTargetPassword")
    private @Nullable Output akvTargetPassword;

    /**
     * @return The path to the Key Vault secret storing the password for authentication to a target.
     * 
     */
    public Optional> akvTargetPassword() {
        return Optional.ofNullable(this.akvTargetPassword);
    }

    /**
     * The path to the Key Vault secret storing the login name (aka user name, aka account name) for authentication to a target.
     * 
     */
    @Import(name="akvTargetUser")
    private @Nullable Output akvTargetUser;

    /**
     * @return The path to the Key Vault secret storing the login name (aka user name, aka account name) for authentication to a target.
     * 
     */
    public Optional> akvTargetUser() {
        return Optional.ofNullable(this.akvTargetUser);
    }

    private VaultSecretArgs() {}

    private VaultSecretArgs(VaultSecretArgs $) {
        this.akvResourceId = $.akvResourceId;
        this.akvTargetPassword = $.akvTargetPassword;
        this.akvTargetUser = $.akvTargetUser;
    }

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

    public static final class Builder {
        private VaultSecretArgs $;

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

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

        /**
         * @param akvResourceId The Azure ResourceId of the Key Vault instance storing database authentication secrets.
         * 
         * @return builder
         * 
         */
        public Builder akvResourceId(@Nullable Output akvResourceId) {
            $.akvResourceId = akvResourceId;
            return this;
        }

        /**
         * @param akvResourceId The Azure ResourceId of the Key Vault instance storing database authentication secrets.
         * 
         * @return builder
         * 
         */
        public Builder akvResourceId(String akvResourceId) {
            return akvResourceId(Output.of(akvResourceId));
        }

        /**
         * @param akvTargetPassword The path to the Key Vault secret storing the password for authentication to a target.
         * 
         * @return builder
         * 
         */
        public Builder akvTargetPassword(@Nullable Output akvTargetPassword) {
            $.akvTargetPassword = akvTargetPassword;
            return this;
        }

        /**
         * @param akvTargetPassword The path to the Key Vault secret storing the password for authentication to a target.
         * 
         * @return builder
         * 
         */
        public Builder akvTargetPassword(String akvTargetPassword) {
            return akvTargetPassword(Output.of(akvTargetPassword));
        }

        /**
         * @param akvTargetUser The path to the Key Vault secret storing the login name (aka user name, aka account name) for authentication to a target.
         * 
         * @return builder
         * 
         */
        public Builder akvTargetUser(@Nullable Output akvTargetUser) {
            $.akvTargetUser = akvTargetUser;
            return this;
        }

        /**
         * @param akvTargetUser The path to the Key Vault secret storing the login name (aka user name, aka account name) for authentication to a target.
         * 
         * @return builder
         * 
         */
        public Builder akvTargetUser(String akvTargetUser) {
            return akvTargetUser(Output.of(akvTargetUser));
        }

        public VaultSecretArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy