// *** 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.outputs;

import com.pulumi.aws.cloudfront.outputs.FieldLevelEncryptionProfileEncryptionEntitiesItemFieldPatterns;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class FieldLevelEncryptionProfileEncryptionEntitiesItem {
    /**
     * @return Object that contains an attribute `items` that contains the list of field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted.
     * 
     */
    private FieldLevelEncryptionProfileEncryptionEntitiesItemFieldPatterns fieldPatterns;
    /**
     * @return The provider associated with the public key being used for encryption.
     * 
     */
    private String providerId;
    /**
     * @return The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
     * 
     */
    private String publicKeyId;

    private FieldLevelEncryptionProfileEncryptionEntitiesItem() {}
    /**
     * @return Object that contains an attribute `items` that contains the list of field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted.
     * 
     */
    public FieldLevelEncryptionProfileEncryptionEntitiesItemFieldPatterns fieldPatterns() {
        return this.fieldPatterns;
    }
    /**
     * @return The provider associated with the public key being used for encryption.
     * 
     */
    public String providerId() {
        return this.providerId;
    }
    /**
     * @return The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
     * 
     */
    public String publicKeyId() {
        return this.publicKeyId;
    }

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

    public static Builder builder(FieldLevelEncryptionProfileEncryptionEntitiesItem defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private FieldLevelEncryptionProfileEncryptionEntitiesItemFieldPatterns fieldPatterns;
        private String providerId;
        private String publicKeyId;
        public Builder() {}
        public Builder(FieldLevelEncryptionProfileEncryptionEntitiesItem defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.fieldPatterns = defaults.fieldPatterns;
    	      this.providerId = defaults.providerId;
    	      this.publicKeyId = defaults.publicKeyId;
        }

        @CustomType.Setter
        public Builder fieldPatterns(FieldLevelEncryptionProfileEncryptionEntitiesItemFieldPatterns fieldPatterns) {
            this.fieldPatterns = Objects.requireNonNull(fieldPatterns);
            return this;
        }
        @CustomType.Setter
        public Builder providerId(String providerId) {
            this.providerId = Objects.requireNonNull(providerId);
            return this;
        }
        @CustomType.Setter
        public Builder publicKeyId(String publicKeyId) {
            this.publicKeyId = Objects.requireNonNull(publicKeyId);
            return this;
        }
        public FieldLevelEncryptionProfileEncryptionEntitiesItem build() {
            final var o = new FieldLevelEncryptionProfileEncryptionEntitiesItem();
            o.fieldPatterns = fieldPatterns;
            o.providerId = providerId;
            o.publicKeyId = publicKeyId;
            return o;
        }
    }
}
