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

      • getEnable

        public final Object getEnable()
        Description copied from interface: ComputeBackendServiceLogConfig
        Whether to enable logging for the load balancer traffic served by this backend service.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#enable ComputeBackendService#enable}

        Specified by:
        getEnable in interface ComputeBackendServiceLogConfig
      • getSampleRate

        public final Number getSampleRate()
        Description copied from interface: ComputeBackendServiceLogConfig
        This field can only be specified if logging is enabled for this backend service.

        The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#sample_rate ComputeBackendService#sample_rate}

        Specified by:
        getSampleRate in interface ComputeBackendServiceLogConfig
      • $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