public class AttachNetworkInterfaceRequest extends AbstractModel
Constructor and Description |
---|
AttachNetworkInterfaceRequest() |
AttachNetworkInterfaceRequest(AttachNetworkInterfaceRequest 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 mounting type.
|
String |
getInstanceId()
Get The ID of the CVM instance, such as `ins-r8hr2upy`.
|
String |
getNetworkInterfaceId()
Get The ID of the ENI instance, such as `eni-m6dyj72l`.
|
void |
setAttachType(Long AttachType)
Set ENI mounting type.
|
void |
setInstanceId(String InstanceId)
Set The ID of the CVM instance, such as `ins-r8hr2upy`.
|
void |
setNetworkInterfaceId(String NetworkInterfaceId)
Set The ID of the ENI instance, such as `eni-m6dyj72l`.
|
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 AttachNetworkInterfaceRequest()
public AttachNetworkInterfaceRequest(AttachNetworkInterfaceRequest source)
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId
- The ID of the ENI instance, such as `eni-m6dyj72l`.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- The ID of the CVM instance, such as `ins-r8hr2upy`.public Long getAttachType()
public void setAttachType(Long AttachType)
AttachType
- ENI mounting type. Valid values: `0` (standard); `1` (extension); default value: `0`Copyright © 2023. All rights reserved.