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

com.pulumi.azurenative.edgeorder.inputs.EncryptionPreferencesArgs 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.edgeorder.inputs;

import com.pulumi.azurenative.edgeorder.enums.DoubleEncryptionStatus;
import com.pulumi.core.Either;
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;


/**
 * Preferences related to the double encryption
 * 
 */
public final class EncryptionPreferencesArgs extends com.pulumi.resources.ResourceArgs {

    public static final EncryptionPreferencesArgs Empty = new EncryptionPreferencesArgs();

    /**
     * Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured.
     * 
     */
    @Import(name="doubleEncryptionStatus")
    private @Nullable Output> doubleEncryptionStatus;

    /**
     * @return Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured.
     * 
     */
    public Optional>> doubleEncryptionStatus() {
        return Optional.ofNullable(this.doubleEncryptionStatus);
    }

    private EncryptionPreferencesArgs() {}

    private EncryptionPreferencesArgs(EncryptionPreferencesArgs $) {
        this.doubleEncryptionStatus = $.doubleEncryptionStatus;
    }

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

    public static final class Builder {
        private EncryptionPreferencesArgs $;

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

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

        /**
         * @param doubleEncryptionStatus Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured.
         * 
         * @return builder
         * 
         */
        public Builder doubleEncryptionStatus(@Nullable Output> doubleEncryptionStatus) {
            $.doubleEncryptionStatus = doubleEncryptionStatus;
            return this;
        }

        /**
         * @param doubleEncryptionStatus Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured.
         * 
         * @return builder
         * 
         */
        public Builder doubleEncryptionStatus(Either doubleEncryptionStatus) {
            return doubleEncryptionStatus(Output.of(doubleEncryptionStatus));
        }

        /**
         * @param doubleEncryptionStatus Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured.
         * 
         * @return builder
         * 
         */
        public Builder doubleEncryptionStatus(String doubleEncryptionStatus) {
            return doubleEncryptionStatus(Either.ofLeft(doubleEncryptionStatus));
        }

        /**
         * @param doubleEncryptionStatus Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured.
         * 
         * @return builder
         * 
         */
        public Builder doubleEncryptionStatus(DoubleEncryptionStatus doubleEncryptionStatus) {
            return doubleEncryptionStatus(Either.ofRight(doubleEncryptionStatus));
        }

        public EncryptionPreferencesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy