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

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

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

DescribeLicenseOrderDetailsResponseBody

*/ public class DescribeLicenseOrderDetailsResponseBody 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("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("VirtualOrderId") private String virtualOrderId; private DescribeLicenseOrderDetailsResponseBody(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.requestId = builder.requestId; this.virtualOrderId = builder.virtualOrderId; } public static Builder builder() { return new Builder(); } public static DescribeLicenseOrderDetailsResponseBody 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 requestId */ public String getRequestId() { return this.requestId; } /** * @return virtualOrderId */ public String getVirtualOrderId() { return this.virtualOrderId; } 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 requestId; private String virtualOrderId; /** *

The number of generated activation codes.

* * example: *

2

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

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

* * example: *

8

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

The Alibaba Cloud order ID (including the virtual order ID).

* * example: *

239618016570503

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

Indicates whether activation codes can be generated without the system identifier.

* * example: *

false

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

The type of the engine. 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: *

2021-10-19 01:13:45

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

The time when the order was last updated.

* * example: *

2024-10-16 16:46:20

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

Indicates whether the order is a virtual order (virtual orders allow pre-generation of activation codes).

* * example: *

false

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

Indicates whether the virtual order is frozen (activation codes cannot be generated for a frozen virtual order).

* * example: *

false

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

The plan type. Valid values:

*
    *
  • single_node_subscribe
  • *
  • single_node_long_term
  • *
  • primary_backup_subscribe
  • *
  • primary_backup_long_term
  • *
  • pre_generation_long_term
  • *
* * example: *

pre_generation_long_term

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

The validity period of the plan, which is one year (common) or thirty years (long-term).

* * example: *

1 year

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

The plan validity period, one year (common) or thirty years (long-term).

* * example: *

aliyun_market

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

The request ID.

* * example: *

22C0ACF0-DD29-4B67-9190-B7A48C******

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

The virtual order ID.

* * example: *

239618016570503

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy