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

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

There is a newer version: 4.0.33
Show 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 DescribeLicenseOrdersResponseBody} extends {@link TeaModel}
 *
 * 

DescribeLicenseOrdersResponseBody

*/ public class DescribeLicenseOrdersResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private java.util.List items; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageRecordCount") private Integer pageRecordCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalRecordCount") private Integer totalRecordCount; private DescribeLicenseOrdersResponseBody(Builder builder) { this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; this.requestId = builder.requestId; this.totalRecordCount = builder.totalRecordCount; } public static Builder builder() { return new Builder(); } public static DescribeLicenseOrdersResponseBody create() { return builder().build(); } /** * @return items */ public java.util.List getItems() { return this.items; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageRecordCount */ public Integer getPageRecordCount() { return this.pageRecordCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalRecordCount */ public Integer getTotalRecordCount() { return this.totalRecordCount; } public static final class Builder { private java.util.List items; private Integer pageNumber; private Integer pageRecordCount; private String requestId; private Integer totalRecordCount; /** *

The queried orders.

*/ public Builder items(java.util.List items) { this.items = items; return this; } /** *

The page number.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** *

The number of entries returned on the current page.

* * example: *

12

*/ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** *

The request ID.

* * example: *

34458CD3-33E0-4624-BFEF-840C15******

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The total number of entries returned.

* * example: *

50

*/ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeLicenseOrdersResponseBody build() { return new DescribeLicenseOrdersResponseBody(this); } } /** * * {@link DescribeLicenseOrdersResponseBody} extends {@link TeaModel} * *

DescribeLicenseOrdersResponseBody

*/ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActivatedCodeCount") private Integer activatedCodeCount; @com.aliyun.core.annotation.NameInMap("ActivationCodeQuota") private Integer activationCodeQuota; @com.aliyun.core.annotation.NameInMap("AliyunOrderId") private String aliyunOrderId; @com.aliyun.core.annotation.NameInMap("AllowEmptySystemIdentifier") private Boolean allowEmptySystemIdentifier; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("GmtCreated") private String gmtCreated; @com.aliyun.core.annotation.NameInMap("GmtModified") private String gmtModified; @com.aliyun.core.annotation.NameInMap("IsVirtualOrder") private Boolean isVirtualOrder; @com.aliyun.core.annotation.NameInMap("IsVirtualOrderFrozen") private Boolean isVirtualOrderFrozen; @com.aliyun.core.annotation.NameInMap("PackageType") private String packageType; @com.aliyun.core.annotation.NameInMap("PackageValidity") private String packageValidity; @com.aliyun.core.annotation.NameInMap("PurchaseChannel") private String purchaseChannel; @com.aliyun.core.annotation.NameInMap("VirtualAliyunOrderId") private String virtualAliyunOrderId; private Items(Builder builder) { this.activatedCodeCount = builder.activatedCodeCount; this.activationCodeQuota = builder.activationCodeQuota; this.aliyunOrderId = builder.aliyunOrderId; this.allowEmptySystemIdentifier = builder.allowEmptySystemIdentifier; this.engine = builder.engine; this.gmtCreated = builder.gmtCreated; this.gmtModified = builder.gmtModified; this.isVirtualOrder = builder.isVirtualOrder; this.isVirtualOrderFrozen = builder.isVirtualOrderFrozen; this.packageType = builder.packageType; this.packageValidity = builder.packageValidity; this.purchaseChannel = builder.purchaseChannel; this.virtualAliyunOrderId = builder.virtualAliyunOrderId; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return activatedCodeCount */ public Integer getActivatedCodeCount() { return this.activatedCodeCount; } /** * @return activationCodeQuota */ public Integer getActivationCodeQuota() { return this.activationCodeQuota; } /** * @return aliyunOrderId */ public String getAliyunOrderId() { return this.aliyunOrderId; } /** * @return allowEmptySystemIdentifier */ public Boolean getAllowEmptySystemIdentifier() { return this.allowEmptySystemIdentifier; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return gmtCreated */ public String getGmtCreated() { return this.gmtCreated; } /** * @return gmtModified */ public String getGmtModified() { return this.gmtModified; } /** * @return isVirtualOrder */ public Boolean getIsVirtualOrder() { return this.isVirtualOrder; } /** * @return isVirtualOrderFrozen */ public Boolean getIsVirtualOrderFrozen() { return this.isVirtualOrderFrozen; } /** * @return packageType */ public String getPackageType() { return this.packageType; } /** * @return packageValidity */ public String getPackageValidity() { return this.packageValidity; } /** * @return purchaseChannel */ public String getPurchaseChannel() { return this.purchaseChannel; } /** * @return virtualAliyunOrderId */ public String getVirtualAliyunOrderId() { return this.virtualAliyunOrderId; } public static final class Builder { private Integer activatedCodeCount; private Integer activationCodeQuota; private String aliyunOrderId; private Boolean allowEmptySystemIdentifier; private String engine; private String gmtCreated; private String gmtModified; private Boolean isVirtualOrder; private Boolean isVirtualOrderFrozen; private String packageType; private String packageValidity; private String purchaseChannel; private String virtualAliyunOrderId; /** *

The number of generated activation codes.

* * example: *

10

*/ public Builder activatedCodeCount(Integer activatedCodeCount) { this.activatedCodeCount = activatedCodeCount; return this; } /** *

The maximum number of activation codes that you can apply for.

* * example: *

10

*/ public Builder activationCodeQuota(Integer activationCodeQuota) { this.activationCodeQuota = activationCodeQuota; return this; } /** *

The ID of the Alibaba Cloud order. The ID of a virtual order may be returned.

* * example: *

227638319690519

*/ public Builder aliyunOrderId(String aliyunOrderId) { this.aliyunOrderId = aliyunOrderId; return this; } /** *

Indicates whether the SystemIdentifier parameter can be left empty when the system generates an activation code.

* * example: *

false

*/ public Builder allowEmptySystemIdentifier(Boolean allowEmptySystemIdentifier) { this.allowEmptySystemIdentifier = allowEmptySystemIdentifier; return this; } /** *

The engine of the PolarDB cluster. Valid values: PG, Oracle, and MySQL.

* * example: *

PG

*/ public Builder engine(String engine) { this.engine = engine; return this; } /** *

The time when the order was created.

* * example: *

2022-02-11 03:14:15

*/ public Builder gmtCreated(String gmtCreated) { this.gmtCreated = gmtCreated; return this; } /** *

The time when the order was updated.

* * example: *

2022-02-11 03:14:15

*/ public Builder gmtModified(String gmtModified) { this.gmtModified = gmtModified; return this; } /** *

Indicates whether the order is a virtual order. Pre-generation of activation codes is allowed for virtual orders.

* * example: *

false

*/ public Builder isVirtualOrder(Boolean isVirtualOrder) { this.isVirtualOrder = isVirtualOrder; return this; } /** *

Indicates whether the virtual order is frozen. Generation of activation codes is not allowed for frozen virtual orders.

* * example: *

false

*/ public Builder isVirtualOrderFrozen(Boolean isVirtualOrderFrozen) { this.isVirtualOrderFrozen = isVirtualOrderFrozen; return this; } /** *

The type of the package. Valid values:

*
    *
  • single_node_subscribe: Single-node Edition (Subscription).
  • *
  • single_node_long_term: Single-node Edition (Long-term).
  • *
  • primary_backup_subscribe: HA Edition (Subscription).
  • *
  • primary_backup_long_term: HA Edition (Long-term).
  • *
  • pre_generation_long_term: Pre-generated (Long-term).
  • *
* * example: *

single_node_subscribe

*/ public Builder packageType(String packageType) { this.packageType = packageType; return this; } /** *

The validity period of the package. Valid values: 1 year and 30 years.

* * example: *

1 year

*/ public Builder packageValidity(String packageValidity) { this.packageValidity = packageValidity; return this; } /** *

The purchase channel. Valid values: aliyun_market and aliyun_public. aliyun_market indicates Alibaba Cloud Marketplace. aliyun_public indicates the PolarDB buy page.

* * example: *

aliyun_public

*/ public Builder purchaseChannel(String purchaseChannel) { this.purchaseChannel = purchaseChannel; return this; } /** *

The ID of the virtual order.

* * example: *

227638319690519

*/ public Builder virtualAliyunOrderId(String virtualAliyunOrderId) { this.virtualAliyunOrderId = virtualAliyunOrderId; return this; } public Items build() { return new Items(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy