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.Flags
AbstractMap.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.
|
Boolean |
getFailover()
This field designates whether this is a failover backend.
|
String |
getGroup()
The fully-qualified URL of an instance group or network endpoint group (NEG) resource.
|
Integer |
getMaxConnections()
Defines a target maximum number of simultaneous connections that the backend can handle.
|
Integer |
getMaxConnectionsPerEndpoint()
Defines a target maximum number of simultaneous connections for an endpoint of a NEG.
|
Integer |
getMaxConnectionsPerInstance()
Defines a target maximum number of simultaneous connections for a single VM in a backend
instance group.
|
Integer |
getMaxRate()
Defines a maximum number of HTTP requests per second (RPS) that the backend can handle.
|
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 backend 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 |
setFailover(Boolean failover)
This field designates whether this is a failover backend.
|
Backend |
setGroup(String group)
The fully-qualified URL of an instance group or network endpoint group (NEG) resource.
|
Backend |
setMaxConnections(Integer maxConnections)
Defines a target maximum number of simultaneous connections that the backend can handle.
|
Backend |
setMaxConnectionsPerEndpoint(Integer maxConnectionsPerEndpoint)
Defines a target maximum number of simultaneous connections for an endpoint of a NEG.
|
Backend |
setMaxConnectionsPerInstance(Integer maxConnectionsPerInstance)
Defines a target maximum number of simultaneous connections for a single VM in a backend
instance group.
|
Backend |
setMaxRate(Integer maxRate)
Defines a maximum number of HTTP requests per second (RPS) that the backend can handle.
|
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 backend utilization of a backend VM in an instance group.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 Boolean getFailover()
null
for nonepublic Backend setFailover(Boolean failover)
failover
- failover 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 GenericJson
public Backend clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.