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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Backend() |
| Modifier and Type | Method and Description |
|---|---|
Backend |
clone() |
java.lang.String |
getBalancingMode()
Specifies the balancing mode for this backend.
|
java.lang.Float |
getCapacityScaler()
A multiplier applied to the group's maximum servicing capacity (either UTILIZATION or RATE).
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.lang.String |
getGroup()
The fully-qualified URL of a zonal Instance Group resource.
|
java.lang.Integer |
getMaxRate()
The max requests per second (RPS) of the group.
|
java.lang.Float |
getMaxRatePerInstance()
The max requests per second (RPS) that a single backend instance can handle.This is used to
calculate the capacity of the group.
|
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)
Specifies the balancing mode for this backend.
|
Backend |
setCapacityScaler(java.lang.Float capacityScaler)
A multiplier applied to the group's maximum servicing capacity (either UTILIZATION or RATE).
|
Backend |
setDescription(java.lang.String description)
An optional description of this resource.
|
Backend |
setGroup(java.lang.String group)
The fully-qualified URL of a zonal Instance Group resource.
|
Backend |
setMaxRate(java.lang.Integer maxRate)
The max requests per second (RPS) of the group.
|
Backend |
setMaxRatePerInstance(java.lang.Float maxRatePerInstance)
The max requests per second (RPS) that a single backend instance can handle.This is used to
calculate the capacity of the group.
|
Backend |
setMaxUtilization(java.lang.Float maxUtilization)
Used when balancingMode is UTILIZATION.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic 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.GenericJsonpublic Backend clone()
clone in class com.google.api.client.json.GenericJson