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

com.pulumi.azurenative.recoveryservices.inputs.CmkKeyVaultPropertiesArgs 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.recoveryservices.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 properties of the Key Vault which hosts CMK
 * 
 */
public final class CmkKeyVaultPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final CmkKeyVaultPropertiesArgs Empty = new CmkKeyVaultPropertiesArgs();

    /**
     * The key uri of the Customer Managed Key
     * 
     */
    @Import(name="keyUri")
    private @Nullable Output keyUri;

    /**
     * @return The key uri of the Customer Managed Key
     * 
     */
    public Optional> keyUri() {
        return Optional.ofNullable(this.keyUri);
    }

    private CmkKeyVaultPropertiesArgs() {}

    private CmkKeyVaultPropertiesArgs(CmkKeyVaultPropertiesArgs $) {
        this.keyUri = $.keyUri;
    }

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

    public static final class Builder {
        private CmkKeyVaultPropertiesArgs $;

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

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

        /**
         * @param keyUri The key uri of the Customer Managed Key
         * 
         * @return builder
         * 
         */
        public Builder keyUri(@Nullable Output keyUri) {
            $.keyUri = keyUri;
            return this;
        }

        /**
         * @param keyUri The key uri of the Customer Managed Key
         * 
         * @return builder
         * 
         */
        public Builder keyUri(String keyUri) {
            return keyUri(Output.of(keyUri));
        }

        public CmkKeyVaultPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy