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

com.pulumi.aws.cloudfront.outputs.GetCachePolicyParametersInCacheKeyAndForwardedToOriginHeadersConfigHeader 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.60.0-alpha.1731982519
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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetCachePolicyParametersInCacheKeyAndForwardedToOriginHeadersConfigHeader {
    /**
     * @return List of item names (`cookies`, `headers`, or `query_strings`).
     * 
     */
    private List items;

    private GetCachePolicyParametersInCacheKeyAndForwardedToOriginHeadersConfigHeader() {}
    /**
     * @return List of item names (`cookies`, `headers`, or `query_strings`).
     * 
     */
    public List items() {
        return this.items;
    }

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

    public static Builder builder(GetCachePolicyParametersInCacheKeyAndForwardedToOriginHeadersConfigHeader defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List items;
        public Builder() {}
        public Builder(GetCachePolicyParametersInCacheKeyAndForwardedToOriginHeadersConfigHeader defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.items = defaults.items;
        }

        @CustomType.Setter
        public Builder items(List items) {
            if (items == null) {
              throw new MissingRequiredPropertyException("GetCachePolicyParametersInCacheKeyAndForwardedToOriginHeadersConfigHeader", "items");
            }
            this.items = items;
            return this;
        }
        public Builder items(String... items) {
            return items(List.of(items));
        }
        public GetCachePolicyParametersInCacheKeyAndForwardedToOriginHeadersConfigHeader build() {
            final var _resultValue = new GetCachePolicyParametersInCacheKeyAndForwardedToOriginHeadersConfigHeader();
            _resultValue.items = items;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy