Class ComputeBackendBucketCdnPolicyCacheKeyPolicy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_backend_bucket.ComputeBackendBucketCdnPolicyCacheKeyPolicy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeBackendBucketCdnPolicyCacheKeyPolicy>
- Enclosing interface:
- ComputeBackendBucketCdnPolicyCacheKeyPolicy
@Stability(Stable) public static final class ComputeBackendBucketCdnPolicyCacheKeyPolicy.Builder extends Object implements software.amazon.jsii.Builder<ComputeBackendBucketCdnPolicyCacheKeyPolicy>
A builder forComputeBackendBucketCdnPolicyCacheKeyPolicy
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeBackendBucketCdnPolicyCacheKeyPolicybuild()Builds the configured instance.ComputeBackendBucketCdnPolicyCacheKeyPolicy.BuilderincludeHttpHeaders(List<String> includeHttpHeaders)Sets the value ofComputeBackendBucketCdnPolicyCacheKeyPolicy.getIncludeHttpHeaders()ComputeBackendBucketCdnPolicyCacheKeyPolicy.BuilderqueryStringWhitelist(List<String> queryStringWhitelist)Sets the value ofComputeBackendBucketCdnPolicyCacheKeyPolicy.getQueryStringWhitelist()
-
-
-
Method Detail
-
includeHttpHeaders
@Stability(Stable) public ComputeBackendBucketCdnPolicyCacheKeyPolicy.Builder includeHttpHeaders(List<String> includeHttpHeaders)
Sets the value ofComputeBackendBucketCdnPolicyCacheKeyPolicy.getIncludeHttpHeaders()- Parameters:
includeHttpHeaders- Allows HTTP request headers (by name) to be used in the cache key. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_bucket#include_http_headers ComputeBackendBucket#include_http_headers}- Returns:
this
-
queryStringWhitelist
@Stability(Stable) public ComputeBackendBucketCdnPolicyCacheKeyPolicy.Builder queryStringWhitelist(List<String> queryStringWhitelist)
Sets the value ofComputeBackendBucketCdnPolicyCacheKeyPolicy.getQueryStringWhitelist()- Parameters:
queryStringWhitelist- Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_bucket#query_string_whitelist ComputeBackendBucket#query_string_whitelist}- Returns:
this
-
build
@Stability(Stable) public ComputeBackendBucketCdnPolicyCacheKeyPolicy build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeBackendBucketCdnPolicyCacheKeyPolicy>- Returns:
- a new instance of
ComputeBackendBucketCdnPolicyCacheKeyPolicy - Throws:
NullPointerException- if any required attribute was not provided
-
-