com.aliyuncs.ecs.model.v20140526.DescribeReservedInstancesResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-ecs Show documentation
Show all versions of aliyun-java-sdk-ecs Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.ecs.model.v20140526;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.ecs.transform.v20140526.DescribeReservedInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeReservedInstancesResponse extends AcsResponse {
private String requestId;
private Integer totalCount;
private Integer pageNumber;
private Integer pageSize;
private List reservedInstances;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public List getReservedInstances() {
return this.reservedInstances;
}
public void setReservedInstances(List reservedInstances) {
this.reservedInstances = reservedInstances;
}
public static class ReservedInstance {
private String reservedInstanceId;
private String regionId;
private String zoneId;
private String reservedInstanceName;
private String description;
private String instanceType;
private String scope;
private String offeringType;
private String platform;
private Integer instanceAmount;
private String status;
private String creationTime;
private String expiredTime;
private String startTime;
private String resourceGroupId;
private String allocationStatus;
private List operationLocks;
private List tags;
public String getReservedInstanceId() {
return this.reservedInstanceId;
}
public void setReservedInstanceId(String reservedInstanceId) {
this.reservedInstanceId = reservedInstanceId;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
public String getReservedInstanceName() {
return this.reservedInstanceName;
}
public void setReservedInstanceName(String reservedInstanceName) {
this.reservedInstanceName = reservedInstanceName;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
public String getScope() {
return this.scope;
}
public void setScope(String scope) {
this.scope = scope;
}
public String getOfferingType() {
return this.offeringType;
}
public void setOfferingType(String offeringType) {
this.offeringType = offeringType;
}
public String getPlatform() {
return this.platform;
}
public void setPlatform(String platform) {
this.platform = platform;
}
public Integer getInstanceAmount() {
return this.instanceAmount;
}
public void setInstanceAmount(Integer instanceAmount) {
this.instanceAmount = instanceAmount;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getCreationTime() {
return this.creationTime;
}
public void setCreationTime(String creationTime) {
this.creationTime = creationTime;
}
public String getExpiredTime() {
return this.expiredTime;
}
public void setExpiredTime(String expiredTime) {
this.expiredTime = expiredTime;
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
}
public String getAllocationStatus() {
return this.allocationStatus;
}
public void setAllocationStatus(String allocationStatus) {
this.allocationStatus = allocationStatus;
}
public List getOperationLocks() {
return this.operationLocks;
}
public void setOperationLocks(List operationLocks) {
this.operationLocks = operationLocks;
}
public List getTags() {
return this.tags;
}
public void setTags(List tags) {
this.tags = tags;
}
public static class OperationLock {
private String lockReason;
public String getLockReason() {
return this.lockReason;
}
public void setLockReason(String lockReason) {
this.lockReason = lockReason;
}
}
public static class Tag {
private String tagKey;
private String tagValue;
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
}
}
@Override
public DescribeReservedInstancesResponse getInstance(UnmarshallerContext context) {
return DescribeReservedInstancesResponseUnmarshaller.unmarshall(this, context);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy