public static final class UpdateGatewayRouteCORSResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateGatewayRouteCORSResponseBody |
build() |
UpdateGatewayRouteCORSResponseBody.Builder |
code(Integer code)
The status code returned.
|
UpdateGatewayRouteCORSResponseBody.Builder |
data(Long data)
The data structure.
|
UpdateGatewayRouteCORSResponseBody.Builder |
httpStatusCode(Integer httpStatusCode)
The HTTP status code returned.
|
UpdateGatewayRouteCORSResponseBody.Builder |
message(String message)
The error message.
|
UpdateGatewayRouteCORSResponseBody.Builder |
requestId(String requestId)
The ID of the request.
|
UpdateGatewayRouteCORSResponseBody.Builder |
success(Boolean success)
Indicates whether the request was successful.
|
public UpdateGatewayRouteCORSResponseBody.Builder code(Integer code)
The status code returned.
example:200
public UpdateGatewayRouteCORSResponseBody.Builder data(Long data)
The data structure.
example:618
public UpdateGatewayRouteCORSResponseBody.Builder httpStatusCode(Integer httpStatusCode)
The HTTP status code returned.
example:200
public UpdateGatewayRouteCORSResponseBody.Builder message(String message)
The error message.
example:You are not authorized to perform this operation.
public UpdateGatewayRouteCORSResponseBody.Builder requestId(String requestId)
The ID of the request.
example:41BE990E-44E4-5ED3-AEEB-A276941B1854
public UpdateGatewayRouteCORSResponseBody.Builder success(Boolean success)
Indicates whether the request was successful. Valid values:
true: The request was successful.false: The request failed.true
public UpdateGatewayRouteCORSResponseBody build()
Copyright © 2026. All rights reserved.