Class ComputeBackendServiceCdnPolicyNegativeCachingPolicy.Jsii$Proxy

    • Method Detail

      • getCode

        public final Number getCode()
        Description copied from interface: ComputeBackendServiceCdnPolicyNegativeCachingPolicy
        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}

        Specified by:
        getCode in interface ComputeBackendServiceCdnPolicyNegativeCachingPolicy
      • getTtl

        public final Number getTtl()
        Description copied from interface: ComputeBackendServiceCdnPolicyNegativeCachingPolicy
        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}

        Specified by:
        getTtl in interface ComputeBackendServiceCdnPolicyNegativeCachingPolicy
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object