@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachNetworkInterfaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DetachNetworkInterfaceRequest>
Contains the parameters for DetachNetworkInterface.
NOOP
Constructor and Description |
---|
DetachNetworkInterfaceRequest() |
Modifier and Type | Method and Description |
---|---|
DetachNetworkInterfaceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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 setAttachmentId(String attachmentId)
The ID of the attachment.
attachmentId
- The ID of the attachment.public String getAttachmentId()
The ID of the attachment.
public DetachNetworkInterfaceRequest withAttachmentId(String attachmentId)
The ID of the attachment.
attachmentId
- The ID of the attachment.public void setForce(Boolean force)
Specifies whether to force a detachment.
force
- Specifies whether to force a detachment.public Boolean getForce()
Specifies whether to force a detachment.
public DetachNetworkInterfaceRequest withForce(Boolean force)
Specifies whether to force a detachment.
force
- Specifies whether to force a detachment.public Boolean isForce()
Specifies whether to force a detachment.
public Request<DetachNetworkInterfaceRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DetachNetworkInterfaceRequest>
public String toString()
toString
in class Object
Object.toString()
public DetachNetworkInterfaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.