public class GetPrometheusGlobalViewResponseBody
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
code
Status code. 200 is success, other status codes are exceptions.
|
String |
data
The struct returned.
|
String |
message
Returns a hint message for the result.
|
String |
requestId
The request ID.
|
| 构造器和说明 |
|---|
GetPrometheusGlobalViewResponseBody() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetPrometheusGlobalViewResponseBody |
build(Map<String,?> map) |
Integer |
getCode() |
String |
getData() |
String |
getMessage() |
String |
getRequestId() |
GetPrometheusGlobalViewResponseBody |
setCode(Integer code) |
GetPrometheusGlobalViewResponseBody |
setData(String data) |
GetPrometheusGlobalViewResponseBody |
setMessage(String message) |
GetPrometheusGlobalViewResponseBody |
setRequestId(String requestId) |
@NameInMap(value="Code") public Integer code
Status code. 200 is success, other status codes are exceptions.
example:200
@NameInMap(value="Data") public String data
The struct returned.
example:{ "clusterId":"The ID of the global aggregation instance.", "groupName":"The name of the global aggregation instance.", "dataSources":[ { "sourceName":"The name of the data source.- ArmsPrometheus No.1", "sourceType":"AlibabaPrometheus", "userId":"UserID", "clusterId":"ClusterId" }, // more datasources ] }
@NameInMap(value="Message") public String message
Returns a hint message for the result.
example:success
@NameInMap(value="RequestId") public String requestId
The request ID.
example:743AD493-D006-53BD-AAEC-DDCE7FB68EA7
public static GetPrometheusGlobalViewResponseBody build(Map<String,?> map) throws Exception
Exceptionpublic GetPrometheusGlobalViewResponseBody setCode(Integer code)
public Integer getCode()
public GetPrometheusGlobalViewResponseBody setData(String data)
public String getData()
public GetPrometheusGlobalViewResponseBody setMessage(String message)
public String getMessage()
public GetPrometheusGlobalViewResponseBody setRequestId(String requestId)
public String getRequestId()
Copyright © 2024. All rights reserved.