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

com.aliyun.rds20140815.models.ModifyDBInstanceMetricsRequest 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 ModifyDBInstanceMetricsRequest extends TeaModel {
    /**
     * 

The instance ID. You can call the DescribeDBInstances operation to query the instance ID.

*

This parameter is required.

* * example: *

pgm-bp1s1j103lo6****

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

The keys of the Enhanced Monitoring metrics that you want to display for the instance. You can enter a maximum of 30 metric keys. If you enter multiple metric keys, you must separate the metric keys with commas (,).

*

You can call the DescribeAvailableMetrics operation to query the keys of metrics.

*

This parameter is required.

* * example: *

os.cpu_usage.sys.avg,os.cpu_usage.user.avg

*/ @NameInMap("MetricsConfig") public String metricsConfig; @NameInMap("ResourceOwnerId") public Long resourceOwnerId; /** *

The application scope of this modification. Valid values:

*
    *
  • instance: This modification is applied only to the current instance.
  • *
  • region: This modification is applied to all ApsaraDB RDS for PostgreSQL instances that are equipped with the same type of storage media as the current instance in the region to which the current instance belongs. For example, if the current instance is equipped with cloud disks, this modification is applied to all ApsaraDB RDS for PostgreSQL instances that are equipped with cloud disks in the region to which the current instance belongs.
  • *
*

This parameter is required.

* * example: *

instance

*/ @NameInMap("Scope") public String scope; public static ModifyDBInstanceMetricsRequest build(java.util.Map map) throws Exception { ModifyDBInstanceMetricsRequest self = new ModifyDBInstanceMetricsRequest(); return TeaModel.build(map, self); } public ModifyDBInstanceMetricsRequest setDBInstanceName(String DBInstanceName) { this.DBInstanceName = DBInstanceName; return this; } public String getDBInstanceName() { return this.DBInstanceName; } public ModifyDBInstanceMetricsRequest setMetricsConfig(String metricsConfig) { this.metricsConfig = metricsConfig; return this; } public String getMetricsConfig() { return this.metricsConfig; } public ModifyDBInstanceMetricsRequest setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; return this; } public Long getResourceOwnerId() { return this.resourceOwnerId; } public ModifyDBInstanceMetricsRequest setScope(String scope) { this.scope = scope; return this; } public String getScope() { return this.scope; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy