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

com.aliyun.sdk.service.ecs20140526.models.DescribeActivationsResponseBody Maven / Gradle / Ivy

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

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeActivationsResponseBody} extends {@link TeaModel}
 *
 * 

DescribeActivationsResponseBody

*/ public class DescribeActivationsResponseBody extends TeaModel { @NameInMap("ActivationList") private java.util.List < ActivationList> activationList; @NameInMap("NextToken") private String nextToken; @NameInMap("PageNumber") private Long pageNumber; @NameInMap("PageSize") private Long pageSize; @NameInMap("RequestId") private String requestId; @NameInMap("TotalCount") private Long totalCount; private DescribeActivationsResponseBody(Builder builder) { this.activationList = builder.activationList; this.nextToken = builder.nextToken; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeActivationsResponseBody create() { return builder().build(); } /** * @return activationList */ public java.util.List < ActivationList> getActivationList() { return this.activationList; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List < ActivationList> activationList; private String nextToken; private Long pageNumber; private Long pageSize; private String requestId; private Long totalCount; /** * The activation codes and their usage information. */ public Builder activationList(java.util.List < ActivationList> activationList) { this.activationList = activationList; return this; } /** * A pagination token. It can be used in the next request to retrieve a new page of results. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * The page number. */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * The number of entries per page. */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The total number of entries returned. */ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public DescribeActivationsResponseBody build() { return new DescribeActivationsResponseBody(this); } } public static class Tags extends TeaModel { @NameInMap("TagKey") private String tagKey; @NameInMap("TagValue") private String tagValue; private Tags(Builder builder) { this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String tagKey; private String tagValue; /** * The tag key of the activation code. */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * The tag value of the activation code. */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public Tags build() { return new Tags(this); } } } public static class ActivationList extends TeaModel { @NameInMap("ActivationId") private String activationId; @NameInMap("CreationTime") private String creationTime; @NameInMap("DeregisteredCount") private Integer deregisteredCount; @NameInMap("Description") private String description; @NameInMap("Disabled") private Boolean disabled; @NameInMap("InstanceCount") private Integer instanceCount; @NameInMap("InstanceName") private String instanceName; @NameInMap("IpAddressRange") private String ipAddressRange; @NameInMap("RegisteredCount") private Integer registeredCount; @NameInMap("ResourceGroupId") private String resourceGroupId; @NameInMap("Tags") private java.util.List < Tags> tags; @NameInMap("TimeToLiveInHours") private Long timeToLiveInHours; private ActivationList(Builder builder) { this.activationId = builder.activationId; this.creationTime = builder.creationTime; this.deregisteredCount = builder.deregisteredCount; this.description = builder.description; this.disabled = builder.disabled; this.instanceCount = builder.instanceCount; this.instanceName = builder.instanceName; this.ipAddressRange = builder.ipAddressRange; this.registeredCount = builder.registeredCount; this.resourceGroupId = builder.resourceGroupId; this.tags = builder.tags; this.timeToLiveInHours = builder.timeToLiveInHours; } public static Builder builder() { return new Builder(); } public static ActivationList create() { return builder().build(); } /** * @return activationId */ public String getActivationId() { return this.activationId; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return deregisteredCount */ public Integer getDeregisteredCount() { return this.deregisteredCount; } /** * @return description */ public String getDescription() { return this.description; } /** * @return disabled */ public Boolean getDisabled() { return this.disabled; } /** * @return instanceCount */ public Integer getInstanceCount() { return this.instanceCount; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return ipAddressRange */ public String getIpAddressRange() { return this.ipAddressRange; } /** * @return registeredCount */ public Integer getRegisteredCount() { return this.registeredCount; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return tags */ public java.util.List < Tags> getTags() { return this.tags; } /** * @return timeToLiveInHours */ public Long getTimeToLiveInHours() { return this.timeToLiveInHours; } public static final class Builder { private String activationId; private String creationTime; private Integer deregisteredCount; private String description; private Boolean disabled; private Integer instanceCount; private String instanceName; private String ipAddressRange; private Integer registeredCount; private String resourceGroupId; private java.util.List < Tags> tags; private Long timeToLiveInHours; /** * The ID of the activation code. */ public Builder activationId(String activationId) { this.activationId = activationId; return this; } /** * The time when the activation code was created. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * The number of instances that were deregistered. */ public Builder deregisteredCount(Integer deregisteredCount) { this.deregisteredCount = deregisteredCount; return this; } /** * The description of the activation code. */ public Builder description(String description) { this.description = description; return this; } /** * Indicates whether the activation code is disabled. */ public Builder disabled(Boolean disabled) { this.disabled = disabled; return this; } /** * The maximum number of times that the activation code can be used to register managed instances. */ public Builder instanceCount(Integer instanceCount) { this.instanceCount = instanceCount; return this; } /** * The default instance name prefix. */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * The IP addresses of hosts that are allowed to use the activation code. */ public Builder ipAddressRange(String ipAddressRange) { this.ipAddressRange = ipAddressRange; return this; } /** * The number of instances that were registered. */ public Builder registeredCount(Integer registeredCount) { this.registeredCount = registeredCount; return this; } /** * The ID of the resource group to which the activation code belongs. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * The tags of the activation code. */ public Builder tags(java.util.List < Tags> tags) { this.tags = tags; return this; } /** * The validity period of the activation code. Unit: hours. */ public Builder timeToLiveInHours(Long timeToLiveInHours) { this.timeToLiveInHours = timeToLiveInHours; return this; } public ActivationList build() { return new ActivationList(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy