public static final class RestartApplicationResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
RestartApplicationResponseBody |
build() |
RestartApplicationResponseBody.Builder |
code(String code)
The HTTP status code.
|
RestartApplicationResponseBody.Builder |
data(RestartApplicationResponseBody.Data data)
The response.
|
RestartApplicationResponseBody.Builder |
errorCode(String errorCode)
The error code returned if the request failed.
|
RestartApplicationResponseBody.Builder |
message(String message)
The additional information that is returned.
|
RestartApplicationResponseBody.Builder |
requestId(String requestId)
The ID of the request.
|
RestartApplicationResponseBody.Builder |
success(Boolean success)
Indicates whether the instance is successfully restarted.
|
RestartApplicationResponseBody.Builder |
traceId(String traceId)
The trace ID that is used to query the details of the request.
|
public RestartApplicationResponseBody.Builder code(String code)
The HTTP status code. Take note of the following rules:
200
public RestartApplicationResponseBody.Builder data(RestartApplicationResponseBody.Data data)
The response.
public RestartApplicationResponseBody.Builder errorCode(String errorCode)
The error code returned if the request failed. Take note of the following rules:
Null
public RestartApplicationResponseBody.Builder message(String message)
The additional information that is returned. Take note of the following rules:
success
public RestartApplicationResponseBody.Builder requestId(String requestId)
The ID of the request.
example:91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
public RestartApplicationResponseBody.Builder success(Boolean success)
Indicates whether the instance is successfully restarted. Take note of the following rules:
true
public RestartApplicationResponseBody.Builder traceId(String traceId)
The trace ID that is used to query the details of the request.
example:0a98a02315955564772843261e****
public RestartApplicationResponseBody build()
Copyright © 2026. All rights reserved.