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

com.pulumi.azurenative.scom.inputs.DomainUserCredentialsArgs 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.scom.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;


/**
 * Get Domain user name and password from key vault
 * 
 */
public final class DomainUserCredentialsArgs extends com.pulumi.resources.ResourceArgs {

    public static final DomainUserCredentialsArgs Empty = new DomainUserCredentialsArgs();

    /**
     * Key vault url to get the domain username and password
     * 
     */
    @Import(name="keyVaultUrl")
    private @Nullable Output keyVaultUrl;

    /**
     * @return Key vault url to get the domain username and password
     * 
     */
    public Optional> keyVaultUrl() {
        return Optional.ofNullable(this.keyVaultUrl);
    }

    /**
     * Domain Password secret
     * 
     */
    @Import(name="passwordSecret")
    private @Nullable Output passwordSecret;

    /**
     * @return Domain Password secret
     * 
     */
    public Optional> passwordSecret() {
        return Optional.ofNullable(this.passwordSecret);
    }

    /**
     * Domain user name secret
     * 
     */
    @Import(name="userNameSecret")
    private @Nullable Output userNameSecret;

    /**
     * @return Domain user name secret
     * 
     */
    public Optional> userNameSecret() {
        return Optional.ofNullable(this.userNameSecret);
    }

    private DomainUserCredentialsArgs() {}

    private DomainUserCredentialsArgs(DomainUserCredentialsArgs $) {
        this.keyVaultUrl = $.keyVaultUrl;
        this.passwordSecret = $.passwordSecret;
        this.userNameSecret = $.userNameSecret;
    }

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

    public static final class Builder {
        private DomainUserCredentialsArgs $;

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

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

        /**
         * @param keyVaultUrl Key vault url to get the domain username and password
         * 
         * @return builder
         * 
         */
        public Builder keyVaultUrl(@Nullable Output keyVaultUrl) {
            $.keyVaultUrl = keyVaultUrl;
            return this;
        }

        /**
         * @param keyVaultUrl Key vault url to get the domain username and password
         * 
         * @return builder
         * 
         */
        public Builder keyVaultUrl(String keyVaultUrl) {
            return keyVaultUrl(Output.of(keyVaultUrl));
        }

        /**
         * @param passwordSecret Domain Password secret
         * 
         * @return builder
         * 
         */
        public Builder passwordSecret(@Nullable Output passwordSecret) {
            $.passwordSecret = passwordSecret;
            return this;
        }

        /**
         * @param passwordSecret Domain Password secret
         * 
         * @return builder
         * 
         */
        public Builder passwordSecret(String passwordSecret) {
            return passwordSecret(Output.of(passwordSecret));
        }

        /**
         * @param userNameSecret Domain user name secret
         * 
         * @return builder
         * 
         */
        public Builder userNameSecret(@Nullable Output userNameSecret) {
            $.userNameSecret = userNameSecret;
            return this;
        }

        /**
         * @param userNameSecret Domain user name secret
         * 
         * @return builder
         * 
         */
        public Builder userNameSecret(String userNameSecret) {
            return userNameSecret(Output.of(userNameSecret));
        }

        public DomainUserCredentialsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy