|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DetachNetworkInterfaceRequest
public class DetachNetworkInterfaceRequest
Container for the parameters to the DetachNetworkInterface operation
.
Detaches a network interface from an instance.
AmazonEC2.detachNetworkInterface(DetachNetworkInterfaceRequest)
,
Serialized FormConstructor Summary | |
---|---|
DetachNetworkInterfaceRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAttachmentId()
The ID of the attachment. |
Request<DetachNetworkInterfaceRequest> |
getDryRunRequest()
This method is intended for internal use only. |
Boolean |
getForce()
Specifies whether to force a detachment. |
int |
hashCode()
|
Boolean |
isForce()
Specifies whether to force a detachment. |
void |
setAttachmentId(String attachmentId)
The ID of the attachment. |
void |
setForce(Boolean force)
Specifies whether to force a detachment. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DetachNetworkInterfaceRequest |
withAttachmentId(String attachmentId)
The ID of the attachment. |
DetachNetworkInterfaceRequest |
withForce(Boolean force)
Specifies whether to force a detachment. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DetachNetworkInterfaceRequest()
Method Detail |
---|
public String getAttachmentId()
public void setAttachmentId(String attachmentId)
attachmentId
- The ID of the attachment.public DetachNetworkInterfaceRequest withAttachmentId(String attachmentId)
Returns a reference to this object so that method calls can be chained together.
attachmentId
- The ID of the attachment.
public Boolean isForce()
public void setForce(Boolean force)
force
- Specifies whether to force a detachment.public DetachNetworkInterfaceRequest withForce(Boolean force)
Returns a reference to this object so that method calls can be chained together.
force
- Specifies whether to force a detachment.
public Boolean getForce()
public Request<DetachNetworkInterfaceRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DetachNetworkInterfaceRequest>
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |