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

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

The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

* * example: *

6000170000591aed949d0f****

*/ @NameInMap("ClientToken") public String clientToken; /** *

The name of the configuration item that you want to modify. Valid values:

*
    *
  • pgbouncer. This configuration item is supported for ApsaraDB RDS for PostgreSQL instances.
  • *
  • clear_errorlog. This configuration item is supported for ApsaraDB RDS for SQL Server instances.
  • *
*

This parameter is required.

* * example: *

pgbouncer

*/ @NameInMap("ConfigName") public String configName; /** *

The value of the configuration item that you want to modify. Valid values:

*
    *
  • If you set ConfigName to pgbouncer, the valid values are true and false.
  • *
  • If you set ConfigName to clear_errorlog, set the value to 1. The value 1 indicates that error logs are cleaned up.
  • *
*

This parameter is required.

* * example: *

true

*/ @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-uf6wjk5xxxxxxxxxx

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

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

* * example: *

rg-bp67acfmxazb4p****

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy