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

com.pulumi.azurenative.logic.inputs.KeyVaultReferenceArgs 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.logic.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 key vault reference.
 * 
 */
public final class KeyVaultReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final KeyVaultReferenceArgs Empty = new KeyVaultReferenceArgs();

    /**
     * The resource id.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return The resource id.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The key vault name.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The key vault name.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private KeyVaultReferenceArgs() {}

    private KeyVaultReferenceArgs(KeyVaultReferenceArgs $) {
        this.id = $.id;
        this.name = $.name;
    }

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

    public static final class Builder {
        private KeyVaultReferenceArgs $;

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

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

        /**
         * @param id The resource id.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The resource id.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name The key vault name.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

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

        public KeyVaultReferenceArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy