Class ComputeRegionBackendServiceCdnPolicy.Jsii$Proxy

    • 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.
    • Method Detail

      • getCacheMode

        public final String getCacheMode()
        Description copied from interface: ComputeRegionBackendServiceCdnPolicy
        Specifies the cache setting for all responses from this backend.

        The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATIC Possible values: ["USE_ORIGIN_HEADERS", "FORCE_CACHE_ALL", "CACHE_ALL_STATIC"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#cache_mode ComputeRegionBackendService#cache_mode}

        Specified by:
        getCacheMode in interface ComputeRegionBackendServiceCdnPolicy
      • getClientTtl

        public final Number getClientTtl()
        Description copied from interface: ComputeRegionBackendServiceCdnPolicy
        Specifies the maximum allowed TTL for cached content served by this origin.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#client_ttl ComputeRegionBackendService#client_ttl}

        Specified by:
        getClientTtl in interface ComputeRegionBackendServiceCdnPolicy
      • getDefaultTtl

        public final Number getDefaultTtl()
        Description copied from interface: ComputeRegionBackendServiceCdnPolicy
        Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age).

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#default_ttl ComputeRegionBackendService#default_ttl}

        Specified by:
        getDefaultTtl in interface ComputeRegionBackendServiceCdnPolicy
      • getMaxTtl

        public final Number getMaxTtl()
        Description copied from interface: ComputeRegionBackendServiceCdnPolicy
        Specifies the maximum allowed TTL for cached content served by this origin.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#max_ttl ComputeRegionBackendService#max_ttl}

        Specified by:
        getMaxTtl in interface ComputeRegionBackendServiceCdnPolicy
      • getNegativeCaching

        public final Object getNegativeCaching()
        Description copied from interface: ComputeRegionBackendServiceCdnPolicy
        Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#negative_caching ComputeRegionBackendService#negative_caching}

        Specified by:
        getNegativeCaching in interface ComputeRegionBackendServiceCdnPolicy
      • getServeWhileStale

        public final Number getServeWhileStale()
        Description copied from interface: ComputeRegionBackendServiceCdnPolicy
        Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#serve_while_stale ComputeRegionBackendService#serve_while_stale}

        Specified by:
        getServeWhileStale in interface ComputeRegionBackendServiceCdnPolicy
      • getSignedUrlCacheMaxAgeSec

        public final Number getSignedUrlCacheMaxAgeSec()
        Description copied from interface: ComputeRegionBackendServiceCdnPolicy
        Maximum number of seconds the response to a signed URL request will be considered fresh, defaults to 1hr (3600s).

        After this time period, the response will be revalidated before being served. When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#signed_url_cache_max_age_sec ComputeRegionBackendService#signed_url_cache_max_age_sec}

        Specified by:
        getSignedUrlCacheMaxAgeSec in interface ComputeRegionBackendServiceCdnPolicy
      • $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