public final class StandardSchedulerSettings
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 App Engine 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.Flags
Constructor and Description |
---|
StandardSchedulerSettings() |
Modifier and Type | Method and Description |
---|---|
StandardSchedulerSettings |
clone() |
java.lang.Integer |
getMaxInstances()
Maximum number of instances to run for this version.
|
java.lang.Integer |
getMinInstances()
Minimum number of instances to run for this version.
|
java.lang.Double |
getTargetCpuUtilization()
Target CPU utilization ratio to maintain when scaling.
|
java.lang.Double |
getTargetThroughputUtilization()
Target throughput utilization ratio to maintain when scaling
|
StandardSchedulerSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
StandardSchedulerSettings |
setMaxInstances(java.lang.Integer maxInstances)
Maximum number of instances to run for this version.
|
StandardSchedulerSettings |
setMinInstances(java.lang.Integer minInstances)
Minimum number of instances to run for this version.
|
StandardSchedulerSettings |
setTargetCpuUtilization(java.lang.Double targetCpuUtilization)
Target CPU utilization ratio to maintain when scaling.
|
StandardSchedulerSettings |
setTargetThroughputUtilization(java.lang.Double targetThroughputUtilization)
Target throughput utilization ratio to maintain when scaling
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Integer getMaxInstances()
null
for nonepublic StandardSchedulerSettings setMaxInstances(java.lang.Integer maxInstances)
maxInstances
- maxInstances or null
for nonepublic java.lang.Integer getMinInstances()
null
for nonepublic StandardSchedulerSettings setMinInstances(java.lang.Integer minInstances)
minInstances
- minInstances or null
for nonepublic java.lang.Double getTargetCpuUtilization()
null
for nonepublic StandardSchedulerSettings setTargetCpuUtilization(java.lang.Double targetCpuUtilization)
targetCpuUtilization
- targetCpuUtilization or null
for nonepublic java.lang.Double getTargetThroughputUtilization()
null
for nonepublic StandardSchedulerSettings setTargetThroughputUtilization(java.lang.Double targetThroughputUtilization)
targetThroughputUtilization
- targetThroughputUtilization or null
for nonepublic StandardSchedulerSettings set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public StandardSchedulerSettings clone()
clone
in class com.google.api.client.json.GenericJson