com.tencentcloudapi.clb.v20180317.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.clb.v20180317.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ZoneInfo extends AbstractModel{
/**
* Unique AZ ID in a numeric form, such as 100001
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ZoneId")
@Expose
private Long ZoneId;
/**
* Unique AZ ID in a string form, such as ap-guangzhou-1
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* AZ name, such as Guangzhou Zone 1
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ZoneName")
@Expose
private String ZoneName;
/**
* AZ region, e.g., ap-guangzhou.
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("ZoneRegion")
@Expose
private String ZoneRegion;
/**
* Whether the AZ is the `LocalZone`, e.g., false.
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("LocalZone")
@Expose
private Boolean LocalZone;
/**
* Get Unique AZ ID in a numeric form, such as 100001
Note: This field may return null, indicating that no valid values can be obtained.
* @return ZoneId Unique AZ ID in a numeric form, such as 100001
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getZoneId() {
return this.ZoneId;
}
/**
* Set Unique AZ ID in a numeric form, such as 100001
Note: This field may return null, indicating that no valid values can be obtained.
* @param ZoneId Unique AZ ID in a numeric form, such as 100001
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setZoneId(Long ZoneId) {
this.ZoneId = ZoneId;
}
/**
* Get Unique AZ ID in a string form, such as ap-guangzhou-1
Note: This field may return null, indicating that no valid values can be obtained.
* @return Zone Unique AZ ID in a string form, such as ap-guangzhou-1
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getZone() {
return this.Zone;
}
/**
* Set Unique AZ ID in a string form, such as ap-guangzhou-1
Note: This field may return null, indicating that no valid values can be obtained.
* @param Zone Unique AZ ID in a string form, such as ap-guangzhou-1
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get AZ name, such as Guangzhou Zone 1
Note: This field may return null, indicating that no valid values can be obtained.
* @return ZoneName AZ name, such as Guangzhou Zone 1
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getZoneName() {
return this.ZoneName;
}
/**
* Set AZ name, such as Guangzhou Zone 1
Note: This field may return null, indicating that no valid values can be obtained.
* @param ZoneName AZ name, such as Guangzhou Zone 1
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setZoneName(String ZoneName) {
this.ZoneName = ZoneName;
}
/**
* Get AZ region, e.g., ap-guangzhou.
Note: This field may return `null`, indicating that no valid values can be obtained.
* @return ZoneRegion AZ region, e.g., ap-guangzhou.
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public String getZoneRegion() {
return this.ZoneRegion;
}
/**
* Set AZ region, e.g., ap-guangzhou.
Note: This field may return `null`, indicating that no valid values can be obtained.
* @param ZoneRegion AZ region, e.g., ap-guangzhou.
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public void setZoneRegion(String ZoneRegion) {
this.ZoneRegion = ZoneRegion;
}
/**
* Get Whether the AZ is the `LocalZone`, e.g., false.
Note: This field may return `null`, indicating that no valid values can be obtained.
* @return LocalZone Whether the AZ is the `LocalZone`, e.g., false.
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public Boolean getLocalZone() {
return this.LocalZone;
}
/**
* Set Whether the AZ is the `LocalZone`, e.g., false.
Note: This field may return `null`, indicating that no valid values can be obtained.
* @param LocalZone Whether the AZ is the `LocalZone`, e.g., false.
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public void setLocalZone(Boolean LocalZone) {
this.LocalZone = LocalZone;
}
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.ZoneId != null) {
this.ZoneId = new Long(source.ZoneId);
}
if (source.Zone != null) {
this.Zone = new String(source.Zone);
}
if (source.ZoneName != null) {
this.ZoneName = new String(source.ZoneName);
}
if (source.ZoneRegion != null) {
this.ZoneRegion = new String(source.ZoneRegion);
}
if (source.LocalZone != null) {
this.LocalZone = new Boolean(source.LocalZone);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamSimple(map, prefix + "ZoneName", this.ZoneName);
this.setParamSimple(map, prefix + "ZoneRegion", this.ZoneRegion);
this.setParamSimple(map, prefix + "LocalZone", this.LocalZone);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy