@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachNetworkInterfaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AttachNetworkInterfaceRequest>
Contains the parameters for AttachNetworkInterface.
NOOP
Constructor and Description |
---|
AttachNetworkInterfaceRequest() |
Modifier and Type | Method and Description |
---|---|
AttachNetworkInterfaceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDeviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment.
deviceIndex
- The index of the device for the network interface attachment.public Integer getDeviceIndex()
The index of the device for the network interface attachment.
public AttachNetworkInterfaceRequest withDeviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment.
deviceIndex
- The index of the device for the network interface attachment.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public AttachNetworkInterfaceRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public AttachNetworkInterfaceRequest withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public Request<AttachNetworkInterfaceRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AttachNetworkInterfaceRequest>
public String toString()
toString
in class Object
Object.toString()
public AttachNetworkInterfaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.