Interface ComputeBackendServiceCdnPolicyNegativeCachingPolicy
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeBackendServiceCdnPolicyNegativeCachingPolicy.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.322Z") @Stability(Stable) public interface ComputeBackendServiceCdnPolicyNegativeCachingPolicy extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeBackendServiceCdnPolicyNegativeCachingPolicy.BuilderA builder forComputeBackendServiceCdnPolicyNegativeCachingPolicystatic classComputeBackendServiceCdnPolicyNegativeCachingPolicy.Jsii$ProxyAn implementation forComputeBackendServiceCdnPolicyNegativeCachingPolicy
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ComputeBackendServiceCdnPolicyNegativeCachingPolicy.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_service#code ComputeBackendService#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_service#ttl ComputeBackendService#ttl}
-
builder
@Stability(Stable) static ComputeBackendServiceCdnPolicyNegativeCachingPolicy.Builder builder()
-
-