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

com.pulumi.aws.cloudfront.inputs.FieldLevelEncryptionConfigQueryArgProfileConfigArgs 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.FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final FieldLevelEncryptionConfigQueryArgProfileConfigArgs Empty = new FieldLevelEncryptionConfigQueryArgProfileConfigArgs();

    /**
     * Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.
     * 
     */
    @Import(name="forwardWhenQueryArgProfileIsUnknown", required=true)
    private Output forwardWhenQueryArgProfileIsUnknown;

    /**
     * @return Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.
     * 
     */
    public Output forwardWhenQueryArgProfileIsUnknown() {
        return this.forwardWhenQueryArgProfileIsUnknown;
    }

    /**
     * Object that contains an attribute `items` that contains the list ofrofiles specified for query argument-profile mapping for field-level encryption. see Query Arg Profile.
     * 
     */
    @Import(name="queryArgProfiles")
    private @Nullable Output queryArgProfiles;

    /**
     * @return Object that contains an attribute `items` that contains the list ofrofiles specified for query argument-profile mapping for field-level encryption. see Query Arg Profile.
     * 
     */
    public Optional> queryArgProfiles() {
        return Optional.ofNullable(this.queryArgProfiles);
    }

    private FieldLevelEncryptionConfigQueryArgProfileConfigArgs() {}

    private FieldLevelEncryptionConfigQueryArgProfileConfigArgs(FieldLevelEncryptionConfigQueryArgProfileConfigArgs $) {
        this.forwardWhenQueryArgProfileIsUnknown = $.forwardWhenQueryArgProfileIsUnknown;
        this.queryArgProfiles = $.queryArgProfiles;
    }

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

    public static final class Builder {
        private FieldLevelEncryptionConfigQueryArgProfileConfigArgs $;

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

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

        /**
         * @param forwardWhenQueryArgProfileIsUnknown Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.
         * 
         * @return builder
         * 
         */
        public Builder forwardWhenQueryArgProfileIsUnknown(Output forwardWhenQueryArgProfileIsUnknown) {
            $.forwardWhenQueryArgProfileIsUnknown = forwardWhenQueryArgProfileIsUnknown;
            return this;
        }

        /**
         * @param forwardWhenQueryArgProfileIsUnknown Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.
         * 
         * @return builder
         * 
         */
        public Builder forwardWhenQueryArgProfileIsUnknown(Boolean forwardWhenQueryArgProfileIsUnknown) {
            return forwardWhenQueryArgProfileIsUnknown(Output.of(forwardWhenQueryArgProfileIsUnknown));
        }

        /**
         * @param queryArgProfiles Object that contains an attribute `items` that contains the list ofrofiles specified for query argument-profile mapping for field-level encryption. see Query Arg Profile.
         * 
         * @return builder
         * 
         */
        public Builder queryArgProfiles(@Nullable Output queryArgProfiles) {
            $.queryArgProfiles = queryArgProfiles;
            return this;
        }

        /**
         * @param queryArgProfiles Object that contains an attribute `items` that contains the list ofrofiles specified for query argument-profile mapping for field-level encryption. see Query Arg Profile.
         * 
         * @return builder
         * 
         */
        public Builder queryArgProfiles(FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesArgs queryArgProfiles) {
            return queryArgProfiles(Output.of(queryArgProfiles));
        }

        public FieldLevelEncryptionConfigQueryArgProfileConfigArgs build() {
            if ($.forwardWhenQueryArgProfileIsUnknown == null) {
                throw new MissingRequiredPropertyException("FieldLevelEncryptionConfigQueryArgProfileConfigArgs", "forwardWhenQueryArgProfileIsUnknown");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy