Class MigrateNetworkInterfaceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.MigrateNetworkInterfaceRequest
-
public class MigrateNetworkInterfaceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MigrateNetworkInterfaceRequest()MigrateNetworkInterfaceRequest(MigrateNetworkInterfaceRequest 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 LonggetAttachType()Get 网卡绑定类型:0 标准型 1 扩展型。StringgetDestinationInstanceId()Get 待迁移的目的CVM实例ID。StringgetNetworkInterfaceId()Get 弹性网卡实例ID,例如:eni-m6dyj72l。StringgetSourceInstanceId()Get 弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。voidsetAttachType(Long AttachType)Set 网卡绑定类型:0 标准型 1 扩展型。voidsetDestinationInstanceId(String DestinationInstanceId)Set 待迁移的目的CVM实例ID。voidsetNetworkInterfaceId(String NetworkInterfaceId)Set 弹性网卡实例ID,例如:eni-m6dyj72l。voidsetSourceInstanceId(String SourceInstanceId)Set 弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。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
-
MigrateNetworkInterfaceRequest
public MigrateNetworkInterfaceRequest()
-
MigrateNetworkInterfaceRequest
public MigrateNetworkInterfaceRequest(MigrateNetworkInterfaceRequest 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
-
getNetworkInterfaceId
public String getNetworkInterfaceId()
Get 弹性网卡实例ID,例如:eni-m6dyj72l。- Returns:
- NetworkInterfaceId 弹性网卡实例ID,例如:eni-m6dyj72l。
-
setNetworkInterfaceId
public void setNetworkInterfaceId(String NetworkInterfaceId)
Set 弹性网卡实例ID,例如:eni-m6dyj72l。- Parameters:
NetworkInterfaceId- 弹性网卡实例ID,例如:eni-m6dyj72l。
-
getSourceInstanceId
public String getSourceInstanceId()
Get 弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。- Returns:
- SourceInstanceId 弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。
-
setSourceInstanceId
public void setSourceInstanceId(String SourceInstanceId)
Set 弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。- Parameters:
SourceInstanceId- 弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。
-
getDestinationInstanceId
public String getDestinationInstanceId()
Get 待迁移的目的CVM实例ID。- Returns:
- DestinationInstanceId 待迁移的目的CVM实例ID。
-
setDestinationInstanceId
public void setDestinationInstanceId(String DestinationInstanceId)
Set 待迁移的目的CVM实例ID。- Parameters:
DestinationInstanceId- 待迁移的目的CVM实例ID。
-
getAttachType
public Long getAttachType()
Get 网卡绑定类型:0 标准型 1 扩展型。- Returns:
- AttachType 网卡绑定类型:0 标准型 1 扩展型。
-
setAttachType
public void setAttachType(Long AttachType)
Set 网卡绑定类型:0 标准型 1 扩展型。- Parameters:
AttachType- 网卡绑定类型:0 标准型 1 扩展型。
-
-