
com.tencentcloudapi.privatedns.v20201028.models.CreateEndPointRequest 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.privatedns.v20201028.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 CreateEndPointRequest extends AbstractModel {
/**
* Endpoint name.
*/
@SerializedName("EndPointName")
@Expose
private String EndPointName;
/**
* Endpoint service ID (namely, VPC endpoint service ID).
*/
@SerializedName("EndPointServiceId")
@Expose
private String EndPointServiceId;
/**
* Endpoint region, which should be consistent with the region of the endpoint service.
*/
@SerializedName("EndPointRegion")
@Expose
private String EndPointRegion;
/**
* Number of endpoint IP addresses.
*/
@SerializedName("IpNum")
@Expose
private Long IpNum;
/**
* 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 (namely, VPC endpoint service ID).
* @return EndPointServiceId Endpoint service ID (namely, VPC endpoint service ID).
*/
public String getEndPointServiceId() {
return this.EndPointServiceId;
}
/**
* Set Endpoint service ID (namely, VPC endpoint service ID).
* @param EndPointServiceId Endpoint service ID (namely, VPC endpoint service ID).
*/
public void setEndPointServiceId(String EndPointServiceId) {
this.EndPointServiceId = EndPointServiceId;
}
/**
* Get Endpoint region, which should be consistent with the region of the endpoint service.
* @return EndPointRegion Endpoint region, which should be consistent with the region of the endpoint service.
*/
public String getEndPointRegion() {
return this.EndPointRegion;
}
/**
* Set Endpoint region, which should be consistent with the region of the endpoint service.
* @param EndPointRegion Endpoint region, which should be consistent with the region of the endpoint service.
*/
public void setEndPointRegion(String EndPointRegion) {
this.EndPointRegion = EndPointRegion;
}
/**
* Get Number of endpoint IP addresses.
* @return IpNum Number of endpoint IP addresses.
*/
public Long getIpNum() {
return this.IpNum;
}
/**
* Set Number of endpoint IP addresses.
* @param IpNum Number of endpoint IP addresses.
*/
public void setIpNum(Long IpNum) {
this.IpNum = IpNum;
}
public CreateEndPointRequest() {
}
/**
* 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 CreateEndPointRequest(CreateEndPointRequest source) {
if (source.EndPointName != null) {
this.EndPointName = new String(source.EndPointName);
}
if (source.EndPointServiceId != null) {
this.EndPointServiceId = new String(source.EndPointServiceId);
}
if (source.EndPointRegion != null) {
this.EndPointRegion = new String(source.EndPointRegion);
}
if (source.IpNum != null) {
this.IpNum = new Long(source.IpNum);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "EndPointName", this.EndPointName);
this.setParamSimple(map, prefix + "EndPointServiceId", this.EndPointServiceId);
this.setParamSimple(map, prefix + "EndPointRegion", this.EndPointRegion);
this.setParamSimple(map, prefix + "IpNum", this.IpNum);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy