com.tencentcloudapi.cvm.v20170312.models.ZoneInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.tencentcloudapi.cvm.v20170312.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ZoneInfo extends AbstractModel {
/**
* Availability zone name, such as `ap-guangzhou-3`.
The following is a list of all availability zones:
ap-chongqing-1
ap-seoul-1
ap-seoul-2
ap-chengdu-1
ap-chengdu-2
ap-hongkong-1 (resource out of stock)
ap-hongkong-2
ap-hongkong-3
ap-shenzhen-fsi-1
ap-shenzhen-fsi-2
ap-shenzhen-fsi-3
ap-guangzhou-1 (resource out of stock)
ap-guangzhou-2 (resource out of stock)
ap-guangzhou-3
ap-guangzhou-4
ap-guangzhou-6
ap-guangzhou-7
ap-tokyo-1
ap-tokyo-2
ap-singapore-1
ap-singapore-2
ap-singapore-3
ap-singapore-4
ap-shanghai-fsi-1
ap-shanghai-fsi-2
ap-shanghai-fsi-3
ap-bangkok-1
ap-bangkok-2
ap-shanghai-1 (resource out of stock)
ap-shanghai-2
ap-shanghai-3
ap-shanghai-4
ap-shanghai-5
ap-shanghai-8
ap-mumbai-1
ap-mumbai-2
eu-moscow-1
ap-beijing-1 (resource out of stock)
ap-beijing-2
ap-beijing-3
ap-beijing-4
ap-beijing-5
ap-beijing-6
ap-beijing-7
na-siliconvalley-1
na-siliconvalley-2
eu-frankfurt-1
eu-frankfurt-2
na-toronto-1
na-ashburn-1
na-ashburn-2
ap-nanjing-1
ap-nanjing-2
ap-nanjing-3
sa-saopaulo-1
ap-jakarta-1
ap-jakarta-2
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* Availability zone description, such as Guangzhou Zone 3.
*/
@SerializedName("ZoneName")
@Expose
private String ZoneName;
/**
* Availability zone ID.
*/
@SerializedName("ZoneId")
@Expose
private String ZoneId;
/**
* Availability zone status. Valid values: `AVAILABLE`: available; `UNAVAILABLE`: unavailable.
*/
@SerializedName("ZoneState")
@Expose
private String ZoneState;
/**
* Get Availability zone name, such as `ap-guangzhou-3`.
The following is a list of all availability zones:
ap-chongqing-1
ap-seoul-1
ap-seoul-2
ap-chengdu-1
ap-chengdu-2
ap-hongkong-1 (resource out of stock)
ap-hongkong-2
ap-hongkong-3
ap-shenzhen-fsi-1
ap-shenzhen-fsi-2
ap-shenzhen-fsi-3
ap-guangzhou-1 (resource out of stock)
ap-guangzhou-2 (resource out of stock)
ap-guangzhou-3
ap-guangzhou-4
ap-guangzhou-6
ap-guangzhou-7
ap-tokyo-1
ap-tokyo-2
ap-singapore-1
ap-singapore-2
ap-singapore-3
ap-singapore-4
ap-shanghai-fsi-1
ap-shanghai-fsi-2
ap-shanghai-fsi-3
ap-bangkok-1
ap-bangkok-2
ap-shanghai-1 (resource out of stock)
ap-shanghai-2
ap-shanghai-3
ap-shanghai-4
ap-shanghai-5
ap-shanghai-8
ap-mumbai-1
ap-mumbai-2
eu-moscow-1
ap-beijing-1 (resource out of stock)
ap-beijing-2
ap-beijing-3
ap-beijing-4
ap-beijing-5
ap-beijing-6
ap-beijing-7
na-siliconvalley-1
na-siliconvalley-2
eu-frankfurt-1
eu-frankfurt-2
na-toronto-1
na-ashburn-1
na-ashburn-2
ap-nanjing-1
ap-nanjing-2
ap-nanjing-3
sa-saopaulo-1
ap-jakarta-1
ap-jakarta-2
* @return Zone Availability zone name, such as `ap-guangzhou-3`.
The following is a list of all availability zones:
ap-chongqing-1
ap-seoul-1
ap-seoul-2
ap-chengdu-1
ap-chengdu-2
ap-hongkong-1 (resource out of stock)
ap-hongkong-2
ap-hongkong-3
ap-shenzhen-fsi-1
ap-shenzhen-fsi-2
ap-shenzhen-fsi-3
ap-guangzhou-1 (resource out of stock)
ap-guangzhou-2 (resource out of stock)
ap-guangzhou-3
ap-guangzhou-4
ap-guangzhou-6
ap-guangzhou-7
ap-tokyo-1
ap-tokyo-2
ap-singapore-1
ap-singapore-2
ap-singapore-3
ap-singapore-4
ap-shanghai-fsi-1
ap-shanghai-fsi-2
ap-shanghai-fsi-3
ap-bangkok-1
ap-bangkok-2
ap-shanghai-1 (resource out of stock)
ap-shanghai-2
ap-shanghai-3
ap-shanghai-4
ap-shanghai-5
ap-shanghai-8
ap-mumbai-1
ap-mumbai-2
eu-moscow-1
ap-beijing-1 (resource out of stock)
ap-beijing-2
ap-beijing-3
ap-beijing-4
ap-beijing-5
ap-beijing-6
ap-beijing-7
na-siliconvalley-1
na-siliconvalley-2
eu-frankfurt-1
eu-frankfurt-2
na-toronto-1
na-ashburn-1
na-ashburn-2
ap-nanjing-1
ap-nanjing-2
ap-nanjing-3
sa-saopaulo-1
ap-jakarta-1
ap-jakarta-2
*/
public String getZone() {
return this.Zone;
}
/**
* Set Availability zone name, such as `ap-guangzhou-3`.
The following is a list of all availability zones:
ap-chongqing-1
ap-seoul-1
ap-seoul-2
ap-chengdu-1
ap-chengdu-2
ap-hongkong-1 (resource out of stock)
ap-hongkong-2
ap-hongkong-3
ap-shenzhen-fsi-1
ap-shenzhen-fsi-2
ap-shenzhen-fsi-3
ap-guangzhou-1 (resource out of stock)
ap-guangzhou-2 (resource out of stock)
ap-guangzhou-3
ap-guangzhou-4
ap-guangzhou-6
ap-guangzhou-7
ap-tokyo-1
ap-tokyo-2
ap-singapore-1
ap-singapore-2
ap-singapore-3
ap-singapore-4
ap-shanghai-fsi-1
ap-shanghai-fsi-2
ap-shanghai-fsi-3
ap-bangkok-1
ap-bangkok-2
ap-shanghai-1 (resource out of stock)
ap-shanghai-2
ap-shanghai-3
ap-shanghai-4
ap-shanghai-5
ap-shanghai-8
ap-mumbai-1
ap-mumbai-2
eu-moscow-1
ap-beijing-1 (resource out of stock)
ap-beijing-2
ap-beijing-3
ap-beijing-4
ap-beijing-5
ap-beijing-6
ap-beijing-7
na-siliconvalley-1
na-siliconvalley-2
eu-frankfurt-1
eu-frankfurt-2
na-toronto-1
na-ashburn-1
na-ashburn-2
ap-nanjing-1
ap-nanjing-2
ap-nanjing-3
sa-saopaulo-1
ap-jakarta-1
ap-jakarta-2
* @param Zone Availability zone name, such as `ap-guangzhou-3`.
The following is a list of all availability zones:
ap-chongqing-1
ap-seoul-1
ap-seoul-2
ap-chengdu-1
ap-chengdu-2
ap-hongkong-1 (resource out of stock)
ap-hongkong-2
ap-hongkong-3
ap-shenzhen-fsi-1
ap-shenzhen-fsi-2
ap-shenzhen-fsi-3
ap-guangzhou-1 (resource out of stock)
ap-guangzhou-2 (resource out of stock)
ap-guangzhou-3
ap-guangzhou-4
ap-guangzhou-6
ap-guangzhou-7
ap-tokyo-1
ap-tokyo-2
ap-singapore-1
ap-singapore-2
ap-singapore-3
ap-singapore-4
ap-shanghai-fsi-1
ap-shanghai-fsi-2
ap-shanghai-fsi-3
ap-bangkok-1
ap-bangkok-2
ap-shanghai-1 (resource out of stock)
ap-shanghai-2
ap-shanghai-3
ap-shanghai-4
ap-shanghai-5
ap-shanghai-8
ap-mumbai-1
ap-mumbai-2
eu-moscow-1
ap-beijing-1 (resource out of stock)
ap-beijing-2
ap-beijing-3
ap-beijing-4
ap-beijing-5
ap-beijing-6
ap-beijing-7
na-siliconvalley-1
na-siliconvalley-2
eu-frankfurt-1
eu-frankfurt-2
na-toronto-1
na-ashburn-1
na-ashburn-2
ap-nanjing-1
ap-nanjing-2
ap-nanjing-3
sa-saopaulo-1
ap-jakarta-1
ap-jakarta-2
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get Availability zone description, such as Guangzhou Zone 3.
* @return ZoneName Availability zone description, such as Guangzhou Zone 3.
*/
public String getZoneName() {
return this.ZoneName;
}
/**
* Set Availability zone description, such as Guangzhou Zone 3.
* @param ZoneName Availability zone description, such as Guangzhou Zone 3.
*/
public void setZoneName(String ZoneName) {
this.ZoneName = ZoneName;
}
/**
* Get Availability zone ID.
* @return ZoneId Availability zone ID.
*/
public String getZoneId() {
return this.ZoneId;
}
/**
* Set Availability zone ID.
* @param ZoneId Availability zone ID.
*/
public void setZoneId(String ZoneId) {
this.ZoneId = ZoneId;
}
/**
* Get Availability zone status. Valid values: `AVAILABLE`: available; `UNAVAILABLE`: unavailable.
* @return ZoneState Availability zone status. Valid values: `AVAILABLE`: available; `UNAVAILABLE`: unavailable.
*/
public String getZoneState() {
return this.ZoneState;
}
/**
* Set Availability zone status. Valid values: `AVAILABLE`: available; `UNAVAILABLE`: unavailable.
* @param ZoneState Availability zone status. Valid values: `AVAILABLE`: available; `UNAVAILABLE`: unavailable.
*/
public void setZoneState(String ZoneState) {
this.ZoneState = ZoneState;
}
public ZoneInfo() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public ZoneInfo(ZoneInfo source) {
if (source.Zone != null) {
this.Zone = new String(source.Zone);
}
if (source.ZoneName != null) {
this.ZoneName = new String(source.ZoneName);
}
if (source.ZoneId != null) {
this.ZoneId = new String(source.ZoneId);
}
if (source.ZoneState != null) {
this.ZoneState = new String(source.ZoneState);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamSimple(map, prefix + "ZoneName", this.ZoneName);
this.setParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.setParamSimple(map, prefix + "ZoneState", this.ZoneState);
}
}