public static class ConsistentHashLoadBalancerSettings.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ConsistentHashLoadBalancerSettings |
build() |
ConsistentHashLoadBalancerSettings.Builder |
clone() |
ConsistentHashLoadBalancerSettingsHttpCookie |
getHttpCookie()
Hash is based on HTTP Cookie.
|
String |
getHttpHeaderName()
The hash based on the value of the specified header field.
|
String |
getMinimumRingSize()
The minimum number of virtual nodes to use for the hash ring.
|
ConsistentHashLoadBalancerSettings.Builder |
mergeFrom(ConsistentHashLoadBalancerSettings other) |
ConsistentHashLoadBalancerSettings.Builder |
setHttpCookie(ConsistentHashLoadBalancerSettingsHttpCookie httpCookie)
Hash is based on HTTP Cookie.
|
ConsistentHashLoadBalancerSettings.Builder |
setHttpHeaderName(String httpHeaderName)
The hash based on the value of the specified header field.
|
ConsistentHashLoadBalancerSettings.Builder |
setMinimumRingSize(String minimumRingSize)
The minimum number of virtual nodes to use for the hash ring.
|
public ConsistentHashLoadBalancerSettings.Builder mergeFrom(ConsistentHashLoadBalancerSettings other)
public ConsistentHashLoadBalancerSettingsHttpCookie getHttpCookie()
public ConsistentHashLoadBalancerSettings.Builder setHttpCookie(ConsistentHashLoadBalancerSettingsHttpCookie httpCookie)
public String getHttpHeaderName()
public ConsistentHashLoadBalancerSettings.Builder setHttpHeaderName(String httpHeaderName)
public String getMinimumRingSize()
public ConsistentHashLoadBalancerSettings.Builder setMinimumRingSize(String minimumRingSize)
public ConsistentHashLoadBalancerSettings build()
public ConsistentHashLoadBalancerSettings.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.