All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.rds20140815.models.DescribeDBInstanceMetricsResponseBody Maven / Gradle / Ivy

There is a newer version: 6.3.2
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;

import com.aliyun.tea.*;

public class DescribeDBInstanceMetricsResponseBody extends TeaModel {
    /**
     * 

The instance ID.

* * example: *

rm-bp1*****

*/ @NameInMap("DBInstanceName") public String DBInstanceName; /** *

An array consisting of the Enhanced Monitoring metrics that are enabled for the instance.

*/ @NameInMap("Items") public java.util.List items; /** *

The ID of the request.

* * example: *

318C3754-F6D0-54BB-A55C-23EAA04708B7

*/ @NameInMap("RequestId") public String requestId; /** *

The total number of enhanced monitoring metrics that are enabled for the instance.

* * example: *

1

*/ @NameInMap("TotalRecordCount") public Integer totalRecordCount; public static DescribeDBInstanceMetricsResponseBody build(java.util.Map map) throws Exception { DescribeDBInstanceMetricsResponseBody self = new DescribeDBInstanceMetricsResponseBody(); return TeaModel.build(map, self); } public DescribeDBInstanceMetricsResponseBody setDBInstanceName(String DBInstanceName) { this.DBInstanceName = DBInstanceName; return this; } public String getDBInstanceName() { return this.DBInstanceName; } public DescribeDBInstanceMetricsResponseBody setItems(java.util.List items) { this.items = items; return this; } public java.util.List getItems() { return this.items; } public DescribeDBInstanceMetricsResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DescribeDBInstanceMetricsResponseBody setTotalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public Integer getTotalRecordCount() { return this.totalRecordCount; } public static class DescribeDBInstanceMetricsResponseBodyItems extends TeaModel { /** *

The description of the enhanced monitoring metric.

* * example: *

OS CPU utilization, equal to the number of OS-consumed CPUs divided by the total number of CPUs

*/ @NameInMap("Description") public String description; /** *

The category of the enhanced monitoring metric. Valid values:

*
    *
  • os: OS metric
  • *
  • db: database metric
  • *
* * example: *

os

*/ @NameInMap("Dimension") public String dimension; /** *

The key of the group to which the enhanced monitoring metric belongs.

* * example: *

os.cpu_usage

*/ @NameInMap("GroupKey") public String groupKey; /** *

The name of the group to which the enhanced monitoring metric belongs.

* * example: *

CPU Utilization Rate

*/ @NameInMap("GroupKeyType") public String groupKeyType; /** *

The method that is used to aggregate the monitoring data of the enhanced monitoring metric. Valid values:

*
    *
  • avg: The system calculates the average value of the enhanced monitoring metric.
  • *
  • min: The system calculates the minimum value of the enhanced monitoring metric.
  • *
  • max: The system calculates the maximum value of the enhanced monitoring metric.
  • *
* * example: *

avg

*/ @NameInMap("Method") public String method; /** *

The key of the enhanced monitoring metric.

* * example: *

os.cpu_usage.sys.avg

*/ @NameInMap("MetricsKey") public String metricsKey; /** *

The alias of the enhanced monitoring metric.

* * example: *

os.cpu_usage.sys

*/ @NameInMap("MetricsKeyAlias") public String metricsKeyAlias; /** *

The serial number of the enhanced monitoring metric.

* * example: *

1

*/ @NameInMap("SortRule") public Integer sortRule; /** *

The unit of the enhanced monitoring metric.

* * example: *

%

*/ @NameInMap("Unit") public String unit; public static DescribeDBInstanceMetricsResponseBodyItems build(java.util.Map map) throws Exception { DescribeDBInstanceMetricsResponseBodyItems self = new DescribeDBInstanceMetricsResponseBodyItems(); return TeaModel.build(map, self); } public DescribeDBInstanceMetricsResponseBodyItems setDescription(String description) { this.description = description; return this; } public String getDescription() { return this.description; } public DescribeDBInstanceMetricsResponseBodyItems setDimension(String dimension) { this.dimension = dimension; return this; } public String getDimension() { return this.dimension; } public DescribeDBInstanceMetricsResponseBodyItems setGroupKey(String groupKey) { this.groupKey = groupKey; return this; } public String getGroupKey() { return this.groupKey; } public DescribeDBInstanceMetricsResponseBodyItems setGroupKeyType(String groupKeyType) { this.groupKeyType = groupKeyType; return this; } public String getGroupKeyType() { return this.groupKeyType; } public DescribeDBInstanceMetricsResponseBodyItems setMethod(String method) { this.method = method; return this; } public String getMethod() { return this.method; } public DescribeDBInstanceMetricsResponseBodyItems setMetricsKey(String metricsKey) { this.metricsKey = metricsKey; return this; } public String getMetricsKey() { return this.metricsKey; } public DescribeDBInstanceMetricsResponseBodyItems setMetricsKeyAlias(String metricsKeyAlias) { this.metricsKeyAlias = metricsKeyAlias; return this; } public String getMetricsKeyAlias() { return this.metricsKeyAlias; } public DescribeDBInstanceMetricsResponseBodyItems setSortRule(Integer sortRule) { this.sortRule = sortRule; return this; } public Integer getSortRule() { return this.sortRule; } public DescribeDBInstanceMetricsResponseBodyItems setUnit(String unit) { this.unit = unit; return this; } public String getUnit() { return this.unit; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy