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

com.aliyun.polardb20170801.models.DescribeClassListRequest Maven / Gradle / Ivy

There is a newer version: 5.2.2
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;

import com.aliyun.tea.*;

public class DescribeClassListRequest extends TeaModel {
    /**
     * 

The code of the commodity. Valid values:

*
    *
  • polardb_sub: the subscription cluster in regions in the Chinese mainland
  • *
  • polardb_sub _intl: the subscription cluster in regions outside the Chinese mainland
  • *
  • polardb_payg: the pay-as-you-go cluster in regions in the Chinese mainland
  • *
  • polardb_payg_intl: the pay-as-you-go cluster in regions outside the Chinese mainland
  • *
  • polardb_sub_jushita: the subscription cluster for CloudTmall
  • *
  • polardb_payg_jushita: the pay-as-you-go cluster for CloudTmall
  • *
  • polardb_sub_cainiao: the subscription cluster for Cainiao
  • *
  • polardb_payg_cainiao: the pay-as-you-go cluster for Cainiao
  • *
*
*
    *
  • If you use an Alibaba Cloud account on the China site, you can view only the codes of the commodities that are available in the Chinese mainland.
  • *
  • If you are using an Alibaba Cloud international account, you can view only the codes of the commodities that are available outside the Chinese mainland.
  • *
  • If you use a CloudTmall account, you can view only the codes of the commodities that are available in CloudTmall.
  • *
  • If you use a Cainiao account, you can view only the codes of the commodities that are available in Cainiao.
  • *
*
*

This parameter is required.

* * example: *

polardb_sub

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

The number of nodes. Valid values:

*
    *
  • single: Standalone Edition.
  • *
  • cluster: Cluster Edition.
  • *
  • all: both Standalone Edition and Cluster Edition.
  • *
* * example: *

cluster

*/ @NameInMap("MasterHa") public String masterHa; /** *

The type of the order. Valid values:

*
    *
  • BUY: The order is used to purchase a cluster.
  • *
  • UPGRADE: The order is used to change the specifications of a cluster.
  • *
  • RENEW: The order is used to renew a cluster.
  • *
  • CONVERT: The order is used to change the billing method of a cluster.
  • *
* * example: *

BUY

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

The region ID of the cluster.

* * example: *

cn-hangzhou

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

The ID of the resource group.

* * example: *

rg-************

*/ @NameInMap("ResourceGroupId") public String resourceGroupId; @NameInMap("ResourceOwnerAccount") public String resourceOwnerAccount; @NameInMap("ResourceOwnerId") public Long resourceOwnerId; public static DescribeClassListRequest build(java.util.Map map) throws Exception { DescribeClassListRequest self = new DescribeClassListRequest(); return TeaModel.build(map, self); } public DescribeClassListRequest setCommodityCode(String commodityCode) { this.commodityCode = commodityCode; return this; } public String getCommodityCode() { return this.commodityCode; } public DescribeClassListRequest setMasterHa(String masterHa) { this.masterHa = masterHa; return this; } public String getMasterHa() { return this.masterHa; } public DescribeClassListRequest setOrderType(String orderType) { this.orderType = orderType; return this; } public String getOrderType() { return this.orderType; } public DescribeClassListRequest setOwnerAccount(String ownerAccount) { this.ownerAccount = ownerAccount; return this; } public String getOwnerAccount() { return this.ownerAccount; } public DescribeClassListRequest setOwnerId(Long ownerId) { this.ownerId = ownerId; return this; } public Long getOwnerId() { return this.ownerId; } public DescribeClassListRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public DescribeClassListRequest setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } public String getResourceGroupId() { return this.resourceGroupId; } public DescribeClassListRequest setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; return this; } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public DescribeClassListRequest setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; return this; } public Long getResourceOwnerId() { return this.resourceOwnerId; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy