public class PutCustomMetricRuleResponseBody
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
code
The status code.
|
String |
message
The returned message.
|
String |
requestId
The request ID.
|
Boolean |
success
Indicates whether the request was successful.
|
| 构造器和说明 |
|---|
PutCustomMetricRuleResponseBody() |
| 限定符和类型 | 方法和说明 |
|---|---|
static PutCustomMetricRuleResponseBody |
build(Map<String,?> map) |
String |
getCode() |
String |
getMessage() |
String |
getRequestId() |
Boolean |
getSuccess() |
PutCustomMetricRuleResponseBody |
setCode(String code) |
PutCustomMetricRuleResponseBody |
setMessage(String message) |
PutCustomMetricRuleResponseBody |
setRequestId(String requestId) |
PutCustomMetricRuleResponseBody |
setSuccess(Boolean success) |
@NameInMap(value="Code") public String code
The status code.
example:The status code 200 indicates that the request was successful.
200
@NameInMap(value="Message") public String message
The returned message. If the request was successful, the return value is null. If the request failed, an error message is returned.
example:ComparisonOperator is mandatory for this action.
@NameInMap(value="RequestId") public String requestId
The request ID.
example:65D50468-ECEF-48F1-A6E1-D952E89D9432
@NameInMap(value="Success") public Boolean success
Indicates whether the request was successful. Valid values:
true
public static PutCustomMetricRuleResponseBody build(Map<String,?> map) throws Exception
Exceptionpublic PutCustomMetricRuleResponseBody setCode(String code)
public String getCode()
public PutCustomMetricRuleResponseBody setMessage(String message)
public String getMessage()
public PutCustomMetricRuleResponseBody setRequestId(String requestId)
public String getRequestId()
public PutCustomMetricRuleResponseBody setSuccess(Boolean success)
public Boolean getSuccess()
Copyright © 2026. All rights reserved.