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
AbstractMap.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, 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 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 com.google.api.client.json.GenericJson
public ConsistentHashLoadBalancerSettings clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.