public static final class EnableProxyProtocolRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
EnableProxyProtocolRequest.Builder |
acceptLanguage(String acceptLanguage)
The language in which you want to display the results.
|
EnableProxyProtocolRequest |
build() |
EnableProxyProtocolRequest.Builder |
enableProxyProtocol(Boolean enableProxyProtocol)
Specifies whether to use the proxy protocol to preserve client IP addresses.
|
EnableProxyProtocolRequest.Builder |
gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
|
public EnableProxyProtocolRequest.Builder acceptLanguage(String acceptLanguage)
The language in which you want to display the results. Valid values: zh and en. zh indicates Chinese, which is the default value. en indicates English.
example:zh
public EnableProxyProtocolRequest.Builder enableProxyProtocol(Boolean enableProxyProtocol)
Specifies whether to use the proxy protocol to preserve client IP addresses. Valid values:
This parameter is required.
example:true
public EnableProxyProtocolRequest.Builder gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
This parameter is required.
example:gw-c9bc5afd61014165bd58f621b491*****
public EnableProxyProtocolRequest build()
Copyright © 2026. All rights reserved.