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

com.pulumi.azurenative.devices.inputs.KeyVaultKeyPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.devices.inputs;

import com.pulumi.azurenative.devices.inputs.ManagedIdentityArgs;
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 KeyVault key.
 * 
 */
public final class KeyVaultKeyPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final KeyVaultKeyPropertiesArgs Empty = new KeyVaultKeyPropertiesArgs();

    /**
     * Managed identity properties of KeyVault Key.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return Managed identity properties of KeyVault Key.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The identifier of the key.
     * 
     */
    @Import(name="keyIdentifier")
    private @Nullable Output keyIdentifier;

    /**
     * @return The identifier of the key.
     * 
     */
    public Optional> keyIdentifier() {
        return Optional.ofNullable(this.keyIdentifier);
    }

    private KeyVaultKeyPropertiesArgs() {}

    private KeyVaultKeyPropertiesArgs(KeyVaultKeyPropertiesArgs $) {
        this.identity = $.identity;
        this.keyIdentifier = $.keyIdentifier;
    }

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

    public static final class Builder {
        private KeyVaultKeyPropertiesArgs $;

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

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

        /**
         * @param identity Managed identity properties of KeyVault Key.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity Managed identity properties of KeyVault Key.
         * 
         * @return builder
         * 
         */
        public Builder identity(ManagedIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param keyIdentifier The identifier of the key.
         * 
         * @return builder
         * 
         */
        public Builder keyIdentifier(@Nullable Output keyIdentifier) {
            $.keyIdentifier = keyIdentifier;
            return this;
        }

        /**
         * @param keyIdentifier The identifier of the key.
         * 
         * @return builder
         * 
         */
        public Builder keyIdentifier(String keyIdentifier) {
            return keyIdentifier(Output.of(keyIdentifier));
        }

        public KeyVaultKeyPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy