Class ComputeBackendServiceCdnPolicyNegativeCachingPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_backend_service.ComputeBackendServiceCdnPolicyNegativeCachingPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeBackendServiceCdnPolicyNegativeCachingPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeBackendServiceCdnPolicyNegativeCachingPolicy
@Stability(Stable) @Internal public static final class ComputeBackendServiceCdnPolicyNegativeCachingPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeBackendServiceCdnPolicyNegativeCachingPolicy
An implementation forComputeBackendServiceCdnPolicyNegativeCachingPolicy
-
-
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_service.ComputeBackendServiceCdnPolicyNegativeCachingPolicy
ComputeBackendServiceCdnPolicyNegativeCachingPolicy.Builder, ComputeBackendServiceCdnPolicyNegativeCachingPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeBackendServiceCdnPolicyNegativeCachingPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeBackendServiceCdnPolicyNegativeCachingPolicy.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(ComputeBackendServiceCdnPolicyNegativeCachingPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeBackendServiceCdnPolicyNegativeCachingPolicy.Builder.
-
-
Method Detail
-
getCode
public final Number getCode()
Description copied from interface:ComputeBackendServiceCdnPolicyNegativeCachingPolicyThe 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}
- Specified by:
getCodein interfaceComputeBackendServiceCdnPolicyNegativeCachingPolicy
-
getTtl
public final Number getTtl()
Description copied from interface:ComputeBackendServiceCdnPolicyNegativeCachingPolicyThe 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}
- Specified by:
getTtlin interfaceComputeBackendServiceCdnPolicyNegativeCachingPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-