public class MigrateNetworkInterfaceRequest extends AbstractModel
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 ENI mount method.
|
String |
getDestinationInstanceId()
Get ID of the destination CVM instance to be migrated.
|
String |
getNetworkInterfaceId()
Get The ID of the ENI instance, such as `eni-m6dyj72l`.
|
String |
getSourceInstanceId()
Get The ID of the CVM bound to the ENI, such as `ins-r8hr2upy`.
|
void |
setAttachType(Long AttachType)
Set ENI mount method.
|
void |
setDestinationInstanceId(String DestinationInstanceId)
Set ID of the destination CVM instance to be migrated.
|
void |
setNetworkInterfaceId(String NetworkInterfaceId)
Set The ID of the ENI instance, such as `eni-m6dyj72l`.
|
void |
setSourceInstanceId(String SourceInstanceId)
Set The ID of the CVM bound to the ENI, such as `ins-r8hr2upy`.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public MigrateNetworkInterfaceRequest()
public MigrateNetworkInterfaceRequest(MigrateNetworkInterfaceRequest source)
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId
- The ID of the ENI instance, such as `eni-m6dyj72l`.public String getSourceInstanceId()
public void setSourceInstanceId(String SourceInstanceId)
SourceInstanceId
- The ID of the CVM bound to the ENI, such as `ins-r8hr2upy`.public String getDestinationInstanceId()
public void setDestinationInstanceId(String DestinationInstanceId)
DestinationInstanceId
- ID of the destination CVM instance to be migrated.public Long getAttachType()
public void setAttachType(Long AttachType)
AttachType
- ENI mount method. Valid values: 0: standard; 1: extension; default value: 0Copyright © 2023. All rights reserved.