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

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

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;

import com.aliyun.tea.*;

public class DescribeAvailableMetricsResponseBody extends TeaModel {
    /**
     * 

The instance ID.

* * example: *

rm-bp1*****

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

Details of the Enhanced Monitoring metric.

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

The ID of the request.

* * example: *

5CD61041-35F7-10F7-BE94-33A48B221218

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

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

* * example: *

4

*/ @NameInMap("TotalRecordCount") public Integer totalRecordCount; public static DescribeAvailableMetricsResponseBody build(java.util.Map map) throws Exception { DescribeAvailableMetricsResponseBody self = new DescribeAvailableMetricsResponseBody(); return TeaModel.build(map, self); } public DescribeAvailableMetricsResponseBody setDBInstanceName(String DBInstanceName) { this.DBInstanceName = DBInstanceName; return this; } public String getDBInstanceName() { return this.DBInstanceName; } public DescribeAvailableMetricsResponseBody setItems(java.util.List items) { this.items = items; return this; } public java.util.List getItems() { return this.items; } public DescribeAvailableMetricsResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DescribeAvailableMetricsResponseBody setTotalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public Integer getTotalRecordCount() { return this.totalRecordCount; } public static class DescribeAvailableMetricsResponseBodyItems 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: *

cpu_sys_per_core

*/ @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 DescribeAvailableMetricsResponseBodyItems build(java.util.Map map) throws Exception { DescribeAvailableMetricsResponseBodyItems self = new DescribeAvailableMetricsResponseBodyItems(); return TeaModel.build(map, self); } public DescribeAvailableMetricsResponseBodyItems setDescription(String description) { this.description = description; return this; } public String getDescription() { return this.description; } public DescribeAvailableMetricsResponseBodyItems setDimension(String dimension) { this.dimension = dimension; return this; } public String getDimension() { return this.dimension; } public DescribeAvailableMetricsResponseBodyItems setGroupKey(String groupKey) { this.groupKey = groupKey; return this; } public String getGroupKey() { return this.groupKey; } public DescribeAvailableMetricsResponseBodyItems setGroupKeyType(String groupKeyType) { this.groupKeyType = groupKeyType; return this; } public String getGroupKeyType() { return this.groupKeyType; } public DescribeAvailableMetricsResponseBodyItems setMethod(String method) { this.method = method; return this; } public String getMethod() { return this.method; } public DescribeAvailableMetricsResponseBodyItems setMetricsKey(String metricsKey) { this.metricsKey = metricsKey; return this; } public String getMetricsKey() { return this.metricsKey; } public DescribeAvailableMetricsResponseBodyItems setMetricsKeyAlias(String metricsKeyAlias) { this.metricsKeyAlias = metricsKeyAlias; return this; } public String getMetricsKeyAlias() { return this.metricsKeyAlias; } public DescribeAvailableMetricsResponseBodyItems setSortRule(Integer sortRule) { this.sortRule = sortRule; return this; } public Integer getSortRule() { return this.sortRule; } public DescribeAvailableMetricsResponseBodyItems setUnit(String unit) { this.unit = unit; return this; } public String getUnit() { return this.unit; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy