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

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

Go to download

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

The 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.OriginRequestPolicyQueryStringsConfigQueryStringsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final OriginRequestPolicyQueryStringsConfigArgs Empty = new OriginRequestPolicyQueryStringsConfigArgs();

    @Import(name="queryStringBehavior", required=true)
    private Output queryStringBehavior;

    public Output queryStringBehavior() {
        return this.queryStringBehavior;
    }

    @Import(name="queryStrings")
    private @Nullable Output queryStrings;

    public Optional> queryStrings() {
        return Optional.ofNullable(this.queryStrings);
    }

    private OriginRequestPolicyQueryStringsConfigArgs() {}

    private OriginRequestPolicyQueryStringsConfigArgs(OriginRequestPolicyQueryStringsConfigArgs $) {
        this.queryStringBehavior = $.queryStringBehavior;
        this.queryStrings = $.queryStrings;
    }

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

    public static final class Builder {
        private OriginRequestPolicyQueryStringsConfigArgs $;

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

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

        public Builder queryStringBehavior(Output queryStringBehavior) {
            $.queryStringBehavior = queryStringBehavior;
            return this;
        }

        public Builder queryStringBehavior(String queryStringBehavior) {
            return queryStringBehavior(Output.of(queryStringBehavior));
        }

        public Builder queryStrings(@Nullable Output queryStrings) {
            $.queryStrings = queryStrings;
            return this;
        }

        public Builder queryStrings(OriginRequestPolicyQueryStringsConfigQueryStringsArgs queryStrings) {
            return queryStrings(Output.of(queryStrings));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy