public final class UtilizationRange
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
UtilizationRange() |
| Modifier and Type | Method and Description |
|---|---|
UtilizationRange |
clone() |
Double |
getMaxUtilization()
Required.
|
Double |
getMinUtilization()
Required.
|
Double |
getUtilizationTarget()
The target utilization that the autoscaler aims to achieve when scaling is triggered.
|
UtilizationRange |
set(String fieldName,
Object value) |
UtilizationRange |
setMaxUtilization(Double maxUtilization)
Required.
|
UtilizationRange |
setMinUtilization(Double minUtilization)
Required.
|
UtilizationRange |
setUtilizationTarget(Double utilizationTarget)
The target utilization that the autoscaler aims to achieve when scaling is triggered.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Double getMaxUtilization()
null for nonepublic UtilizationRange setMaxUtilization(Double maxUtilization)
maxUtilization - maxUtilization or null for nonepublic Double getMinUtilization()
null for nonepublic UtilizationRange setMinUtilization(Double minUtilization)
minUtilization - minUtilization or null for nonepublic Double getUtilizationTarget()
null for nonepublic UtilizationRange setUtilizationTarget(Double utilizationTarget)
utilizationTarget - utilizationTarget or null for nonepublic UtilizationRange set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic UtilizationRange clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.