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

com.pulumi.azurenative.fluidrelay.inputs.EncryptionPropertiesArgs 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.fluidrelay.inputs;

import com.pulumi.azurenative.fluidrelay.inputs.CustomerManagedKeyEncryptionPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * All encryption configuration for a resource.
 * 
 */
public final class EncryptionPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final EncryptionPropertiesArgs Empty = new EncryptionPropertiesArgs();

    /**
     * All Customer-managed key encryption properties for the resource.
     * 
     */
    @Import(name="customerManagedKeyEncryption")
    private @Nullable Output customerManagedKeyEncryption;

    /**
     * @return All Customer-managed key encryption properties for the resource.
     * 
     */
    public Optional> customerManagedKeyEncryption() {
        return Optional.ofNullable(this.customerManagedKeyEncryption);
    }

    private EncryptionPropertiesArgs() {}

    private EncryptionPropertiesArgs(EncryptionPropertiesArgs $) {
        this.customerManagedKeyEncryption = $.customerManagedKeyEncryption;
    }

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

    public static final class Builder {
        private EncryptionPropertiesArgs $;

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

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

        /**
         * @param customerManagedKeyEncryption All Customer-managed key encryption properties for the resource.
         * 
         * @return builder
         * 
         */
        public Builder customerManagedKeyEncryption(@Nullable Output customerManagedKeyEncryption) {
            $.customerManagedKeyEncryption = customerManagedKeyEncryption;
            return this;
        }

        /**
         * @param customerManagedKeyEncryption All Customer-managed key encryption properties for the resource.
         * 
         * @return builder
         * 
         */
        public Builder customerManagedKeyEncryption(CustomerManagedKeyEncryptionPropertiesArgs customerManagedKeyEncryption) {
            return customerManagedKeyEncryption(Output.of(customerManagedKeyEncryption));
        }

        public EncryptionPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy