public final class Backend
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 Compute Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Backend() |
Modifier and Type | Method and Description |
---|---|
Backend |
clone() |
java.lang.String |
getBalancingMode()
The balancing mode of this backend, default is UTILIZATION.
|
java.lang.Float |
getCapacityScaler()
The multiplier (a value between 0.0 and 1.0) of the max capacity (CPU or RPS, depending on
'balancingMode') the group should serve up to.
|
java.lang.String |
getDescription()
An optional textual description of the resource, which is provided by the client when the
resource is created.
|
java.lang.String |
getGroup()
URL of a zonal Cloud Resource View resource.
|
java.lang.Integer |
getMaxRate()
The max RPS of the group.
|
java.lang.Float |
getMaxRatePerInstance()
The max RPS that a single backed instance can handle.
|
java.lang.Float |
getMaxUtilization()
Used when 'balancingMode' is UTILIZATION.
|
Backend |
set(java.lang.String fieldName,
java.lang.Object value) |
Backend |
setBalancingMode(java.lang.String balancingMode)
The balancing mode of this backend, default is UTILIZATION.
|
Backend |
setCapacityScaler(java.lang.Float capacityScaler)
The multiplier (a value between 0.0 and 1.0) of the max capacity (CPU or RPS, depending on
'balancingMode') the group should serve up to.
|
Backend |
setDescription(java.lang.String description)
An optional textual description of the resource, which is provided by the client when the
resource is created.
|
Backend |
setGroup(java.lang.String group)
URL of a zonal Cloud Resource View resource.
|
Backend |
setMaxRate(java.lang.Integer maxRate)
The max RPS of the group.
|
Backend |
setMaxRatePerInstance(java.lang.Float maxRatePerInstance)
The max RPS that a single backed instance can handle.
|
Backend |
setMaxUtilization(java.lang.Float maxUtilization)
Used when 'balancingMode' is UTILIZATION.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getBalancingMode()
null
for nonepublic Backend setBalancingMode(java.lang.String balancingMode)
balancingMode
- balancingMode or null
for nonepublic java.lang.Float getCapacityScaler()
null
for nonepublic Backend setCapacityScaler(java.lang.Float capacityScaler)
capacityScaler
- capacityScaler or null
for nonepublic java.lang.String getDescription()
null
for nonepublic Backend setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getGroup()
null
for nonepublic Backend setGroup(java.lang.String group)
group
- group or null
for nonepublic java.lang.Integer getMaxRate()
null
for nonepublic Backend setMaxRate(java.lang.Integer maxRate)
maxRate
- maxRate or null
for nonepublic java.lang.Float getMaxRatePerInstance()
null
for nonepublic Backend setMaxRatePerInstance(java.lang.Float maxRatePerInstance)
maxRatePerInstance
- maxRatePerInstance or null
for nonepublic java.lang.Float getMaxUtilization()
null
for nonepublic Backend setMaxUtilization(java.lang.Float maxUtilization)
maxUtilization
- maxUtilization or null
for nonepublic Backend set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Backend clone()
clone
in class com.google.api.client.json.GenericJson