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

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

The log retention period that is allowed by the SQL Explorer feature on the instance. Valid values:

*
    *
  • 30: 30 days
  • *
  • 180: 180 days
  • *
  • 365: one year
  • *
  • 1095: three years
  • *
  • 1825: five years
  • *
*

This parameter is required.

* * example: *

365

*/ @NameInMap("ConfigValue") public String configValue; /** *

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

*

This parameter is required.

* * example: *

rm-uf6wjk5xxxxxxx

*/ @NameInMap("DBInstanceId") public String DBInstanceId; @NameInMap("OwnerAccount") public String ownerAccount; @NameInMap("OwnerId") public Long ownerId; /** *

The resource group ID. You can call the DescribeDBInstanceAttribute operation to obtain the resource group ID.

* * example: *

rg-acfmyxxxx

*/ @NameInMap("ResourceGroupId") public String resourceGroupId; @NameInMap("ResourceOwnerAccount") public String resourceOwnerAccount; @NameInMap("ResourceOwnerId") public Long resourceOwnerId; @NameInMap("SecurityToken") public String securityToken; public static ModifySQLCollectorRetentionRequest build(java.util.Map map) throws Exception { ModifySQLCollectorRetentionRequest self = new ModifySQLCollectorRetentionRequest(); return TeaModel.build(map, self); } public ModifySQLCollectorRetentionRequest setConfigValue(String configValue) { this.configValue = configValue; return this; } public String getConfigValue() { return this.configValue; } public ModifySQLCollectorRetentionRequest setDBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } public String getDBInstanceId() { return this.DBInstanceId; } public ModifySQLCollectorRetentionRequest setOwnerAccount(String ownerAccount) { this.ownerAccount = ownerAccount; return this; } public String getOwnerAccount() { return this.ownerAccount; } public ModifySQLCollectorRetentionRequest setOwnerId(Long ownerId) { this.ownerId = ownerId; return this; } public Long getOwnerId() { return this.ownerId; } public ModifySQLCollectorRetentionRequest setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } public String getResourceGroupId() { return this.resourceGroupId; } public ModifySQLCollectorRetentionRequest setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; return this; } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public ModifySQLCollectorRetentionRequest setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; return this; } public Long getResourceOwnerId() { return this.resourceOwnerId; } public ModifySQLCollectorRetentionRequest setSecurityToken(String securityToken) { this.securityToken = securityToken; return this; } public String getSecurityToken() { return this.securityToken; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy