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

com.aliyun.rds20140815.models.CreateParameterGroupRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;

import com.aliyun.tea.*;

public class CreateParameterGroupRequest extends TeaModel {
    /**
     * 

The database engine. Valid values:

*
    *
  • mysql
  • *
  • PostgreSQL
  • *
*

This parameter is required.

* * example: *

mysql

*/ @NameInMap("Engine") public String engine; /** *

The database engine version of the instance.

*
    *
  • If the instance runs MySQL, the instance must run one of the following MySQL versions:

    *
      *
    • 5.6
    • *
    • 5.7
    • *
    • 8.0
    • *
    *
  • *
  • If the instance runs PostgreSQL, the instance must run one of the following PostgreSQL versions:

    *
      *
    • 10.0
    • *
    • 11.0
    • *
    • 12.0
    • *
    • 13.0
    • *
    • 14.0
    • *
    • 15.0
    • *
    *
  • *
*

This parameter is required.

* * example: *

5.7

*/ @NameInMap("EngineVersion") public String engineVersion; @NameInMap("OwnerId") public Long ownerId; /** *

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

* * example: *

test

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

The name of the parameter template.

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

This parameter is required.

* * example: *

test1234

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

*

This parameter is required.

* * example: *

{"back_log":"3000","wait_timeout":"86400"}

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

The region ID of the parameter template. You can call the DescribeRegions operation to query the most recent zone list.

*

This parameter is required.

* * example: *

cn-hangzhou

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

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

* * example: *

rg-acfmy*****

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy