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