public final class ConsistentHashLoadBalancerSettings
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 |
---|
ConsistentHashLoadBalancerSettings() |
Modifier and Type | Method and Description |
---|---|
ConsistentHashLoadBalancerSettings |
clone() |
ConsistentHashLoadBalancerSettingsHttpCookie |
getHttpCookie()
Hash is based on HTTP Cookie.
|
java.lang.String |
getHttpHeaderName()
The hash based on the value of the specified header field.
|
java.lang.Long |
getMinimumRingSize()
The minimum number of virtual nodes to use for the hash ring.
|
ConsistentHashLoadBalancerSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
ConsistentHashLoadBalancerSettings |
setHttpCookie(ConsistentHashLoadBalancerSettingsHttpCookie httpCookie)
Hash is based on HTTP Cookie.
|
ConsistentHashLoadBalancerSettings |
setHttpHeaderName(java.lang.String httpHeaderName)
The hash based on the value of the specified header field.
|
ConsistentHashLoadBalancerSettings |
setMinimumRingSize(java.lang.Long minimumRingSize)
The minimum number of virtual nodes to use for the hash ring.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ConsistentHashLoadBalancerSettingsHttpCookie getHttpCookie()
null
for nonepublic ConsistentHashLoadBalancerSettings setHttpCookie(ConsistentHashLoadBalancerSettingsHttpCookie httpCookie)
httpCookie
- httpCookie or null
for nonepublic java.lang.String getHttpHeaderName()
null
for nonepublic ConsistentHashLoadBalancerSettings setHttpHeaderName(java.lang.String httpHeaderName)
httpHeaderName
- httpHeaderName or null
for nonepublic java.lang.Long getMinimumRingSize()
null
for nonepublic ConsistentHashLoadBalancerSettings setMinimumRingSize(java.lang.Long minimumRingSize)
minimumRingSize
- minimumRingSize or null
for nonepublic ConsistentHashLoadBalancerSettings set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ConsistentHashLoadBalancerSettings clone()
clone
in class com.google.api.client.json.GenericJson