Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class DetachNetworkInterfaceRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DetachNetworkInterfaceRequest
All Implemented Interfaces:
Serializable

public class DetachNetworkInterfaceRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DetachNetworkInterface operation.

See Also:
AmazonEC2.detachNetworkInterface(DetachNetworkInterfaceRequest), Serialized Form

Constructor Summary
DetachNetworkInterfaceRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAttachmentId()
          Returns the value of the AttachmentId property for this object.
 Boolean getForce()
          Returns the value of the Force property for this object.
 int hashCode()
           
 Boolean isForce()
          Returns the value of the Force property for this object.
 void setAttachmentId(String attachmentId)
          Sets the value of the AttachmentId property for this object.
 void setForce(Boolean force)
          Sets the value of the Force property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DetachNetworkInterfaceRequest withAttachmentId(String attachmentId)
          Sets the value of the AttachmentId property for this object.
 DetachNetworkInterfaceRequest withForce(Boolean force)
          Sets the value of the Force 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

DetachNetworkInterfaceRequest

public DetachNetworkInterfaceRequest()
Method Detail

getAttachmentId

public String getAttachmentId()
Returns the value of the AttachmentId property for this object.

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

setAttachmentId

public void setAttachmentId(String attachmentId)
Sets the value of the AttachmentId property for this object.

Parameters:
attachmentId - The new value for the AttachmentId property for this object.

withAttachmentId

public DetachNetworkInterfaceRequest withAttachmentId(String attachmentId)
Sets the value of the AttachmentId property for this object.

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

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

isForce

public Boolean isForce()
Returns the value of the Force property for this object.

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

setForce

public void setForce(Boolean force)
Sets the value of the Force property for this object.

Parameters:
force - The new value for the Force property for this object.

withForce

public DetachNetworkInterfaceRequest withForce(Boolean force)
Sets the value of the Force property for this object.

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

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

getForce

public Boolean getForce()
Returns the value of the Force property for this object.

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

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.