com.tencentcloudapi.vpc.v20170312.models.CreateVpcEndPointRequest Maven / Gradle / Ivy
/*
* 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.vpc.v20170312.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateVpcEndPointRequest extends AbstractModel{
/**
* VPC instance ID
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* Subnet instance ID
*/
@SerializedName("SubnetId")
@Expose
private String SubnetId;
/**
* Endpoint name
*/
@SerializedName("EndPointName")
@Expose
private String EndPointName;
/**
* Endpoint service ID
*/
@SerializedName("EndPointServiceId")
@Expose
private String EndPointServiceId;
/**
* Endpoint VIP. You can apply for a specified IP.
*/
@SerializedName("EndPointVip")
@Expose
private String EndPointVip;
/**
* Security group ID
*/
@SerializedName("SecurityGroupId")
@Expose
private String SecurityGroupId;
/**
* Get VPC instance ID
* @return VpcId VPC instance ID
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set VPC instance ID
* @param VpcId VPC instance ID
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get Subnet instance ID
* @return SubnetId Subnet instance ID
*/
public String getSubnetId() {
return this.SubnetId;
}
/**
* Set Subnet instance ID
* @param SubnetId Subnet instance ID
*/
public void setSubnetId(String SubnetId) {
this.SubnetId = SubnetId;
}
/**
* Get Endpoint name
* @return EndPointName Endpoint name
*/
public String getEndPointName() {
return this.EndPointName;
}
/**
* Set Endpoint name
* @param EndPointName Endpoint name
*/
public void setEndPointName(String EndPointName) {
this.EndPointName = EndPointName;
}
/**
* Get Endpoint service ID
* @return EndPointServiceId Endpoint service ID
*/
public String getEndPointServiceId() {
return this.EndPointServiceId;
}
/**
* Set Endpoint service ID
* @param EndPointServiceId Endpoint service ID
*/
public void setEndPointServiceId(String EndPointServiceId) {
this.EndPointServiceId = EndPointServiceId;
}
/**
* Get Endpoint VIP. You can apply for a specified IP.
* @return EndPointVip Endpoint VIP. You can apply for a specified IP.
*/
public String getEndPointVip() {
return this.EndPointVip;
}
/**
* Set Endpoint VIP. You can apply for a specified IP.
* @param EndPointVip Endpoint VIP. You can apply for a specified IP.
*/
public void setEndPointVip(String EndPointVip) {
this.EndPointVip = EndPointVip;
}
/**
* Get Security group ID
* @return SecurityGroupId Security group ID
*/
public String getSecurityGroupId() {
return this.SecurityGroupId;
}
/**
* Set Security group ID
* @param SecurityGroupId Security group ID
*/
public void setSecurityGroupId(String SecurityGroupId) {
this.SecurityGroupId = SecurityGroupId;
}
public CreateVpcEndPointRequest() {
}
/**
* 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 CreateVpcEndPointRequest(CreateVpcEndPointRequest source) {
if (source.VpcId != null) {
this.VpcId = new String(source.VpcId);
}
if (source.SubnetId != null) {
this.SubnetId = new String(source.SubnetId);
}
if (source.EndPointName != null) {
this.EndPointName = new String(source.EndPointName);
}
if (source.EndPointServiceId != null) {
this.EndPointServiceId = new String(source.EndPointServiceId);
}
if (source.EndPointVip != null) {
this.EndPointVip = new String(source.EndPointVip);
}
if (source.SecurityGroupId != null) {
this.SecurityGroupId = new String(source.SecurityGroupId);
}
}
/**
* 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 + "SubnetId", this.SubnetId);
this.setParamSimple(map, prefix + "EndPointName", this.EndPointName);
this.setParamSimple(map, prefix + "EndPointServiceId", this.EndPointServiceId);
this.setParamSimple(map, prefix + "EndPointVip", this.EndPointVip);
this.setParamSimple(map, prefix + "SecurityGroupId", this.SecurityGroupId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy