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

com.pulumi.azurenative.deviceupdate.inputs.EncryptionArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.deviceupdate.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 CMK encryption settings on the Device Update account.
 * 
 */
public final class EncryptionArgs extends com.pulumi.resources.ResourceArgs {

    public static final EncryptionArgs Empty = new EncryptionArgs();

    /**
     * The URI of the key vault
     * 
     */
    @Import(name="keyVaultKeyUri")
    private @Nullable Output keyVaultKeyUri;

    /**
     * @return The URI of the key vault
     * 
     */
    public Optional> keyVaultKeyUri() {
        return Optional.ofNullable(this.keyVaultKeyUri);
    }

    /**
     * The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
     * 
     */
    @Import(name="userAssignedIdentity")
    private @Nullable Output userAssignedIdentity;

    /**
     * @return The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
     * 
     */
    public Optional> userAssignedIdentity() {
        return Optional.ofNullable(this.userAssignedIdentity);
    }

    private EncryptionArgs() {}

    private EncryptionArgs(EncryptionArgs $) {
        this.keyVaultKeyUri = $.keyVaultKeyUri;
        this.userAssignedIdentity = $.userAssignedIdentity;
    }

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

    public static final class Builder {
        private EncryptionArgs $;

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

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

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

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

        /**
         * @param userAssignedIdentity The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
         * 
         * @return builder
         * 
         */
        public Builder userAssignedIdentity(@Nullable Output userAssignedIdentity) {
            $.userAssignedIdentity = userAssignedIdentity;
            return this;
        }

        /**
         * @param userAssignedIdentity The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
         * 
         * @return builder
         * 
         */
        public Builder userAssignedIdentity(String userAssignedIdentity) {
            return userAssignedIdentity(Output.of(userAssignedIdentity));
        }

        public EncryptionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy