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

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

Specifies whether to automatically complete the payment. Valid values:

*
    *
  1. true: You must make sure that your account balance is sufficient.
  2. *
  3. false: An unpaid order is generated.
  4. *
*
*

Default value: 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: *

false

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

The additional business information about the instance.

* * example: *

{\"shopCartItemId\":\"25******\",\"produceDriver\":\"NoOrder\",\"aliyun_shopcart_order_source\":\"fromShopcart\",\"shopCartId\":\"10190203suffix20230509******\"}

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

* * example: *

ETnLKlblzczshOTUbOCzxxxxxxx

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

The commodity code. Valid values:

*
    *
  • 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: *

bards

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

The instance ID. You can call the DescribeDBInstances operation to query the ID of the instance.

* * example: *

rm-8vb******

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

An array that consists of information about the ID of the node.

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

The database engine version of the instance. Valid values:

*

Valid values if you set Engine to MySQL: 5.5, 5.6, 5.7, and 8.0

* * example: *

5.7

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

The type of the database node. Valid values:

*
    *
  • 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 resources.

* * example: *

buy

*/ @NameInMap("Resource") public String resource; /** *

The resource group ID.

* * example: *

rg-acfmy*****

*/ @NameInMap("ResourceGroupId") public String resourceGroupId; @NameInMap("ResourceOwnerAccount") public String resourceOwnerAccount; @NameInMap("ResourceOwnerId") public Long resourceOwnerId; /** *

The zone ID.

* * example: *

cn-hangzhou-a

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy