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

com.pulumi.azurenative.automation.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.automation.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;


/**
 * Settings concerning key vault encryption for a configuration store.
 * 
 */
public final class KeyVaultPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final KeyVaultPropertiesArgs Empty = new KeyVaultPropertiesArgs();

    /**
     * The name of key used to encrypt data.
     * 
     */
    @Import(name="keyName")
    private @Nullable Output keyName;

    /**
     * @return The name of key used to encrypt data.
     * 
     */
    public Optional> keyName() {
        return Optional.ofNullable(this.keyName);
    }

    /**
     * The key version of the key used to encrypt data.
     * 
     */
    @Import(name="keyVersion")
    private @Nullable Output keyVersion;

    /**
     * @return The key version of the key used to encrypt data.
     * 
     */
    public Optional> keyVersion() {
        return Optional.ofNullable(this.keyVersion);
    }

    /**
     * The URI of the key vault key used to encrypt data.
     * 
     */
    @Import(name="keyvaultUri")
    private @Nullable Output keyvaultUri;

    /**
     * @return The URI of the key vault key used to encrypt data.
     * 
     */
    public Optional> keyvaultUri() {
        return Optional.ofNullable(this.keyvaultUri);
    }

    private KeyVaultPropertiesArgs() {}

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

    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));
        }

        /**
         * @param keyName The name of key used to encrypt data.
         * 
         * @return builder
         * 
         */
        public Builder keyName(@Nullable Output keyName) {
            $.keyName = keyName;
            return this;
        }

        /**
         * @param keyName The name of key used to encrypt data.
         * 
         * @return builder
         * 
         */
        public Builder keyName(String keyName) {
            return keyName(Output.of(keyName));
        }

        /**
         * @param keyVersion The key version of the key used to encrypt data.
         * 
         * @return builder
         * 
         */
        public Builder keyVersion(@Nullable Output keyVersion) {
            $.keyVersion = keyVersion;
            return this;
        }

        /**
         * @param keyVersion The key version of the key used to encrypt data.
         * 
         * @return builder
         * 
         */
        public Builder keyVersion(String keyVersion) {
            return keyVersion(Output.of(keyVersion));
        }

        /**
         * @param keyvaultUri The URI of the key vault key used to encrypt data.
         * 
         * @return builder
         * 
         */
        public Builder keyvaultUri(@Nullable Output keyvaultUri) {
            $.keyvaultUri = keyvaultUri;
            return this;
        }

        /**
         * @param keyvaultUri The URI of the key vault key used to encrypt data.
         * 
         * @return builder
         * 
         */
        public Builder keyvaultUri(String keyvaultUri) {
            return keyvaultUri(Output.of(keyvaultUri));
        }

        public KeyVaultPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy