com.tencentcloudapi.ecm.v20190719.models.CreateRouteTableRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-ecm Show documentation
Show all versions of tencentcloud-sdk-java-ecm 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.ecm.v20190719.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateRouteTableRequest extends AbstractModel{
/**
* 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* 路由表名称,最大长度不能超过60个字节。
*/
@SerializedName("RouteTableName")
@Expose
private String RouteTableName;
/**
* ecm地域
*/
@SerializedName("EcmRegion")
@Expose
private String EcmRegion;
/**
* Get 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
* @return VpcId 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
* @param VpcId 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get 路由表名称,最大长度不能超过60个字节。
* @return RouteTableName 路由表名称,最大长度不能超过60个字节。
*/
public String getRouteTableName() {
return this.RouteTableName;
}
/**
* Set 路由表名称,最大长度不能超过60个字节。
* @param RouteTableName 路由表名称,最大长度不能超过60个字节。
*/
public void setRouteTableName(String RouteTableName) {
this.RouteTableName = RouteTableName;
}
/**
* Get ecm地域
* @return EcmRegion ecm地域
*/
public String getEcmRegion() {
return this.EcmRegion;
}
/**
* Set ecm地域
* @param EcmRegion ecm地域
*/
public void setEcmRegion(String EcmRegion) {
this.EcmRegion = EcmRegion;
}
public CreateRouteTableRequest() {
}
/**
* 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 CreateRouteTableRequest(CreateRouteTableRequest source) {
if (source.VpcId != null) {
this.VpcId = new String(source.VpcId);
}
if (source.RouteTableName != null) {
this.RouteTableName = new String(source.RouteTableName);
}
if (source.EcmRegion != null) {
this.EcmRegion = new String(source.EcmRegion);
}
}
/**
* 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 + "RouteTableName", this.RouteTableName);
this.setParamSimple(map, prefix + "EcmRegion", this.EcmRegion);
}
}