com.aliyun.rds20140815.models.ModifySQLCollectorRetentionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rds20140815 Show documentation
Show all versions of rds20140815 Show documentation
Alibaba Cloud rds (20140815) SDK for Java
// 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;
}
}