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

com.pulumi.azurenative.iotoperationsmq.inputs.KeyVaultConnectionPropertiesArgs 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.iotoperationsmq.inputs;

import com.pulumi.azurenative.iotoperationsmq.inputs.KeyVaultCredentialsPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * KeyVault properties
 * 
 */
public final class KeyVaultConnectionPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final KeyVaultConnectionPropertiesArgs Empty = new KeyVaultConnectionPropertiesArgs();

    /**
     * KeyVault credentials.
     * 
     */
    @Import(name="credentials", required=true)
    private Output credentials;

    /**
     * @return KeyVault credentials.
     * 
     */
    public Output credentials() {
        return this.credentials;
    }

    /**
     * KeyVault directoryId.
     * 
     */
    @Import(name="directoryId", required=true)
    private Output directoryId;

    /**
     * @return KeyVault directoryId.
     * 
     */
    public Output directoryId() {
        return this.directoryId;
    }

    /**
     * KeyVault name.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return KeyVault name.
     * 
     */
    public Output name() {
        return this.name;
    }

    private KeyVaultConnectionPropertiesArgs() {}

    private KeyVaultConnectionPropertiesArgs(KeyVaultConnectionPropertiesArgs $) {
        this.credentials = $.credentials;
        this.directoryId = $.directoryId;
        this.name = $.name;
    }

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

    public static final class Builder {
        private KeyVaultConnectionPropertiesArgs $;

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

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

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

        /**
         * @param credentials KeyVault credentials.
         * 
         * @return builder
         * 
         */
        public Builder credentials(KeyVaultCredentialsPropertiesArgs credentials) {
            return credentials(Output.of(credentials));
        }

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

        /**
         * @param directoryId KeyVault directoryId.
         * 
         * @return builder
         * 
         */
        public Builder directoryId(String directoryId) {
            return directoryId(Output.of(directoryId));
        }

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

        /**
         * @param name KeyVault name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public KeyVaultConnectionPropertiesArgs build() {
            if ($.credentials == null) {
                throw new MissingRequiredPropertyException("KeyVaultConnectionPropertiesArgs", "credentials");
            }
            if ($.directoryId == null) {
                throw new MissingRequiredPropertyException("KeyVaultConnectionPropertiesArgs", "directoryId");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("KeyVaultConnectionPropertiesArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy