public static final class UpdateApplicationScalingRuleResponseBody.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
UpdateApplicationScalingRuleResponseBody |
build() |
UpdateApplicationScalingRuleResponseBody.Builder |
code(String code)
The HTTP status code.
|
UpdateApplicationScalingRuleResponseBody.Builder |
data(UpdateApplicationScalingRuleResponseBody.Data data)
The returned result.
|
UpdateApplicationScalingRuleResponseBody.Builder |
errorCode(String errorCode)
The error code returned.
|
UpdateApplicationScalingRuleResponseBody.Builder |
message(String message)
The returned message.
|
UpdateApplicationScalingRuleResponseBody.Builder |
requestId(String requestId)
The request ID.
|
UpdateApplicationScalingRuleResponseBody.Builder |
success(Boolean success)
Specifies whether the instances are successfully restarted.
|
UpdateApplicationScalingRuleResponseBody.Builder |
traceId(String traceId)
The trace ID that is used to query the details of the request.
|
public UpdateApplicationScalingRuleResponseBody.Builder code(String code)
* **2xx**: The call was successful. * **3xx**: The call was redirected. * **4xx**: The call failed. * **5xx**: A server error occurred.
public UpdateApplicationScalingRuleResponseBody.Builder data(UpdateApplicationScalingRuleResponseBody.Data data)
public UpdateApplicationScalingRuleResponseBody.Builder errorCode(String errorCode)
* If the call is successful, **ErrorCode** is not returned. * If the call fails, **ErrorCode** is returned. For more information, see the "**Error codes**" section in this topic.
public UpdateApplicationScalingRuleResponseBody.Builder message(String message)
* If the call is successful, **success** is returned. * If the call fails, an error code is returned.
public UpdateApplicationScalingRuleResponseBody.Builder requestId(String requestId)
public UpdateApplicationScalingRuleResponseBody.Builder success(Boolean success)
* **true** * **false**
public UpdateApplicationScalingRuleResponseBody.Builder traceId(String traceId)
public UpdateApplicationScalingRuleResponseBody build()
Copyright © 2024. All rights reserved.