public static final class AddGatewaySlbRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddGatewaySlbRequest.Builder |
acceptLanguage(String acceptLanguage)
The language of the response.
|
AddGatewaySlbRequest |
build() |
AddGatewaySlbRequest.Builder |
gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
|
AddGatewaySlbRequest.Builder |
httpPort(Integer httpPort)
The HTTP port number (virtual service group).
|
AddGatewaySlbRequest.Builder |
httpsPort(Integer httpsPort)
The HTTPS port number (virtual service group).
|
AddGatewaySlbRequest.Builder |
httpsVServerGroupId(String httpsVServerGroupId)
The ID of the HTTPS virtual service group.
|
AddGatewaySlbRequest.Builder |
serviceWeight(Integer serviceWeight)
The service weight.
|
AddGatewaySlbRequest.Builder |
slbId(String slbId)
The ID of the SLB instance.
|
AddGatewaySlbRequest.Builder |
type(String type)
The type of the service source.
|
AddGatewaySlbRequest.Builder |
vServerGroupId(String vServerGroupId)
The ID of the HTTP virtual service group.
|
AddGatewaySlbRequest.Builder |
vServiceList(List<AddGatewaySlbRequest.VServiceList> vServiceList)
The SLB monitoring information.
|
public AddGatewaySlbRequest.Builder acceptLanguage(String acceptLanguage)
The language of the response. Valid values:
zh
public AddGatewaySlbRequest.Builder gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
This parameter is required.
example:gw-9cdcf8e4f58144059e73ff4c5ef9****
public AddGatewaySlbRequest.Builder httpPort(Integer httpPort)
The HTTP port number (virtual service group).
example:80
public AddGatewaySlbRequest.Builder httpsPort(Integer httpsPort)
The HTTPS port number (virtual service group).
example:443
public AddGatewaySlbRequest.Builder httpsVServerGroupId(String httpsVServerGroupId)
The ID of the HTTPS virtual service group.
example:353
public AddGatewaySlbRequest.Builder serviceWeight(Integer serviceWeight)
The service weight.
example:80
public AddGatewaySlbRequest.Builder slbId(String slbId)
The ID of the SLB instance.
This parameter is required.
example:lb-bp18t6jjskwxh6wy1****
public AddGatewaySlbRequest.Builder type(String type)
The type of the service source. Valid values:
PUB_NET
public AddGatewaySlbRequest.Builder vServerGroupId(String vServerGroupId)
The ID of the HTTP virtual service group.
example:353
public AddGatewaySlbRequest.Builder vServiceList(List<AddGatewaySlbRequest.VServiceList> vServiceList)
The SLB monitoring information.
public AddGatewaySlbRequest build()
Copyright © 2026. All rights reserved.