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

com.pulumi.aws.cloudfront.outputs.FieldLevelEncryptionProfileEncryptionEntitiesItem Maven / Gradle / Ivy

// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
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) {
            if (fieldPatterns == null) {
              throw new MissingRequiredPropertyException("FieldLevelEncryptionProfileEncryptionEntitiesItem", "fieldPatterns");
            }
            this.fieldPatterns = fieldPatterns;
            return this;
        }
        @CustomType.Setter
        public Builder providerId(String providerId) {
            if (providerId == null) {
              throw new MissingRequiredPropertyException("FieldLevelEncryptionProfileEncryptionEntitiesItem", "providerId");
            }
            this.providerId = providerId;
            return this;
        }
        @CustomType.Setter
        public Builder publicKeyId(String publicKeyId) {
            if (publicKeyId == null) {
              throw new MissingRequiredPropertyException("FieldLevelEncryptionProfileEncryptionEntitiesItem", "publicKeyId");
            }
            this.publicKeyId = publicKeyId;
            return this;
        }
        public FieldLevelEncryptionProfileEncryptionEntitiesItem build() {
            final var _resultValue = new FieldLevelEncryptionProfileEncryptionEntitiesItem();
            _resultValue.fieldPatterns = fieldPatterns;
            _resultValue.providerId = providerId;
            _resultValue.publicKeyId = publicKeyId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy