public class MigrateNetworkInterfaceRequest extends AbstractModel
header, skipSign| Constructor and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getAttachType()Get 网卡绑定类型:0 标准型 1 扩展型。默认:0。 | 
| String | getDestinationInstanceId()Get 待迁移的目的CVM实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728)接口获取。 | 
| String | getNetworkInterfaceId()Get 弹性网卡实例ID,例如:eni-m6dyj72l。可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/product/215/15817)接口获取。 | 
| String | getSourceInstanceId()Get 弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728)接口获取。 | 
| void | setAttachType(Long AttachType)Set 网卡绑定类型:0 标准型 1 扩展型。默认:0。 | 
| void | setDestinationInstanceId(String DestinationInstanceId)Set 待迁移的目的CVM实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728)接口获取。 | 
| void | setNetworkInterfaceId(String NetworkInterfaceId)Set 弹性网卡实例ID,例如:eni-m6dyj72l。可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/product/215/15817)接口获取。 | 
| void | setSourceInstanceId(String SourceInstanceId)Set 弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728)接口获取。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic MigrateNetworkInterfaceRequest()
public MigrateNetworkInterfaceRequest(MigrateNetworkInterfaceRequest source)
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId - 弹性网卡实例ID,例如:eni-m6dyj72l。可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/product/215/15817)接口获取。public String getSourceInstanceId()
public void setSourceInstanceId(String SourceInstanceId)
SourceInstanceId - 弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728)接口获取。public String getDestinationInstanceId()
public void setDestinationInstanceId(String DestinationInstanceId)
DestinationInstanceId - 待迁移的目的CVM实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728)接口获取。public Long getAttachType()
public void setAttachType(Long AttachType)
AttachType - 网卡绑定类型:0 标准型 1 扩展型。默认:0。Copyright © 2025. All rights reserved.