public static final class EnableProxyProtocolResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
EnableProxyProtocolResponseBody |
build() |
EnableProxyProtocolResponseBody.Builder |
code(Integer code)
The status code.
|
EnableProxyProtocolResponseBody.Builder |
data(Boolean data)
Indicates whether the request was successful.
|
EnableProxyProtocolResponseBody.Builder |
dynamicCode(String dynamicCode)
The dynamic part in the error message.
|
EnableProxyProtocolResponseBody.Builder |
dynamicMessage(String dynamicMessage)
The dynamic part in the error message.
|
EnableProxyProtocolResponseBody.Builder |
errorCode(String errorCode)
The status code.
|
EnableProxyProtocolResponseBody.Builder |
httpStatusCode(Integer httpStatusCode)
The HTTP status code.
|
EnableProxyProtocolResponseBody.Builder |
message(String message)
The returned message.
|
EnableProxyProtocolResponseBody.Builder |
requestId(String requestId)
The request ID.
|
EnableProxyProtocolResponseBody.Builder |
success(Boolean success)
Indicates whether the request was successful.
|
public EnableProxyProtocolResponseBody.Builder code(Integer code)
The status code. A value of 200 is returned if the request is successful.
example:200
public EnableProxyProtocolResponseBody.Builder data(Boolean data)
Indicates whether the request was successful. Valid values:
example:true
public EnableProxyProtocolResponseBody.Builder dynamicCode(String dynamicCode)
The dynamic part in the error message.
example:code
public EnableProxyProtocolResponseBody.Builder dynamicMessage(String dynamicMessage)
The dynamic part in the error message. This parameter is used to replace the %s variable in the ErrMessage parameter.
example:For example, if the return value of the ErrMessage parameter is The Value of Input Parameter %s is not valid and the return value of the DynamicMessage parameter is DtsJobId, the DtsJobId parameter in the request is invalid.
The specified parameter is invalid.
public EnableProxyProtocolResponseBody.Builder errorCode(String errorCode)
The status code.
example:Success
public EnableProxyProtocolResponseBody.Builder httpStatusCode(Integer httpStatusCode)
The HTTP status code.
example:200
public EnableProxyProtocolResponseBody.Builder message(String message)
The returned message.
example:OK
public EnableProxyProtocolResponseBody.Builder requestId(String requestId)
The request ID.
example:316F5F64-F73D-42DC-8632-01E308B6****
public EnableProxyProtocolResponseBody.Builder success(Boolean success)
Indicates whether the request was successful. Valid values:
true: The request was successful.false: The request failed.true
public EnableProxyProtocolResponseBody build()
Copyright © 2026. All rights reserved.