public final class CpuUtilization
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 |
---|
CpuUtilization() |
Modifier and Type | Method and Description |
---|---|
CpuUtilization |
clone() |
java.lang.String |
getAggregationWindowLength()
Period of time over which CPU utilization is calculated.
|
java.lang.Double |
getTargetUtilization()
Target CPU utilization ratio to maintain when scaling.
|
CpuUtilization |
set(java.lang.String fieldName,
java.lang.Object value) |
CpuUtilization |
setAggregationWindowLength(java.lang.String aggregationWindowLength)
Period of time over which CPU utilization is calculated.
|
CpuUtilization |
setTargetUtilization(java.lang.Double targetUtilization)
Target CPU 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.String getAggregationWindowLength()
null
for nonepublic CpuUtilization setAggregationWindowLength(java.lang.String aggregationWindowLength)
aggregationWindowLength
- aggregationWindowLength or null
for nonepublic java.lang.Double getTargetUtilization()
null
for nonepublic CpuUtilization setTargetUtilization(java.lang.Double targetUtilization)
targetUtilization
- targetUtilization or null
for nonepublic CpuUtilization set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CpuUtilization clone()
clone
in class com.google.api.client.json.GenericJson