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

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

Specifies whether to automatically complete the payment. Valid values:

*
    *
  1. true: automatically completes the payment. You must make sure that your account balance is sufficient.
  2. *
  3. false: does not automatically complete the payment. An unpaid order is generated.
  4. *
*
*

The default value is true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.

*
* * example: *

True

*/ @NameInMap("AutoPay") public Boolean autoPay; /** *

The additional business information about the instance.

* * example: *

{\"promotion_input_param\":\"{\\\"promotionFilter\\\":{},\\\"promotionOptionCode\\\":\\\"youhui_quan\\\"}\"}

*/ @NameInMap("BusinessInfo") public String businessInfo; /** *

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 generated token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

* * example: *

ETnLKlblzczshOTUbOC****

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

The commodity code. Valid value:

*
    *
  • bards: The instance is a pay-as-you-go primary instance.
  • *
  • rds: The instance is a subscription primary instance.
  • *
  • rords: The instance is a pay-as-you-go read-only instance.
  • *
  • rds_rordspre_public_cn: The instance is a subscription read-only instance.
  • *
  • bards_intl: The instance is a pay-as-you-go primary instance.
  • *
  • rds_intl: The instance is a subscription primary instance.
  • *
  • rords_intl: The instance is a pay-as-you-go read-only instance.
  • *
  • rds_rordspre_public_intl: The instance is a subscription read-only instance.
  • *
*

This parameter is required.

* * example: *

rds

*/ @NameInMap("CommodityCode") public String commodityCode; /** *

The instance ID.

* * example: *

rm-wz9rziy3he051if82

*/ @NameInMap("DBInstanceId") public String DBInstanceId; /** *

The node IDs.

*/ @NameInMap("DBNodeId") public String DBNodeIdShrink; /** *

The major engine version of the destination instance. The value of this parameter varies based on the value of Engine.

*
    *
  • Valid values when Engine is set to MySQL: 5.5, 5.6, 5.7, and 8.0
  • *
  • Valid values when Engine is set to SQLServer: 2008r2, 08r2_ent_ha, 2012, 2012_ent_ha, 2012_std_ha, 2012_web, 2014_std_ha, 2016_ent_ha, 2016_std_ha, 2016_web, 2017_std_ha, 2017_ent, 2019_std_ha, and 2019_ent
  • *
  • Valid values when Engine is set to PostgreSQL: 10.0, 11.0, 12.0, 13.0, 14.0, and 15.0
  • *
* * example: *

8.0

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

The type of the database node. Valid value:

*
    *
  • Master: the primary node
  • *
  • Slave: the secondary node
  • *
* * example: *

Master

*/ @NameInMap("NodeType") public String nodeType; @NameInMap("OwnerId") public Long ownerId; /** *

The coupon code.

* * example: *

aliwood-1688-mobile-promotion

*/ @NameInMap("PromotionCode") public String promotionCode; /** *

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

* * example: *

cn-hangzhou

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

The resource of the instance.

* * example: *

buy

*/ @NameInMap("Resource") public String resource; @NameInMap("ResourceOwnerAccount") public String resourceOwnerAccount; @NameInMap("ResourceOwnerId") public Long resourceOwnerId; /** *

The zone ID.

* * example: *

cn-hangzhou-a

*/ @NameInMap("ZoneId") public String zoneId; public static PreCheckCreateOrderForDeleteDBNodesShrinkRequest build(java.util.Map map) throws Exception { PreCheckCreateOrderForDeleteDBNodesShrinkRequest self = new PreCheckCreateOrderForDeleteDBNodesShrinkRequest(); return TeaModel.build(map, self); } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setAutoPay(Boolean autoPay) { this.autoPay = autoPay; return this; } public Boolean getAutoPay() { return this.autoPay; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setBusinessInfo(String businessInfo) { this.businessInfo = businessInfo; return this; } public String getBusinessInfo() { return this.businessInfo; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setCommodityCode(String commodityCode) { this.commodityCode = commodityCode; return this; } public String getCommodityCode() { return this.commodityCode; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setDBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } public String getDBInstanceId() { return this.DBInstanceId; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setDBNodeIdShrink(String DBNodeIdShrink) { this.DBNodeIdShrink = DBNodeIdShrink; return this; } public String getDBNodeIdShrink() { return this.DBNodeIdShrink; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setEngineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } public String getEngineVersion() { return this.engineVersion; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setNodeType(String nodeType) { this.nodeType = nodeType; return this; } public String getNodeType() { return this.nodeType; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setOwnerId(Long ownerId) { this.ownerId = ownerId; return this; } public Long getOwnerId() { return this.ownerId; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setPromotionCode(String promotionCode) { this.promotionCode = promotionCode; return this; } public String getPromotionCode() { return this.promotionCode; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setResource(String resource) { this.resource = resource; return this; } public String getResource() { return this.resource; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; return this; } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; return this; } public Long getResourceOwnerId() { return this.resourceOwnerId; } public PreCheckCreateOrderForDeleteDBNodesShrinkRequest setZoneId(String zoneId) { this.zoneId = zoneId; return this; } public String getZoneId() { return this.zoneId; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy