com.aliyun.rds20140815.models.DescribeDBInstancePerformanceResponseBody Maven / Gradle / Ivy
Show all versions of rds20140815 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class DescribeDBInstancePerformanceResponseBody extends TeaModel {
/**
* The instance ID.
*
* example:
* rm-uf6wjk5xxxxxxxxxx
*/
@NameInMap("DBInstanceId")
public String DBInstanceId;
/**
* The end time of the query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.
*
* example:
* 2012-06-19T15:00Z
*/
@NameInMap("EndTime")
public String endTime;
/**
* The database engine of the instance.
*
* example:
* MySQL
*/
@NameInMap("Engine")
public String engine;
/**
* Details of the performance metrics.
*/
@NameInMap("PerformanceKeys")
public DescribeDBInstancePerformanceResponseBodyPerformanceKeys performanceKeys;
/**
* The request ID.
*
* example:
* A5409D02-D661-4BF3-8F3D-0A814D0574E7
*/
@NameInMap("RequestId")
public String requestId;
/**
* The start time of the query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.
*
* example:
* 2012-06-10T15:00Z
*/
@NameInMap("StartTime")
public String startTime;
public static DescribeDBInstancePerformanceResponseBody build(java.util.Map map) throws Exception {
DescribeDBInstancePerformanceResponseBody self = new DescribeDBInstancePerformanceResponseBody();
return TeaModel.build(map, self);
}
public DescribeDBInstancePerformanceResponseBody setDBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
public String getDBInstanceId() {
return this.DBInstanceId;
}
public DescribeDBInstancePerformanceResponseBody setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
public String getEndTime() {
return this.endTime;
}
public DescribeDBInstancePerformanceResponseBody setEngine(String engine) {
this.engine = engine;
return this;
}
public String getEngine() {
return this.engine;
}
public DescribeDBInstancePerformanceResponseBody setPerformanceKeys(DescribeDBInstancePerformanceResponseBodyPerformanceKeys performanceKeys) {
this.performanceKeys = performanceKeys;
return this;
}
public DescribeDBInstancePerformanceResponseBodyPerformanceKeys getPerformanceKeys() {
return this.performanceKeys;
}
public DescribeDBInstancePerformanceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeDBInstancePerformanceResponseBody setStartTime(String startTime) {
this.startTime = startTime;
return this;
}
public String getStartTime() {
return this.startTime;
}
public static class DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue extends TeaModel {
/**
* The date and time when the value of the performance metric was recorded. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
*
* example:
* 2011-05-30T03:29:00Z
*/
@NameInMap("Date")
public String date;
/**
* The value of the performance metric.
*
* example:
* 0.0&13.6
*/
@NameInMap("Value")
public String value;
public static DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue build(java.util.Map map) throws Exception {
DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue self = new DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue();
return TeaModel.build(map, self);
}
public DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue setDate(String date) {
this.date = date;
return this;
}
public String getDate() {
return this.date;
}
public DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues extends TeaModel {
@NameInMap("PerformanceValue")
public java.util.List performanceValue;
public static DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues build(java.util.Map map) throws Exception {
DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues self = new DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues();
return TeaModel.build(map, self);
}
public DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues setPerformanceValue(java.util.List performanceValue) {
this.performanceValue = performanceValue;
return this;
}
public java.util.List getPerformanceValue() {
return this.performanceValue;
}
}
public static class DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey extends TeaModel {
/**
* The name of the performance metric.
*
* example:
* MySQL_Sessions
*/
@NameInMap("Key")
public String key;
/**
* The unit of the performance metrics.
*
* example:
* KB
*/
@NameInMap("Unit")
public String unit;
/**
* The format in which the value of the performance metric is returned.
*
* If a performance metric value consists of multiple fields, the values are separated with ampersands (&). Example: com_delete\&com_insert\&com_insert_select\&com_replace.
*
*
* example:
* recv_k&sent_k
*/
@NameInMap("ValueFormat")
public String valueFormat;
/**
* The performance metric values.
*/
@NameInMap("Values")
public DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues values;
public static DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey build(java.util.Map map) throws Exception {
DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey self = new DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey();
return TeaModel.build(map, self);
}
public DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey setUnit(String unit) {
this.unit = unit;
return this;
}
public String getUnit() {
return this.unit;
}
public DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey setValueFormat(String valueFormat) {
this.valueFormat = valueFormat;
return this;
}
public String getValueFormat() {
return this.valueFormat;
}
public DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey setValues(DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues values) {
this.values = values;
return this;
}
public DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues getValues() {
return this.values;
}
}
public static class DescribeDBInstancePerformanceResponseBodyPerformanceKeys extends TeaModel {
@NameInMap("PerformanceKey")
public java.util.List performanceKey;
public static DescribeDBInstancePerformanceResponseBodyPerformanceKeys build(java.util.Map map) throws Exception {
DescribeDBInstancePerformanceResponseBodyPerformanceKeys self = new DescribeDBInstancePerformanceResponseBodyPerformanceKeys();
return TeaModel.build(map, self);
}
public DescribeDBInstancePerformanceResponseBodyPerformanceKeys setPerformanceKey(java.util.List performanceKey) {
this.performanceKey = performanceKey;
return this;
}
public java.util.List getPerformanceKey() {
return this.performanceKey;
}
}
}