com.tencentcloudapi.bmvpc.v20180625.models.VpcInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-bmvpc Show documentation
Show all versions of tencentcloud-sdk-java-bmvpc Show documentation
Tencent Cloud Open 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.bmvpc.v20180625.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class VpcInfo extends AbstractModel{
/**
* 私有网络的唯一ID。
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* VPC的名称。
*/
@SerializedName("VpcName")
@Expose
private String VpcName;
/**
* VPC的CIDR。
*/
@SerializedName("CidrBlock")
@Expose
private String CidrBlock;
/**
* 可用区
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* VPC状态
*/
@SerializedName("State")
@Expose
private String State;
/**
* 创建时间
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* 整型私有网络ID。
*/
@SerializedName("IntVpcId")
@Expose
private Long IntVpcId;
/**
* Get 私有网络的唯一ID。
* @return VpcId 私有网络的唯一ID。
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set 私有网络的唯一ID。
* @param VpcId 私有网络的唯一ID。
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get VPC的名称。
* @return VpcName VPC的名称。
*/
public String getVpcName() {
return this.VpcName;
}
/**
* Set VPC的名称。
* @param VpcName VPC的名称。
*/
public void setVpcName(String VpcName) {
this.VpcName = VpcName;
}
/**
* Get VPC的CIDR。
* @return CidrBlock VPC的CIDR。
*/
public String getCidrBlock() {
return this.CidrBlock;
}
/**
* Set VPC的CIDR。
* @param CidrBlock VPC的CIDR。
*/
public void setCidrBlock(String CidrBlock) {
this.CidrBlock = CidrBlock;
}
/**
* Get 可用区
* @return Zone 可用区
*/
public String getZone() {
return this.Zone;
}
/**
* Set 可用区
* @param Zone 可用区
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get VPC状态
* @return State VPC状态
*/
public String getState() {
return this.State;
}
/**
* Set VPC状态
* @param State VPC状态
*/
public void setState(String State) {
this.State = State;
}
/**
* Get 创建时间
* @return CreateTime 创建时间
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set 创建时间
* @param CreateTime 创建时间
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get 整型私有网络ID。
* @return IntVpcId 整型私有网络ID。
*/
public Long getIntVpcId() {
return this.IntVpcId;
}
/**
* Set 整型私有网络ID。
* @param IntVpcId 整型私有网络ID。
*/
public void setIntVpcId(Long IntVpcId) {
this.IntVpcId = IntVpcId;
}
public VpcInfo() {
}
/**
* 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 VpcInfo(VpcInfo source) {
if (source.VpcId != null) {
this.VpcId = new String(source.VpcId);
}
if (source.VpcName != null) {
this.VpcName = new String(source.VpcName);
}
if (source.CidrBlock != null) {
this.CidrBlock = new String(source.CidrBlock);
}
if (source.Zone != null) {
this.Zone = new String(source.Zone);
}
if (source.State != null) {
this.State = new String(source.State);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.IntVpcId != null) {
this.IntVpcId = new Long(source.IntVpcId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "VpcName", this.VpcName);
this.setParamSimple(map, prefix + "CidrBlock", this.CidrBlock);
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamSimple(map, prefix + "State", this.State);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "IntVpcId", this.IntVpcId);
}
}