public final class ConsistentHashLoadBalancerSettings 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 |
|---|
ConsistentHashLoadBalancerSettings() |
| Modifier and Type | Method and Description |
|---|---|
ConsistentHashLoadBalancerSettings |
clone() |
ConsistentHashLoadBalancerSettingsHttpCookie |
getHttpCookie()
Hash is based on HTTP Cookie.
|
String |
getHttpHeaderName()
The hash based on the value of the specified header field.
|
Long |
getMinimumRingSize()
The minimum number of virtual nodes to use for the hash ring.
|
ConsistentHashLoadBalancerSettings |
set(String fieldName,
Object value) |
ConsistentHashLoadBalancerSettings |
setHttpCookie(ConsistentHashLoadBalancerSettingsHttpCookie httpCookie)
Hash is based on HTTP Cookie.
|
ConsistentHashLoadBalancerSettings |
setHttpHeaderName(String httpHeaderName)
The hash based on the value of the specified header field.
|
ConsistentHashLoadBalancerSettings |
setMinimumRingSize(Long minimumRingSize)
The minimum number of virtual nodes to use for the hash ring.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ConsistentHashLoadBalancerSettingsHttpCookie getHttpCookie()
null for nonepublic ConsistentHashLoadBalancerSettings setHttpCookie(ConsistentHashLoadBalancerSettingsHttpCookie httpCookie)
httpCookie - httpCookie or null for nonepublic String getHttpHeaderName()
null for nonepublic ConsistentHashLoadBalancerSettings setHttpHeaderName(String httpHeaderName)
httpHeaderName - httpHeaderName or null for nonepublic Long getMinimumRingSize()
null for nonepublic ConsistentHashLoadBalancerSettings setMinimumRingSize(Long minimumRingSize)
minimumRingSize - minimumRingSize or null for nonepublic ConsistentHashLoadBalancerSettings set(String fieldName, Object value)
set in class GenericJsonpublic ConsistentHashLoadBalancerSettings clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.