Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class AttachNetworkInterfaceRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.AttachNetworkInterfaceRequest

public class AttachNetworkInterfaceRequest
extends AmazonWebServiceRequest

Container for the parameters to the AttachNetworkInterface operation.

See Also:
AmazonEC2.attachNetworkInterface(AttachNetworkInterfaceRequest)

Constructor Summary
AttachNetworkInterfaceRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getDeviceIndex()
          Returns the value of the DeviceIndex property for this object.
 String getInstanceId()
          Returns the value of the InstanceId property for this object.
 String getNetworkInterfaceId()
          Returns the value of the NetworkInterfaceId property for this object.
 int hashCode()
           
 void setDeviceIndex(Integer deviceIndex)
          Sets the value of the DeviceIndex property for this object.
 void setInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 void setNetworkInterfaceId(String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AttachNetworkInterfaceRequest withDeviceIndex(Integer deviceIndex)
          Sets the value of the DeviceIndex property for this object.
 AttachNetworkInterfaceRequest withInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 AttachNetworkInterfaceRequest withNetworkInterfaceId(String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachNetworkInterfaceRequest

public AttachNetworkInterfaceRequest()
Method Detail

getNetworkInterfaceId

public String getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object.

Returns:
The value of the NetworkInterfaceId property for this object.

setNetworkInterfaceId

public void setNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.

Parameters:
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.

withNetworkInterfaceId

public AttachNetworkInterfaceRequest withNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceId

public String getInstanceId()
Returns the value of the InstanceId property for this object.

Returns:
The value of the InstanceId property for this object.

setInstanceId

public void setInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.

Parameters:
instanceId - The new value for the InstanceId property for this object.

withInstanceId

public AttachNetworkInterfaceRequest withInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The new value for the InstanceId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeviceIndex

public Integer getDeviceIndex()
Returns the value of the DeviceIndex property for this object.

Returns:
The value of the DeviceIndex property for this object.

setDeviceIndex

public void setDeviceIndex(Integer deviceIndex)
Sets the value of the DeviceIndex property for this object.

Parameters:
deviceIndex - The new value for the DeviceIndex property for this object.

withDeviceIndex

public AttachNetworkInterfaceRequest withDeviceIndex(Integer deviceIndex)
Sets the value of the DeviceIndex property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deviceIndex - The new value for the DeviceIndex property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.