public class CreatePrometheusMonitoringResponseBody
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
code
The status code.
|
String |
data
The name of the monitoring configuration that was added, or the exception information.
|
String |
message
The returned message.
|
String |
requestId
The request ID.
|
| 构造器和说明 |
|---|
CreatePrometheusMonitoringResponseBody() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreatePrometheusMonitoringResponseBody |
build(Map<String,?> map) |
Integer |
getCode() |
String |
getData() |
String |
getMessage() |
String |
getRequestId() |
CreatePrometheusMonitoringResponseBody |
setCode(Integer code) |
CreatePrometheusMonitoringResponseBody |
setData(String data) |
CreatePrometheusMonitoringResponseBody |
setMessage(String message) |
CreatePrometheusMonitoringResponseBody |
setRequestId(String requestId) |
@NameInMap(value="Code") public Integer code
The status code. The status code 200 indicates that the request was successful.
example:200
@NameInMap(value="Data") public String data
The name of the monitoring configuration that was added, or the exception information.
example:name1
@NameInMap(value="Message") public String message
The returned message.
example:message
@NameInMap(value="RequestId") public String requestId
The request ID.
example:21E85B16-75A6-429A-9F65-8AAC9A54****
public static CreatePrometheusMonitoringResponseBody build(Map<String,?> map) throws Exception
Exceptionpublic CreatePrometheusMonitoringResponseBody setCode(Integer code)
public Integer getCode()
public CreatePrometheusMonitoringResponseBody setData(String data)
public String getData()
public CreatePrometheusMonitoringResponseBody setMessage(String message)
public String getMessage()
public CreatePrometheusMonitoringResponseBody setRequestId(String requestId)
public String getRequestId()
Copyright © 2024. All rights reserved.