public final class ReadPoolAutoScaleConfig
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 Cloud SQL Admin 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 |
|---|
ReadPoolAutoScaleConfig() |
| Modifier and Type | Method and Description |
|---|---|
ReadPoolAutoScaleConfig |
clone() |
Boolean |
getDisableScaleIn()
Indicates whether read pool auto scaling supports scale in operations (removing nodes).
|
Boolean |
getEnabled()
Indicates whether read pool auto scaling is enabled.
|
Integer |
getMaxNodeCount()
Maximum number of read pool nodes to be maintained.
|
Integer |
getMinNodeCount()
Minimum number of read pool nodes to be maintained.
|
Integer |
getScaleInCooldownSeconds()
The cooldown period for scale-in operations.
|
Integer |
getScaleOutCooldownSeconds()
The cooldown period for scale-out operations.
|
List<TargetMetric> |
getTargetMetrics()
Optional.
|
ReadPoolAutoScaleConfig |
set(String fieldName,
Object value) |
ReadPoolAutoScaleConfig |
setDisableScaleIn(Boolean disableScaleIn)
Indicates whether read pool auto scaling supports scale in operations (removing nodes).
|
ReadPoolAutoScaleConfig |
setEnabled(Boolean enabled)
Indicates whether read pool auto scaling is enabled.
|
ReadPoolAutoScaleConfig |
setMaxNodeCount(Integer maxNodeCount)
Maximum number of read pool nodes to be maintained.
|
ReadPoolAutoScaleConfig |
setMinNodeCount(Integer minNodeCount)
Minimum number of read pool nodes to be maintained.
|
ReadPoolAutoScaleConfig |
setScaleInCooldownSeconds(Integer scaleInCooldownSeconds)
The cooldown period for scale-in operations.
|
ReadPoolAutoScaleConfig |
setScaleOutCooldownSeconds(Integer scaleOutCooldownSeconds)
The cooldown period for scale-out operations.
|
ReadPoolAutoScaleConfig |
setTargetMetrics(List<TargetMetric> targetMetrics)
Optional.
|
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 Boolean getDisableScaleIn()
null for nonepublic ReadPoolAutoScaleConfig setDisableScaleIn(Boolean disableScaleIn)
disableScaleIn - disableScaleIn or null for nonepublic Boolean getEnabled()
null for nonepublic ReadPoolAutoScaleConfig setEnabled(Boolean enabled)
enabled - enabled or null for nonepublic Integer getMaxNodeCount()
null for nonepublic ReadPoolAutoScaleConfig setMaxNodeCount(Integer maxNodeCount)
maxNodeCount - maxNodeCount or null for nonepublic Integer getMinNodeCount()
null for nonepublic ReadPoolAutoScaleConfig setMinNodeCount(Integer minNodeCount)
minNodeCount - minNodeCount or null for nonepublic Integer getScaleInCooldownSeconds()
null for nonepublic ReadPoolAutoScaleConfig setScaleInCooldownSeconds(Integer scaleInCooldownSeconds)
scaleInCooldownSeconds - scaleInCooldownSeconds or null for nonepublic Integer getScaleOutCooldownSeconds()
null for nonepublic ReadPoolAutoScaleConfig setScaleOutCooldownSeconds(Integer scaleOutCooldownSeconds)
scaleOutCooldownSeconds - scaleOutCooldownSeconds or null for nonepublic List<TargetMetric> getTargetMetrics()
null for nonepublic ReadPoolAutoScaleConfig setTargetMetrics(List<TargetMetric> targetMetrics)
targetMetrics - targetMetrics or null for nonepublic ReadPoolAutoScaleConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ReadPoolAutoScaleConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.