// *** 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.aws.cloudfront.inputs;

import com.pulumi.aws.cloudfront.inputs.FieldLevelEncryptionProfileEncryptionEntitiesArgs;
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;


public final class FieldLevelEncryptionProfileState extends com.pulumi.resources.ResourceArgs {

    public static final FieldLevelEncryptionProfileState Empty = new FieldLevelEncryptionProfileState();

    /**
     * Internal value used by CloudFront to allow future updates to the Field Level Encryption Profile.
     * 
     */
    @Import(name="callerReference")
    private @Nullable Output<String> callerReference;

    /**
     * @return Internal value used by CloudFront to allow future updates to the Field Level Encryption Profile.
     * 
     */
    public Optional<Output<String>> callerReference() {
        return Optional.ofNullable(this.callerReference);
    }

    /**
     * An optional comment about the Field Level Encryption Profile.
     * 
     */
    @Import(name="comment")
    private @Nullable Output<String> comment;

    /**
     * @return An optional comment about the Field Level Encryption Profile.
     * 
     */
    public Optional<Output<String>> comment() {
        return Optional.ofNullable(this.comment);
    }

    /**
     * The encryption entities config block for field-level encryption profiles that contains an attribute `items` which includes the encryption key and field pattern specifications.
     * 
     */
    @Import(name="encryptionEntities")
    private @Nullable Output<FieldLevelEncryptionProfileEncryptionEntitiesArgs> encryptionEntities;

    /**
     * @return The encryption entities config block for field-level encryption profiles that contains an attribute `items` which includes the encryption key and field pattern specifications.
     * 
     */
    public Optional<Output<FieldLevelEncryptionProfileEncryptionEntitiesArgs>> encryptionEntities() {
        return Optional.ofNullable(this.encryptionEntities);
    }

    /**
     * The current version of the Field Level Encryption Profile. For example: `E2QWRUHAPOMQZL`.
     * 
     */
    @Import(name="etag")
    private @Nullable Output<String> etag;

    /**
     * @return The current version of the Field Level Encryption Profile. For example: `E2QWRUHAPOMQZL`.
     * 
     */
    public Optional<Output<String>> etag() {
        return Optional.ofNullable(this.etag);
    }

    /**
     * The name of the Field Level Encryption Profile.
     * 
     */
    @Import(name="name")
    private @Nullable Output<String> name;

    /**
     * @return The name of the Field Level Encryption Profile.
     * 
     */
    public Optional<Output<String>> name() {
        return Optional.ofNullable(this.name);
    }

    private FieldLevelEncryptionProfileState() {}

    private FieldLevelEncryptionProfileState(FieldLevelEncryptionProfileState $) {
        this.callerReference = $.callerReference;
        this.comment = $.comment;
        this.encryptionEntities = $.encryptionEntities;
        this.etag = $.etag;
        this.name = $.name;
    }

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

    public static final class Builder {
        private FieldLevelEncryptionProfileState $;

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

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

        /**
         * @param callerReference Internal value used by CloudFront to allow future updates to the Field Level Encryption Profile.
         * 
         * @return builder
         * 
         */
        public Builder callerReference(@Nullable Output<String> callerReference) {
            $.callerReference = callerReference;
            return this;
        }

        /**
         * @param callerReference Internal value used by CloudFront to allow future updates to the Field Level Encryption Profile.
         * 
         * @return builder
         * 
         */
        public Builder callerReference(String callerReference) {
            return callerReference(Output.of(callerReference));
        }

        /**
         * @param comment An optional comment about the Field Level Encryption Profile.
         * 
         * @return builder
         * 
         */
        public Builder comment(@Nullable Output<String> comment) {
            $.comment = comment;
            return this;
        }

        /**
         * @param comment An optional comment about the Field Level Encryption Profile.
         * 
         * @return builder
         * 
         */
        public Builder comment(String comment) {
            return comment(Output.of(comment));
        }

        /**
         * @param encryptionEntities The encryption entities config block for field-level encryption profiles that contains an attribute `items` which includes the encryption key and field pattern specifications.
         * 
         * @return builder
         * 
         */
        public Builder encryptionEntities(@Nullable Output<FieldLevelEncryptionProfileEncryptionEntitiesArgs> encryptionEntities) {
            $.encryptionEntities = encryptionEntities;
            return this;
        }

        /**
         * @param encryptionEntities The encryption entities config block for field-level encryption profiles that contains an attribute `items` which includes the encryption key and field pattern specifications.
         * 
         * @return builder
         * 
         */
        public Builder encryptionEntities(FieldLevelEncryptionProfileEncryptionEntitiesArgs encryptionEntities) {
            return encryptionEntities(Output.of(encryptionEntities));
        }

        /**
         * @param etag The current version of the Field Level Encryption Profile. For example: `E2QWRUHAPOMQZL`.
         * 
         * @return builder
         * 
         */
        public Builder etag(@Nullable Output<String> etag) {
            $.etag = etag;
            return this;
        }

        /**
         * @param etag The current version of the Field Level Encryption Profile. For example: `E2QWRUHAPOMQZL`.
         * 
         * @return builder
         * 
         */
        public Builder etag(String etag) {
            return etag(Output.of(etag));
        }

        /**
         * @param name The name of the Field Level Encryption Profile.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Field Level Encryption Profile.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public FieldLevelEncryptionProfileState build() {
            return $;
        }
    }

}
