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

com.pulumi.azurenative.eventhub.inputs.KeyVaultPropertiesArgs 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.eventhub.inputs;

import com.pulumi.azurenative.eventhub.inputs.UserAssignedIdentityPropertiesArgs;
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;


/**
 * Properties to configure keyVault Properties
 * 
 */
public final class KeyVaultPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final KeyVaultPropertiesArgs Empty = new KeyVaultPropertiesArgs();

    @Import(name="identity")
    private @Nullable Output identity;

    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * Name of the Key from KeyVault
     * 
     */
    @Import(name="keyName")
    private @Nullable Output keyName;

    /**
     * @return Name of the Key from KeyVault
     * 
     */
    public Optional> keyName() {
        return Optional.ofNullable(this.keyName);
    }

    /**
     * Uri of KeyVault
     * 
     */
    @Import(name="keyVaultUri")
    private @Nullable Output keyVaultUri;

    /**
     * @return Uri of KeyVault
     * 
     */
    public Optional> keyVaultUri() {
        return Optional.ofNullable(this.keyVaultUri);
    }

    /**
     * Key Version
     * 
     */
    @Import(name="keyVersion")
    private @Nullable Output keyVersion;

    /**
     * @return Key Version
     * 
     */
    public Optional> keyVersion() {
        return Optional.ofNullable(this.keyVersion);
    }

    private KeyVaultPropertiesArgs() {}

    private KeyVaultPropertiesArgs(KeyVaultPropertiesArgs $) {
        this.identity = $.identity;
        this.keyName = $.keyName;
        this.keyVaultUri = $.keyVaultUri;
        this.keyVersion = $.keyVersion;
    }

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

    public static final class Builder {
        private KeyVaultPropertiesArgs $;

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

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

        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        public Builder identity(UserAssignedIdentityPropertiesArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param keyName Name of the Key from KeyVault
         * 
         * @return builder
         * 
         */
        public Builder keyName(@Nullable Output keyName) {
            $.keyName = keyName;
            return this;
        }

        /**
         * @param keyName Name of the Key from KeyVault
         * 
         * @return builder
         * 
         */
        public Builder keyName(String keyName) {
            return keyName(Output.of(keyName));
        }

        /**
         * @param keyVaultUri Uri of KeyVault
         * 
         * @return builder
         * 
         */
        public Builder keyVaultUri(@Nullable Output keyVaultUri) {
            $.keyVaultUri = keyVaultUri;
            return this;
        }

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

        /**
         * @param keyVersion Key Version
         * 
         * @return builder
         * 
         */
        public Builder keyVersion(@Nullable Output keyVersion) {
            $.keyVersion = keyVersion;
            return this;
        }

        /**
         * @param keyVersion Key Version
         * 
         * @return builder
         * 
         */
        public Builder keyVersion(String keyVersion) {
            return keyVersion(Output.of(keyVersion));
        }

        public KeyVaultPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy