public static final class AddGatewayAuthConsumerResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddGatewayAuthConsumerResponseBody |
build() |
AddGatewayAuthConsumerResponseBody.Builder |
code(Integer code)
The status code.
|
AddGatewayAuthConsumerResponseBody.Builder |
data(Long data)
The ID of the consumer.
|
AddGatewayAuthConsumerResponseBody.Builder |
dynamicCode(String dynamicCode)
The dynamic part in the error message.
|
AddGatewayAuthConsumerResponseBody.Builder |
dynamicMessage(String dynamicMessage)
The dynamic part in the error message.
|
AddGatewayAuthConsumerResponseBody.Builder |
errorCode(String errorCode)
The error code that is returned.
|
AddGatewayAuthConsumerResponseBody.Builder |
httpStatusCode(Integer httpStatusCode)
The HTTP status code returned.
|
AddGatewayAuthConsumerResponseBody.Builder |
message(String message)
The error message returned.
|
AddGatewayAuthConsumerResponseBody.Builder |
requestId(String requestId)
The ID of the request.
|
AddGatewayAuthConsumerResponseBody.Builder |
success(Boolean success)
Indicates whether the request was successful.
|
public AddGatewayAuthConsumerResponseBody.Builder code(Integer code)
The status code. A value of 200 is returned if the request is successful.
example:200
public AddGatewayAuthConsumerResponseBody.Builder data(Long data)
The ID of the consumer.
example:2
public AddGatewayAuthConsumerResponseBody.Builder dynamicCode(String dynamicCode)
The dynamic part in the error message.
example:code
public AddGatewayAuthConsumerResponseBody.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:If the return value of the
ErrMessageparameter isThe Value of Input Parameter %s is not validand the return value of theDynamicMessageparameter isDtsJobId, the specifiedDtsJobIdparameter is invalid.
The specified parameter is invalid.
public AddGatewayAuthConsumerResponseBody.Builder errorCode(String errorCode)
The error code that is returned.
example:mse-100-000
public AddGatewayAuthConsumerResponseBody.Builder httpStatusCode(Integer httpStatusCode)
The HTTP status code returned.
example:200
public AddGatewayAuthConsumerResponseBody.Builder message(String message)
The error message returned.
example:The request is successfully processed.
public AddGatewayAuthConsumerResponseBody.Builder requestId(String requestId)
The ID of the request.
example:69AD2AA7-DB47-449B-941B-B14409DF****
public AddGatewayAuthConsumerResponseBody.Builder success(Boolean success)
Indicates whether the request was successful. Valid values:
true: The request was successful.false: The request failed.True
public AddGatewayAuthConsumerResponseBody build()
Copyright © 2026. All rights reserved.