public class AttachNetworkInterfaceRequest extends com.amazonaws.AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<AttachNetworkInterfaceRequest>
AttachNetworkInterface operation.
 Attaches a network interface to an instance.
| Constructor and Description | 
|---|
| AttachNetworkInterfaceRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.Integer | getDeviceIndex()The index of the device for the network interface attachment. | 
| com.amazonaws.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. | 
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 com.amazonaws.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