|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.AttachNetworkInterfaceRequest
public class AttachNetworkInterfaceRequest
Container for the parameters to the AttachNetworkInterface operation
.
Attaches a network interface to an instance.
AmazonEC2.attachNetworkInterface(AttachNetworkInterfaceRequest)
,
Serialized FormConstructor Summary | |
---|---|
AttachNetworkInterfaceRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Integer |
getDeviceIndex()
The index of the device for the network interface attachment. |
Request<AttachNetworkInterfaceRequest> |
getDryRunRequest()
This method is intended for internal use only. |
String |
getInstanceId()
The ID of the instance. |
String |
getNetworkInterfaceId()
The ID of the network interface. |
int |
hashCode()
|
void |
setDeviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment. |
void |
setInstanceId(String instanceId)
The ID of the instance. |
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttachNetworkInterfaceRequest |
withDeviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment. |
AttachNetworkInterfaceRequest |
withInstanceId(String instanceId)
The ID of the instance. |
AttachNetworkInterfaceRequest |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttachNetworkInterfaceRequest()
Method Detail |
---|
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId
- The ID of the network interface.public AttachNetworkInterfaceRequest withNetworkInterfaceId(String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId
- The ID of the network interface.
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The ID of the instance.public AttachNetworkInterfaceRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance.
public Integer getDeviceIndex()
public void setDeviceIndex(Integer deviceIndex)
deviceIndex
- The index of the device for the network interface attachment.public AttachNetworkInterfaceRequest withDeviceIndex(Integer deviceIndex)
Returns a reference to this object so that method calls can be chained together.
deviceIndex
- The index of the device for the network interface attachment.
public Request<AttachNetworkInterfaceRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AttachNetworkInterfaceRequest>
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |