Class ComputeAutoscalerAutoscalingPolicyMetric.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_autoscaler.ComputeAutoscalerAutoscalingPolicyMetric.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeAutoscalerAutoscalingPolicyMetric,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeAutoscalerAutoscalingPolicyMetric
@Stability(Stable) @Internal public static final class ComputeAutoscalerAutoscalingPolicyMetric.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeAutoscalerAutoscalingPolicyMetric
An implementation forComputeAutoscalerAutoscalingPolicyMetric
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_autoscaler.ComputeAutoscalerAutoscalingPolicyMetric
ComputeAutoscalerAutoscalingPolicyMetric.Builder, ComputeAutoscalerAutoscalingPolicyMetric.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeAutoscalerAutoscalingPolicyMetric.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeAutoscalerAutoscalingPolicyMetric.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetName()The identifier (type) of the Stackdriver Monitoring metric.NumbergetTarget()The target value of the metric that autoscaler should maintain.StringgetType()Defines how target utilization value is expressed for a Stackdriver Monitoring metric.inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeAutoscalerAutoscalingPolicyMetric.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeAutoscalerAutoscalingPolicyMetric.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ComputeAutoscalerAutoscalingPolicyMetricThe 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:
getNamein interfaceComputeAutoscalerAutoscalingPolicyMetric
-
getTarget
public final Number getTarget()
Description copied from interface:ComputeAutoscalerAutoscalingPolicyMetricThe 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:
getTargetin interfaceComputeAutoscalerAutoscalingPolicyMetric
-
getType
public final String getType()
Description copied from interface:ComputeAutoscalerAutoscalingPolicyMetricDefines 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:
getTypein interfaceComputeAutoscalerAutoscalingPolicyMetric
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-