public class AttachNetworkInterfaceRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<AttachNetworkInterfaceRequest>
AttachNetworkInterface operation
.
Attaches a network interface to an instance.
NOOP
Constructor and Description |
---|
AttachNetworkInterfaceRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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()
Copyright © 2014. All rights reserved.