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