Class CreateHaVipRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.CreateHaVipRequest
-
public class CreateHaVipRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateHaVipRequest()CreateHaVipRequest(CreateHaVipRequest source)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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHaVipName()Get `HAVIP`名称。StringgetNetworkInterfaceId()Get `HAVIP`所在弹性网卡`ID`。StringgetSubnetId()Get `HAVIP`所在子网`ID`。StringgetVip()Get 指定虚拟IP地址,必须在`VPC`网段内且未被占用。不指定则自动分配。StringgetVpcId()Get `HAVIP`所在私有网络`ID`。voidsetHaVipName(String HaVipName)Set `HAVIP`名称。voidsetNetworkInterfaceId(String NetworkInterfaceId)Set `HAVIP`所在弹性网卡`ID`。voidsetSubnetId(String SubnetId)Set `HAVIP`所在子网`ID`。voidsetVip(String Vip)Set 指定虚拟IP地址,必须在`VPC`网段内且未被占用。不指定则自动分配。voidsetVpcId(String VpcId)Set `HAVIP`所在私有网络`ID`。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateHaVipRequest
public CreateHaVipRequest()
-
CreateHaVipRequest
public CreateHaVipRequest(CreateHaVipRequest source)
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.
-
-
Method Detail
-
getVpcId
public String getVpcId()
Get `HAVIP`所在私有网络`ID`。- Returns:
- VpcId `HAVIP`所在私有网络`ID`。
-
setVpcId
public void setVpcId(String VpcId)
Set `HAVIP`所在私有网络`ID`。- Parameters:
VpcId- `HAVIP`所在私有网络`ID`。
-
getSubnetId
public String getSubnetId()
Get `HAVIP`所在子网`ID`。- Returns:
- SubnetId `HAVIP`所在子网`ID`。
-
setSubnetId
public void setSubnetId(String SubnetId)
Set `HAVIP`所在子网`ID`。- Parameters:
SubnetId- `HAVIP`所在子网`ID`。
-
getHaVipName
public String getHaVipName()
Get `HAVIP`名称。- Returns:
- HaVipName `HAVIP`名称。
-
setHaVipName
public void setHaVipName(String HaVipName)
Set `HAVIP`名称。- Parameters:
HaVipName- `HAVIP`名称。
-
getVip
public String getVip()
Get 指定虚拟IP地址,必须在`VPC`网段内且未被占用。不指定则自动分配。- Returns:
- Vip 指定虚拟IP地址,必须在`VPC`网段内且未被占用。不指定则自动分配。
-
setVip
public void setVip(String Vip)
Set 指定虚拟IP地址,必须在`VPC`网段内且未被占用。不指定则自动分配。- Parameters:
Vip- 指定虚拟IP地址,必须在`VPC`网段内且未被占用。不指定则自动分配。
-
getNetworkInterfaceId
public String getNetworkInterfaceId()
Get `HAVIP`所在弹性网卡`ID`。- Returns:
- NetworkInterfaceId `HAVIP`所在弹性网卡`ID`。
-
setNetworkInterfaceId
public void setNetworkInterfaceId(String NetworkInterfaceId)
Set `HAVIP`所在弹性网卡`ID`。- Parameters:
NetworkInterfaceId- `HAVIP`所在弹性网卡`ID`。
-
-