public static final class ListGatewayServiceResponseBody.ConsistentHashLBConfig.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ListGatewayServiceResponseBody.ConsistentHashLBConfig |
build() |
ListGatewayServiceResponseBody.ConsistentHashLBConfig.Builder |
consistentHashLBType(String consistentHashLBType)
The type based on which consistent hashing load balancing is performed.
|
ListGatewayServiceResponseBody.ConsistentHashLBConfig.Builder |
httpCookie(ListGatewayServiceResponseBody.HttpCookie httpCookie)
The cookie-based load balancing parameters.
|
ListGatewayServiceResponseBody.ConsistentHashLBConfig.Builder |
minimumRingSize(Long minimumRingSize)
The minimum value of the hash ring.
|
ListGatewayServiceResponseBody.ConsistentHashLBConfig.Builder |
parameterName(String parameterName)
The name of the parameter.
|
public ListGatewayServiceResponseBody.ConsistentHashLBConfig.Builder consistentHashLBType(String consistentHashLBType)
The type based on which consistent hashing load balancing is performed.
HEADER
public ListGatewayServiceResponseBody.ConsistentHashLBConfig.Builder httpCookie(ListGatewayServiceResponseBody.HttpCookie httpCookie)
The cookie-based load balancing parameters.
public ListGatewayServiceResponseBody.ConsistentHashLBConfig.Builder minimumRingSize(Long minimumRingSize)
The minimum value of the hash ring.
example:10000
public ListGatewayServiceResponseBody.ConsistentHashLBConfig.Builder parameterName(String parameterName)
The name of the parameter.
example:param
public ListGatewayServiceResponseBody.ConsistentHashLBConfig build()
Copyright © 2026. All rights reserved.