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

com.pulumi.azurenative.storage.inputs.EncryptionIdentityArgs 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.storage.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;


/**
 * Encryption identity for the storage account.
 * 
 */
public final class EncryptionIdentityArgs extends com.pulumi.resources.ResourceArgs {

    public static final EncryptionIdentityArgs Empty = new EncryptionIdentityArgs();

    /**
     * ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.
     * 
     */
    @Import(name="encryptionFederatedIdentityClientId")
    private @Nullable Output encryptionFederatedIdentityClientId;

    /**
     * @return ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.
     * 
     */
    public Optional> encryptionFederatedIdentityClientId() {
        return Optional.ofNullable(this.encryptionFederatedIdentityClientId);
    }

    /**
     * Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.
     * 
     */
    @Import(name="encryptionUserAssignedIdentity")
    private @Nullable Output encryptionUserAssignedIdentity;

    /**
     * @return Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.
     * 
     */
    public Optional> encryptionUserAssignedIdentity() {
        return Optional.ofNullable(this.encryptionUserAssignedIdentity);
    }

    private EncryptionIdentityArgs() {}

    private EncryptionIdentityArgs(EncryptionIdentityArgs $) {
        this.encryptionFederatedIdentityClientId = $.encryptionFederatedIdentityClientId;
        this.encryptionUserAssignedIdentity = $.encryptionUserAssignedIdentity;
    }

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

    public static final class Builder {
        private EncryptionIdentityArgs $;

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

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

        /**
         * @param encryptionFederatedIdentityClientId ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.
         * 
         * @return builder
         * 
         */
        public Builder encryptionFederatedIdentityClientId(@Nullable Output encryptionFederatedIdentityClientId) {
            $.encryptionFederatedIdentityClientId = encryptionFederatedIdentityClientId;
            return this;
        }

        /**
         * @param encryptionFederatedIdentityClientId ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.
         * 
         * @return builder
         * 
         */
        public Builder encryptionFederatedIdentityClientId(String encryptionFederatedIdentityClientId) {
            return encryptionFederatedIdentityClientId(Output.of(encryptionFederatedIdentityClientId));
        }

        /**
         * @param encryptionUserAssignedIdentity Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.
         * 
         * @return builder
         * 
         */
        public Builder encryptionUserAssignedIdentity(@Nullable Output encryptionUserAssignedIdentity) {
            $.encryptionUserAssignedIdentity = encryptionUserAssignedIdentity;
            return this;
        }

        /**
         * @param encryptionUserAssignedIdentity Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.
         * 
         * @return builder
         * 
         */
        public Builder encryptionUserAssignedIdentity(String encryptionUserAssignedIdentity) {
            return encryptionUserAssignedIdentity(Output.of(encryptionUserAssignedIdentity));
        }

        public EncryptionIdentityArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy