Package com.pulumi.gcp.compute.inputs
Class RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.compute.inputs.RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder
-
- Enclosing class:
- RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs
public static final class RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs
build()
RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder
code(com.pulumi.core.Output<java.lang.Integer> code)
RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder
code(java.lang.Integer code)
RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder
ttl(com.pulumi.core.Output<java.lang.Integer> ttl)
RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder
ttl(java.lang.Integer ttl)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs defaults)
-
-
Method Detail
-
code
public RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder code(@Nullable com.pulumi.core.Output<java.lang.Integer> code)
- Parameters:
code
- The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501 can be specified as values, and you cannot specify a status code more than once.- Returns:
- builder
-
code
public RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder code(java.lang.Integer code)
- Parameters:
code
- The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501 can be specified as values, and you cannot specify a status code more than once.- Returns:
- builder
-
ttl
public RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder ttl(@Nullable com.pulumi.core.Output<java.lang.Integer> ttl)
- Parameters:
ttl
- The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.- Returns:
- builder
-
ttl
public RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs.Builder ttl(java.lang.Integer ttl)
- Parameters:
ttl
- The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.- Returns:
- builder
-
build
public RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs build()
-
-