Interface ComputeBackendBucketCdnPolicyNegativeCachingPolicy
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeBackendBucketCdnPolicyNegativeCachingPolicy.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.299Z") @Stability(Stable) public interface ComputeBackendBucketCdnPolicyNegativeCachingPolicy extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeBackendBucketCdnPolicyNegativeCachingPolicy.BuilderA builder forComputeBackendBucketCdnPolicyNegativeCachingPolicystatic classComputeBackendBucketCdnPolicyNegativeCachingPolicy.Jsii$ProxyAn implementation forComputeBackendBucketCdnPolicyNegativeCachingPolicy
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ComputeBackendBucketCdnPolicyNegativeCachingPolicy.Builderbuilder()default NumbergetCode()The HTTP status code to define a TTL against.default NumbergetTtl()The TTL (in seconds) for which to cache responses with the corresponding status code.
-
-
-
Method Detail
-
getCode
@Stability(Stable) @Nullable default Number getCode()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_bucket#code ComputeBackendBucket#code}
-
getTtl
@Stability(Stable) @Nullable default Number getTtl()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_bucket#ttl ComputeBackendBucket#ttl}
-
builder
@Stability(Stable) static ComputeBackendBucketCdnPolicyNegativeCachingPolicy.Builder builder()
-
-