public final class Backend extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Backend() |
| Modifier and Type | Method and Description |
|---|---|
Backend |
clone() |
String |
getBalancingMode()
Specifies the balancing mode for the backend.
|
Float |
getCapacityScaler()
A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or
CONNECTION).
|
String |
getDescription()
An optional description of this resource.
|
String |
getGroup()
The fully-qualified URL of an instance group or network endpoint group (NEG) resource.
|
Integer |
getMaxConnections()
Defines a maximum target for simultaneous connections for the entire backend (instance group or
NEG).
|
Integer |
getMaxConnectionsPerEndpoint()
Defines a maximum target for simultaneous connections for an endpoint of a NEG.
|
Integer |
getMaxConnectionsPerInstance()
Defines a maximum target for simultaneous connections for a single VM in a backend instance
group.
|
Integer |
getMaxRate()
The max requests per second (RPS) of the group.
|
Float |
getMaxRatePerEndpoint()
Defines a maximum target for requests per second (RPS) for an endpoint of a NEG.
|
Float |
getMaxRatePerInstance()
Defines a maximum target for requests per second (RPS) for a single VM in a backend instance
group.
|
Float |
getMaxUtilization()
Defines the maximum average CPU utilization of a backend VM in an instance group.
|
Backend |
set(String fieldName,
Object value) |
Backend |
setBalancingMode(String balancingMode)
Specifies the balancing mode for the backend.
|
Backend |
setCapacityScaler(Float capacityScaler)
A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or
CONNECTION).
|
Backend |
setDescription(String description)
An optional description of this resource.
|
Backend |
setGroup(String group)
The fully-qualified URL of an instance group or network endpoint group (NEG) resource.
|
Backend |
setMaxConnections(Integer maxConnections)
Defines a maximum target for simultaneous connections for the entire backend (instance group or
NEG).
|
Backend |
setMaxConnectionsPerEndpoint(Integer maxConnectionsPerEndpoint)
Defines a maximum target for simultaneous connections for an endpoint of a NEG.
|
Backend |
setMaxConnectionsPerInstance(Integer maxConnectionsPerInstance)
Defines a maximum target for simultaneous connections for a single VM in a backend instance
group.
|
Backend |
setMaxRate(Integer maxRate)
The max requests per second (RPS) of the group.
|
Backend |
setMaxRatePerEndpoint(Float maxRatePerEndpoint)
Defines a maximum target for requests per second (RPS) for an endpoint of a NEG.
|
Backend |
setMaxRatePerInstance(Float maxRatePerInstance)
Defines a maximum target for requests per second (RPS) for a single VM in a backend instance
group.
|
Backend |
setMaxUtilization(Float maxUtilization)
Defines the maximum average CPU utilization of a backend VM in an instance group.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getBalancingMode()
null for nonepublic Backend setBalancingMode(String balancingMode)
balancingMode - balancingMode or null for nonepublic Float getCapacityScaler()
null for nonepublic Backend setCapacityScaler(Float capacityScaler)
capacityScaler - capacityScaler or null for nonepublic String getDescription()
null for nonepublic Backend setDescription(String description)
description - description or null for nonepublic String getGroup()
null for nonepublic Backend setGroup(String group)
group - group or null for nonepublic Integer getMaxConnections()
null for nonepublic Backend setMaxConnections(Integer maxConnections)
maxConnections - maxConnections or null for nonepublic Integer getMaxConnectionsPerEndpoint()
null for nonepublic Backend setMaxConnectionsPerEndpoint(Integer maxConnectionsPerEndpoint)
maxConnectionsPerEndpoint - maxConnectionsPerEndpoint or null for nonepublic Integer getMaxConnectionsPerInstance()
null for nonepublic Backend setMaxConnectionsPerInstance(Integer maxConnectionsPerInstance)
maxConnectionsPerInstance - maxConnectionsPerInstance or null for nonepublic Integer getMaxRate()
null for nonepublic Backend setMaxRate(Integer maxRate)
maxRate - maxRate or null for nonepublic Float getMaxRatePerEndpoint()
null for nonepublic Backend setMaxRatePerEndpoint(Float maxRatePerEndpoint)
maxRatePerEndpoint - maxRatePerEndpoint or null for nonepublic Float getMaxRatePerInstance()
null for nonepublic Backend setMaxRatePerInstance(Float maxRatePerInstance)
maxRatePerInstance - maxRatePerInstance or null for nonepublic Float getMaxUtilization()
null for nonepublic Backend setMaxUtilization(Float maxUtilization)
maxUtilization - maxUtilization or null for nonepublic Backend set(String fieldName, Object value)
set in class GenericJsonpublic Backend clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.