![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.polardb20170801.models.DescribeDBClusterPerformanceResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;
import com.aliyun.tea.*;
public class DescribeDBClusterPerformanceResponseBody extends TeaModel {
/**
* The cluster ID.
*
* example:
* pc-*****************
*/
@NameInMap("DBClusterId")
public String DBClusterId;
/**
* The type of the database engine.
*
* example:
* MySQL
*/
@NameInMap("DBType")
public String DBType;
/**
* The version of the database engine.
*
* example:
* 8.0
*/
@NameInMap("DBVersion")
public String DBVersion;
/**
* The end time of the query. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ
format. The time is displayed in UTC.
*
* example:
* 2020-09-23T01:01:00Z
*/
@NameInMap("EndTime")
public String endTime;
/**
* The cluster performance metrics.
*/
@NameInMap("PerformanceKeys")
public DescribeDBClusterPerformanceResponseBodyPerformanceKeys performanceKeys;
/**
* The request ID.
*
* example:
* 35D3E3DA-4650-407A-BFF5-59BFF1******
*/
@NameInMap("RequestId")
public String requestId;
/**
* The start time of the query. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ
format. The time is displayed in UTC.
*
* example:
* 2020-09-23T01:00:00Z
*/
@NameInMap("StartTime")
public String startTime;
public static DescribeDBClusterPerformanceResponseBody build(java.util.Map map) throws Exception {
DescribeDBClusterPerformanceResponseBody self = new DescribeDBClusterPerformanceResponseBody();
return TeaModel.build(map, self);
}
public DescribeDBClusterPerformanceResponseBody setDBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
public String getDBClusterId() {
return this.DBClusterId;
}
public DescribeDBClusterPerformanceResponseBody setDBType(String DBType) {
this.DBType = DBType;
return this;
}
public String getDBType() {
return this.DBType;
}
public DescribeDBClusterPerformanceResponseBody setDBVersion(String DBVersion) {
this.DBVersion = DBVersion;
return this;
}
public String getDBVersion() {
return this.DBVersion;
}
public DescribeDBClusterPerformanceResponseBody setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
public String getEndTime() {
return this.endTime;
}
public DescribeDBClusterPerformanceResponseBody setPerformanceKeys(DescribeDBClusterPerformanceResponseBodyPerformanceKeys performanceKeys) {
this.performanceKeys = performanceKeys;
return this;
}
public DescribeDBClusterPerformanceResponseBodyPerformanceKeys getPerformanceKeys() {
return this.performanceKeys;
}
public DescribeDBClusterPerformanceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeDBClusterPerformanceResponseBody setStartTime(String startTime) {
this.startTime = startTime;
return this;
}
public String getStartTime() {
return this.startTime;
}
public static class DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue extends TeaModel {
/**
* The timestamp of the metric. This value is a UNIX timestamp. Unit: millisecond.
*
* example:
* 1600822800000
*/
@NameInMap("Timestamp")
public Long timestamp;
/**
* The value of the metric.
*
* example:
* 42.38
*/
@NameInMap("Value")
public String value;
public static DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue build(java.util.Map map) throws Exception {
DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue self = new DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue();
return TeaModel.build(map, self);
}
public DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue setTimestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
public Long getTimestamp() {
return this.timestamp;
}
public DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPoints extends TeaModel {
@NameInMap("PerformanceItemValue")
public java.util.List performanceItemValue;
public static DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPoints build(java.util.Map map) throws Exception {
DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPoints self = new DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPoints();
return TeaModel.build(map, self);
}
public DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPoints setPerformanceItemValue(java.util.List performanceItemValue) {
this.performanceItemValue = performanceItemValue;
return this;
}
public java.util.List getPerformanceItemValue() {
return this.performanceItemValue;
}
}
public static class DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItem extends TeaModel {
/**
* The ID of the cluster node.
*
* The value of this parameter is not returned if the Key
parameter is set to PolarDBDiskUsage
.
*
*
* example:
* pi-*************
*/
@NameInMap("DBNodeId")
public String DBNodeId;
/**
* The performance metrics that are returned.
*
* example:
* PolarDBDiskUsage
*/
@NameInMap("Measurement")
public String measurement;
/**
* The name of the performance metric.
*
* example:
* mean_data_size
*/
@NameInMap("MetricName")
public String metricName;
/**
* The performance metrics.
*/
@NameInMap("Points")
public DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPoints points;
public static DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItem build(java.util.Map map) throws Exception {
DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItem self = new DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItem();
return TeaModel.build(map, self);
}
public DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItem setDBNodeId(String DBNodeId) {
this.DBNodeId = DBNodeId;
return this;
}
public String getDBNodeId() {
return this.DBNodeId;
}
public DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItem setMeasurement(String measurement) {
this.measurement = measurement;
return this;
}
public String getMeasurement() {
return this.measurement;
}
public DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItem setMetricName(String metricName) {
this.metricName = metricName;
return this;
}
public String getMetricName() {
return this.metricName;
}
public DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItem setPoints(DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPoints points) {
this.points = points;
return this;
}
public DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPoints getPoints() {
return this.points;
}
}
public static class DescribeDBClusterPerformanceResponseBodyPerformanceKeys extends TeaModel {
@NameInMap("PerformanceItem")
public java.util.List performanceItem;
public static DescribeDBClusterPerformanceResponseBodyPerformanceKeys build(java.util.Map map) throws Exception {
DescribeDBClusterPerformanceResponseBodyPerformanceKeys self = new DescribeDBClusterPerformanceResponseBodyPerformanceKeys();
return TeaModel.build(map, self);
}
public DescribeDBClusterPerformanceResponseBodyPerformanceKeys setPerformanceItem(java.util.List performanceItem) {
this.performanceItem = performanceItem;
return this;
}
public java.util.List getPerformanceItem() {
return this.performanceItem;
}
}
}