Class ComputeBackendServiceConsistentHash.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

      • getHttpHeaderName

        public final String getHttpHeaderName()
        Description copied from interface: ComputeBackendServiceConsistentHash
        The hash based on the value of the specified header field.

        This field is applicable if the sessionAffinity is set to HEADER_FIELD. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#http_header_name ComputeBackendService#http_header_name}

        Specified by:
        getHttpHeaderName in interface ComputeBackendServiceConsistentHash
      • getMinimumRingSize

        public final Number getMinimumRingSize()
        Description copied from interface: ComputeBackendServiceConsistentHash
        The minimum number of virtual nodes to use for the hash ring.

        Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node. Defaults to 1024. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#minimum_ring_size ComputeBackendService#minimum_ring_size}

        Specified by:
        getMinimumRingSize in interface ComputeBackendServiceConsistentHash
      • $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