com.aliyun.polardb20170801.models.DescribeDBProxyPerformanceResponseBody Maven / Gradle / Ivy
Show all versions of polardb20170801 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;
import com.aliyun.tea.*;
public class DescribeDBProxyPerformanceResponseBody extends TeaModel {
/**
* The ID of the cluster.
*
* 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 is 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;
/**
* Details about the performance metrics.
*/
@NameInMap("PerformanceKeys")
public DescribeDBProxyPerformanceResponseBodyPerformanceKeys performanceKeys;
/**
* The ID of the request.
*
* example:
* 35D3E3DA-4650-407A-BFF5-59BFF1******
*/
@NameInMap("RequestId")
public String requestId;
/**
* The start time of the query. The time is 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 DescribeDBProxyPerformanceResponseBody build(java.util.Map map) throws Exception {
DescribeDBProxyPerformanceResponseBody self = new DescribeDBProxyPerformanceResponseBody();
return TeaModel.build(map, self);
}
public DescribeDBProxyPerformanceResponseBody setDBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
public String getDBClusterId() {
return this.DBClusterId;
}
public DescribeDBProxyPerformanceResponseBody setDBType(String DBType) {
this.DBType = DBType;
return this;
}
public String getDBType() {
return this.DBType;
}
public DescribeDBProxyPerformanceResponseBody setDBVersion(String DBVersion) {
this.DBVersion = DBVersion;
return this;
}
public String getDBVersion() {
return this.DBVersion;
}
public DescribeDBProxyPerformanceResponseBody setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
public String getEndTime() {
return this.endTime;
}
public DescribeDBProxyPerformanceResponseBody setPerformanceKeys(DescribeDBProxyPerformanceResponseBodyPerformanceKeys performanceKeys) {
this.performanceKeys = performanceKeys;
return this;
}
public DescribeDBProxyPerformanceResponseBodyPerformanceKeys getPerformanceKeys() {
return this.performanceKeys;
}
public DescribeDBProxyPerformanceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeDBProxyPerformanceResponseBody setStartTime(String startTime) {
this.startTime = startTime;
return this;
}
public String getStartTime() {
return this.startTime;
}
public static class DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue extends TeaModel {
/**
* The time when the metric value was collected. This value is a timestamp in milliseconds.
*
* example:
* 1600822800000
*/
@NameInMap("Timestamp")
public Long timestamp;
/**
* The value of the metric.
*
* example:
* 10
*/
@NameInMap("Value")
public String value;
public static DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue build(java.util.Map map) throws Exception {
DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue self = new DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue();
return TeaModel.build(map, self);
}
public DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue setTimestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
public Long getTimestamp() {
return this.timestamp;
}
public DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPoints extends TeaModel {
@NameInMap("PerformanceItemValue")
public java.util.List performanceItemValue;
public static DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPoints build(java.util.Map map) throws Exception {
DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPoints self = new DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPoints();
return TeaModel.build(map, self);
}
public DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPoints setPerformanceItemValue(java.util.List performanceItemValue) {
this.performanceItemValue = performanceItemValue;
return this;
}
public java.util.List getPerformanceItemValue() {
return this.performanceItemValue;
}
}
public static class DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItem extends TeaModel {
/**
* The ID of the node.
*
* example:
* pi-*************
*/
@NameInMap("DBNodeId")
public String DBNodeId;
/**
* The performance metric.
*
* example:
* PolarProxy_CpuUsage
*/
@NameInMap("Measurement")
public String measurement;
/**
* The name of the performance metric.
*
* example:
* service_connections_ps
*/
@NameInMap("MetricName")
public String metricName;
/**
* The list of the performance metrics.
*/
@NameInMap("Points")
public DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPoints points;
public static DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItem build(java.util.Map map) throws Exception {
DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItem self = new DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItem();
return TeaModel.build(map, self);
}
public DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItem setDBNodeId(String DBNodeId) {
this.DBNodeId = DBNodeId;
return this;
}
public String getDBNodeId() {
return this.DBNodeId;
}
public DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItem setMeasurement(String measurement) {
this.measurement = measurement;
return this;
}
public String getMeasurement() {
return this.measurement;
}
public DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItem setMetricName(String metricName) {
this.metricName = metricName;
return this;
}
public String getMetricName() {
return this.metricName;
}
public DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItem setPoints(DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPoints points) {
this.points = points;
return this;
}
public DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPoints getPoints() {
return this.points;
}
}
public static class DescribeDBProxyPerformanceResponseBodyPerformanceKeys extends TeaModel {
@NameInMap("PerformanceItem")
public java.util.List performanceItem;
public static DescribeDBProxyPerformanceResponseBodyPerformanceKeys build(java.util.Map map) throws Exception {
DescribeDBProxyPerformanceResponseBodyPerformanceKeys self = new DescribeDBProxyPerformanceResponseBodyPerformanceKeys();
return TeaModel.build(map, self);
}
public DescribeDBProxyPerformanceResponseBodyPerformanceKeys setPerformanceItem(java.util.List performanceItem) {
this.performanceItem = performanceItem;
return this;
}
public java.util.List getPerformanceItem() {
return this.performanceItem;
}
}
}