public final class GoogleCloudMlV1AutoScaling extends 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 AI Platform Training & Prediction API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudMlV1AutoScaling() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudMlV1AutoScaling |
clone() |
Integer |
getMaxNodes()
The maximum number of nodes to scale this model under load.
|
List<GoogleCloudMlV1MetricSpec> |
getMetrics()
MetricSpec contains the specifications to use to calculate the desired nodes count.
|
Integer |
getMinNodes()
Optional.
|
GoogleCloudMlV1AutoScaling |
set(String fieldName,
Object value) |
GoogleCloudMlV1AutoScaling |
setMaxNodes(Integer maxNodes)
The maximum number of nodes to scale this model under load.
|
GoogleCloudMlV1AutoScaling |
setMetrics(List<GoogleCloudMlV1MetricSpec> metrics)
MetricSpec contains the specifications to use to calculate the desired nodes count.
|
GoogleCloudMlV1AutoScaling |
setMinNodes(Integer minNodes)
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 Integer getMaxNodes()
null for nonepublic GoogleCloudMlV1AutoScaling setMaxNodes(Integer maxNodes)
maxNodes - maxNodes or null for nonepublic List<GoogleCloudMlV1MetricSpec> getMetrics()
null for nonepublic GoogleCloudMlV1AutoScaling setMetrics(List<GoogleCloudMlV1MetricSpec> metrics)
metrics - metrics or null for nonepublic Integer getMinNodes()
null for nonepublic GoogleCloudMlV1AutoScaling setMinNodes(Integer minNodes)
minNodes - minNodes or null for nonepublic GoogleCloudMlV1AutoScaling set(String fieldName, Object value)
set in class GenericJsonpublic GoogleCloudMlV1AutoScaling clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.