public class DetachNetworkInterfaceRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DetachNetworkInterfaceRequest>
DetachNetworkInterface operation
.
Detaches a network interface from an instance.
Constructor and Description |
---|
DetachNetworkInterfaceRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttachmentId()
The ID of the attachment.
|
Request<DetachNetworkInterfaceRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.Boolean |
getForce()
Specifies whether to force a detachment.
|
int |
hashCode() |
java.lang.Boolean |
isForce()
Specifies whether to force a detachment.
|
void |
setAttachmentId(java.lang.String attachmentId)
The ID of the attachment.
|
void |
setForce(java.lang.Boolean force)
Specifies whether to force a detachment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachNetworkInterfaceRequest |
withAttachmentId(java.lang.String attachmentId)
The ID of the attachment.
|
DetachNetworkInterfaceRequest |
withForce(java.lang.Boolean force)
Specifies whether to force a detachment.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getAttachmentId()
public void setAttachmentId(java.lang.String attachmentId)
attachmentId
- The ID of the attachment.public DetachNetworkInterfaceRequest withAttachmentId(java.lang.String attachmentId)
Returns a reference to this object so that method calls can be chained together.
attachmentId
- The ID of the attachment.public java.lang.Boolean isForce()
public void setForce(java.lang.Boolean force)
force
- Specifies whether to force a detachment.public DetachNetworkInterfaceRequest withForce(java.lang.Boolean force)
Returns a reference to this object so that method calls can be chained together.
force
- Specifies whether to force a detachment.public java.lang.Boolean getForce()
public Request<DetachNetworkInterfaceRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DetachNetworkInterfaceRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.