public final class AutoscalingSettings
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 Google Dataflow 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.Flags| Constructor and Description |
|---|
AutoscalingSettings() |
| Modifier and Type | Method and Description |
|---|---|
AutoscalingSettings |
clone() |
java.lang.String |
getAlgorithm()
The algorithm to use for autoscaling.
|
java.lang.Integer |
getMaxNumWorkers()
The maximum number of workers to cap scaling at.
|
AutoscalingSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
AutoscalingSettings |
setAlgorithm(java.lang.String algorithm)
The algorithm to use for autoscaling.
|
AutoscalingSettings |
setMaxNumWorkers(java.lang.Integer maxNumWorkers)
The maximum number of workers to cap scaling at.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAlgorithm()
null for nonepublic AutoscalingSettings setAlgorithm(java.lang.String algorithm)
algorithm - algorithm or null for nonepublic java.lang.Integer getMaxNumWorkers()
null for nonepublic AutoscalingSettings setMaxNumWorkers(java.lang.Integer maxNumWorkers)
maxNumWorkers - maxNumWorkers or null for nonepublic AutoscalingSettings set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic AutoscalingSettings clone()
clone in class com.google.api.client.json.GenericJson