com.aliyuncs.ecs.model.v20140526.DescribeAvailableResourceResponse 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.DescribeAvailableResourceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAvailableResourceResponse extends AcsResponse {
private String requestId;
private List availableZones;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List getAvailableZones() {
return this.availableZones;
}
public void setAvailableZones(List availableZones) {
this.availableZones = availableZones;
}
public static class AvailableZone {
private String zoneId;
private String status;
private String statusCategory;
private String regionId;
private List availableResources;
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getStatusCategory() {
return this.statusCategory;
}
public void setStatusCategory(String statusCategory) {
this.statusCategory = statusCategory;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public List getAvailableResources() {
return this.availableResources;
}
public void setAvailableResources(List availableResources) {
this.availableResources = availableResources;
}
public static class AvailableResource {
private String type;
private List supportedResources;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public List getSupportedResources() {
return this.supportedResources;
}
public void setSupportedResources(List supportedResources) {
this.supportedResources = supportedResources;
}
public static class SupportedResource {
private String status;
private String value;
private Integer max;
private String unit;
private String statusCategory;
private Integer min;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public Integer getMax() {
return this.max;
}
public void setMax(Integer max) {
this.max = max;
}
public String getUnit() {
return this.unit;
}
public void setUnit(String unit) {
this.unit = unit;
}
public String getStatusCategory() {
return this.statusCategory;
}
public void setStatusCategory(String statusCategory) {
this.statusCategory = statusCategory;
}
public Integer getMin() {
return this.min;
}
public void setMin(Integer min) {
this.min = min;
}
}
}
}
@Override
public DescribeAvailableResourceResponse getInstance(UnmarshallerContext context) {
return DescribeAvailableResourceResponseUnmarshaller.unmarshall(this, context);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy