public static final class AllocateCostUnitResourceResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AllocateCostUnitResourceResponseBody |
build() |
AllocateCostUnitResourceResponseBody.Builder |
code(String code)
The status code.
|
AllocateCostUnitResourceResponseBody.Builder |
data(AllocateCostUnitResourceResponseBody.Data data)
The data returned.
|
AllocateCostUnitResourceResponseBody.Builder |
message(String message)
The error message returned.
|
AllocateCostUnitResourceResponseBody.Builder |
requestId(String requestId)
The ID of the request.
|
AllocateCostUnitResourceResponseBody.Builder |
success(Boolean success)
Indicates whether the request was successful.
|
public AllocateCostUnitResourceResponseBody.Builder code(String code)
The status code.
example:success
public AllocateCostUnitResourceResponseBody.Builder data(AllocateCostUnitResourceResponseBody.Data data)
The data returned.
public AllocateCostUnitResourceResponseBody.Builder message(String message)
The error message returned.
example:Successful!
public AllocateCostUnitResourceResponseBody.Builder requestId(String requestId)
The ID of the request.
example:845C629F-47A7-4F46-A470-ED5047C4C250
public AllocateCostUnitResourceResponseBody.Builder success(Boolean success)
Indicates whether the request was successful.
example:false
public AllocateCostUnitResourceResponseBody build()
Copyright © 2026. All rights reserved.