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

com.pulumi.aws.cloudfront.inputs.FieldLevelEncryptionProfileEncryptionEntitiesItemArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
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.aws.cloudfront.inputs;

import com.pulumi.aws.cloudfront.inputs.FieldLevelEncryptionProfileEncryptionEntitiesItemFieldPatternsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final FieldLevelEncryptionProfileEncryptionEntitiesItemArgs Empty = new FieldLevelEncryptionProfileEncryptionEntitiesItemArgs();

    /**
     * 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.
     * 
     */
    @Import(name="fieldPatterns", required=true)
    private Output fieldPatterns;

    /**
     * @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 Output fieldPatterns() {
        return this.fieldPatterns;
    }

    /**
     * The provider associated with the public key being used for encryption.
     * 
     */
    @Import(name="providerId", required=true)
    private Output providerId;

    /**
     * @return The provider associated with the public key being used for encryption.
     * 
     */
    public Output providerId() {
        return this.providerId;
    }

    /**
     * The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
     * 
     */
    @Import(name="publicKeyId", required=true)
    private Output publicKeyId;

    /**
     * @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 Output publicKeyId() {
        return this.publicKeyId;
    }

    private FieldLevelEncryptionProfileEncryptionEntitiesItemArgs() {}

    private FieldLevelEncryptionProfileEncryptionEntitiesItemArgs(FieldLevelEncryptionProfileEncryptionEntitiesItemArgs $) {
        this.fieldPatterns = $.fieldPatterns;
        this.providerId = $.providerId;
        this.publicKeyId = $.publicKeyId;
    }

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

    public static final class Builder {
        private FieldLevelEncryptionProfileEncryptionEntitiesItemArgs $;

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

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

        /**
         * @param fieldPatterns 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.
         * 
         * @return builder
         * 
         */
        public Builder fieldPatterns(Output fieldPatterns) {
            $.fieldPatterns = fieldPatterns;
            return this;
        }

        /**
         * @param fieldPatterns 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.
         * 
         * @return builder
         * 
         */
        public Builder fieldPatterns(FieldLevelEncryptionProfileEncryptionEntitiesItemFieldPatternsArgs fieldPatterns) {
            return fieldPatterns(Output.of(fieldPatterns));
        }

        /**
         * @param providerId The provider associated with the public key being used for encryption.
         * 
         * @return builder
         * 
         */
        public Builder providerId(Output providerId) {
            $.providerId = providerId;
            return this;
        }

        /**
         * @param providerId The provider associated with the public key being used for encryption.
         * 
         * @return builder
         * 
         */
        public Builder providerId(String providerId) {
            return providerId(Output.of(providerId));
        }

        /**
         * @param publicKeyId The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
         * 
         * @return builder
         * 
         */
        public Builder publicKeyId(Output publicKeyId) {
            $.publicKeyId = publicKeyId;
            return this;
        }

        /**
         * @param publicKeyId The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
         * 
         * @return builder
         * 
         */
        public Builder publicKeyId(String publicKeyId) {
            return publicKeyId(Output.of(publicKeyId));
        }

        public FieldLevelEncryptionProfileEncryptionEntitiesItemArgs build() {
            if ($.fieldPatterns == null) {
                throw new MissingRequiredPropertyException("FieldLevelEncryptionProfileEncryptionEntitiesItemArgs", "fieldPatterns");
            }
            if ($.providerId == null) {
                throw new MissingRequiredPropertyException("FieldLevelEncryptionProfileEncryptionEntitiesItemArgs", "providerId");
            }
            if ($.publicKeyId == null) {
                throw new MissingRequiredPropertyException("FieldLevelEncryptionProfileEncryptionEntitiesItemArgs", "publicKeyId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy