public static final class ListGatewayResponseBody.ElasticPolicy.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ListGatewayResponseBody.ElasticPolicy |
build() |
ListGatewayResponseBody.ElasticPolicy.Builder |
elastic(Boolean elastic)
Indicates whether auto scale-out is enabled.
|
ListGatewayResponseBody.ElasticPolicy.Builder |
elasticType(String elasticType)
The type of auto scale-out.
|
ListGatewayResponseBody.ElasticPolicy.Builder |
enableScaleTimePolicyList(List<ListGatewayResponseBody.EnableScaleTimePolicyList> enableScaleTimePolicyList)
EnableScaleTimePolicyList.
|
ListGatewayResponseBody.ElasticPolicy.Builder |
loadWarningThreshold(Boolean loadWarningThreshold)
LoadWarningThreshold.
|
ListGatewayResponseBody.ElasticPolicy.Builder |
maxReplica(Integer maxReplica)
The maximum number of instances that are automatically scaled out.
|
ListGatewayResponseBody.ElasticPolicy.Builder |
timePolicyList(List<ListGatewayResponseBody.TimePolicyList> timePolicyList)
The time policy list for auto scale-out.
|
public ListGatewayResponseBody.ElasticPolicy.Builder elastic(Boolean elastic)
Indicates whether auto scale-out is enabled.
example:true
public ListGatewayResponseBody.ElasticPolicy.Builder elasticType(String elasticType)
The type of auto scale-out. Valid value:
CronHPA
public ListGatewayResponseBody.ElasticPolicy.Builder enableScaleTimePolicyList(List<ListGatewayResponseBody.EnableScaleTimePolicyList> enableScaleTimePolicyList)
public ListGatewayResponseBody.ElasticPolicy.Builder loadWarningThreshold(Boolean loadWarningThreshold)
public ListGatewayResponseBody.ElasticPolicy.Builder maxReplica(Integer maxReplica)
The maximum number of instances that are automatically scaled out. This parameter is used for horizontal scale-out.
example:10
public ListGatewayResponseBody.ElasticPolicy.Builder timePolicyList(List<ListGatewayResponseBody.TimePolicyList> timePolicyList)
The time policy list for auto scale-out.
public ListGatewayResponseBody.ElasticPolicy build()
Copyright © 2026. All rights reserved.