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

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

The modification mode of the parameter template. Valid values:

*
    *
  • Collectivity (default): adds new parameters or modifies parameters in the original parameter template.
  • *
*
*

If you set the ModifyMode parameter to Collectivity, the system adds the value of the Parameters parameter to the original parameter template or modifies the corresponding parameters in the original parameter template. Other parameters in the original parameter template are not affected.

*
*
    *
  • Individual: overwrites original parameters.
  • *
*
*

If you set the ModifyMode parameter to Individual, the system uses the value of the Parameters parameter to overwrite the parameter settings in the original parameter template.

*
* * example: *

Collectivity

*/ @NameInMap("ModifyMode") public String modifyMode; @NameInMap("OwnerId") public Long ownerId; /** *

The new description of the parameter template. The description can be up to 200 characters in length.

*
*

If you do not specify this parameter, the original description of the parameter template is retained.

*
* * example: *

test

*/ @NameInMap("ParameterGroupDesc") public String parameterGroupDesc; /** *

The parameter template ID. You can call the DescribeParameterGroups operation to query the parameter template ID.

*

This parameter is required.

* * example: *

rpg-13ppdh****

*/ @NameInMap("ParameterGroupId") public String parameterGroupId; /** *

The parameter template name.

*
    *
  • The name can contain letters, digits, periods (.), and underscores (_). It must start with a letter.
  • *
  • It can be 8 to 64 characters in length.
  • *
*
*

If you do not specify this parameter, the original name of the parameter template is retained.

*
* * example: *

testgroup1

*/ @NameInMap("ParameterGroupName") public String parameterGroupName; /** *

A JSON string that consists of parameters and their values in the parameter template. Format: {"Parameter 1":"Value of Parameter 1","Parameter 2":"Value of Parameter 2"...}. For more information about the parameters that can be modified, see Modify the parameters of an ApsaraDB RDS for MySQL instance or Modify the parameters of an ApsaraDB RDS for PostgreSQL instance.

*
*
    *
  • If ModifyMode is set to Individual and this parameter is specified, the new parameters overwrite the parameters in the original parameter template.
  • *
  • If you set ModifyMode to Collectivity and specify this parameter, the new parameters are added to the original parameter template, or the parameters in the original parameter template are modified.
  • *
  • If you do not specify this parameter, the parameters in the original parameter template remain unchanged.
  • *
*
* * example: *

{"back_log":"3000"}

*/ @NameInMap("Parameters") public String parameters; /** *

The region ID. You can call the DescribeRegions operation to query the most recent region list.

*
*

The region of a parameter template cannot be changed. You can call the CloneParameterGroup operation to replicate a parameter template to a specific region.

*
*

This parameter is required.

* * example: *

cn-hangzhou

*/ @NameInMap("RegionId") public String regionId; /** *

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

* * example: *

rg-acfmy****

*/ @NameInMap("ResourceGroupId") public String resourceGroupId; @NameInMap("ResourceOwnerAccount") public String resourceOwnerAccount; @NameInMap("ResourceOwnerId") public Long resourceOwnerId; public static ModifyParameterGroupRequest build(java.util.Map map) throws Exception { ModifyParameterGroupRequest self = new ModifyParameterGroupRequest(); return TeaModel.build(map, self); } public ModifyParameterGroupRequest setModifyMode(String modifyMode) { this.modifyMode = modifyMode; return this; } public String getModifyMode() { return this.modifyMode; } public ModifyParameterGroupRequest setOwnerId(Long ownerId) { this.ownerId = ownerId; return this; } public Long getOwnerId() { return this.ownerId; } public ModifyParameterGroupRequest setParameterGroupDesc(String parameterGroupDesc) { this.parameterGroupDesc = parameterGroupDesc; return this; } public String getParameterGroupDesc() { return this.parameterGroupDesc; } public ModifyParameterGroupRequest setParameterGroupId(String parameterGroupId) { this.parameterGroupId = parameterGroupId; return this; } public String getParameterGroupId() { return this.parameterGroupId; } public ModifyParameterGroupRequest setParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; return this; } public String getParameterGroupName() { return this.parameterGroupName; } public ModifyParameterGroupRequest setParameters(String parameters) { this.parameters = parameters; return this; } public String getParameters() { return this.parameters; } public ModifyParameterGroupRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public ModifyParameterGroupRequest setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } public String getResourceGroupId() { return this.resourceGroupId; } public ModifyParameterGroupRequest setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; return this; } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public ModifyParameterGroupRequest setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; return this; } public Long getResourceOwnerId() { return this.resourceOwnerId; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy