Class ComputeBackendBucketCdnPolicyNegativeCachingPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_backend_bucket.ComputeBackendBucketCdnPolicyNegativeCachingPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeBackendBucketCdnPolicyNegativeCachingPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeBackendBucketCdnPolicyNegativeCachingPolicy
@Stability(Stable) @Internal public static final class ComputeBackendBucketCdnPolicyNegativeCachingPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeBackendBucketCdnPolicyNegativeCachingPolicy
An implementation forComputeBackendBucketCdnPolicyNegativeCachingPolicy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_backend_bucket.ComputeBackendBucketCdnPolicyNegativeCachingPolicy
ComputeBackendBucketCdnPolicyNegativeCachingPolicy.Builder, ComputeBackendBucketCdnPolicyNegativeCachingPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeBackendBucketCdnPolicyNegativeCachingPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeBackendBucketCdnPolicyNegativeCachingPolicy.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)NumbergetCode()The HTTP status code to define a TTL against.NumbergetTtl()The TTL (in seconds) for which to cache responses with the corresponding status code.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeBackendBucketCdnPolicyNegativeCachingPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeBackendBucketCdnPolicyNegativeCachingPolicy.Builder.
-
-
Method Detail
-
getCode
public final Number getCode()
Description copied from interface:ComputeBackendBucketCdnPolicyNegativeCachingPolicyThe 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}
- Specified by:
getCodein interfaceComputeBackendBucketCdnPolicyNegativeCachingPolicy
-
getTtl
public final Number getTtl()
Description copied from interface:ComputeBackendBucketCdnPolicyNegativeCachingPolicyThe 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}
- Specified by:
getTtlin interfaceComputeBackendBucketCdnPolicyNegativeCachingPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-