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

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

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeClassListRequest} extends {@link RequestModel}
 *
 * 

DescribeClassListRequest

*/ public class DescribeClassListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CommodityCode") @com.aliyun.core.annotation.Validation(required = true) private String commodityCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MasterHa") private String masterHa; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderType") private String orderType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeClassListRequest(Builder builder) { super(builder); this.commodityCode = builder.commodityCode; this.masterHa = builder.masterHa; this.orderType = builder.orderType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeClassListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return commodityCode */ public String getCommodityCode() { return this.commodityCode; } /** * @return masterHa */ public String getMasterHa() { return this.masterHa; } /** * @return orderType */ public String getOrderType() { return this.orderType; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder { private String commodityCode; private String masterHa; private String orderType; private String ownerAccount; private Long ownerId; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeClassListRequest request) { super(request); this.commodityCode = request.commodityCode; this.masterHa = request.masterHa; this.orderType = request.orderType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** *

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

*/ public Builder commodityCode(String commodityCode) { this.putQueryParameter("CommodityCode", commodityCode); this.commodityCode = commodityCode; return this; } /** *

The number of nodes. Valid values:

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

cluster

*/ public Builder masterHa(String masterHa) { this.putQueryParameter("MasterHa", masterHa); this.masterHa = masterHa; return this; } /** *

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

*/ public Builder orderType(String orderType) { this.putQueryParameter("OrderType", orderType); this.orderType = orderType; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** *

The region ID of the cluster.

* * example: *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** *

The ID of the resource group.

* * example: *

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

*/ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribeClassListRequest build() { return new DescribeClassListRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy