Class ComputeAutoscalerAutoscalingPolicyMetric.Jsii$Proxy

    • Method Detail

      • getName

        public final String getName()
        Description copied from interface: ComputeAutoscalerAutoscalingPolicyMetric
        The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values.

        The metric must have a value type of INT64 or DOUBLE. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_autoscaler#name ComputeAutoscaler#name}

        Specified by:
        getName in interface ComputeAutoscalerAutoscalingPolicyMetric
      • getTarget

        public final Number getTarget()
        Description copied from interface: ComputeAutoscalerAutoscalingPolicyMetric
        The target value of the metric that autoscaler should maintain.

        This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilizationTarget is www.googleapis.com/compute/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_autoscaler#target ComputeAutoscaler#target}

        Specified by:
        getTarget in interface ComputeAutoscalerAutoscalingPolicyMetric
      • getType

        public final String getType()
        Description copied from interface: ComputeAutoscalerAutoscalingPolicyMetric
        Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Possible values: ["GAUGE", "DELTA_PER_SECOND", "DELTA_PER_MINUTE"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_autoscaler#type ComputeAutoscaler#type}

        Specified by:
        getType in interface ComputeAutoscalerAutoscalingPolicyMetric
      • $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