@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.
|
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.
Use the Force
parameter only as a last resort to detach a network interface from a failed instance.
If you use the Force
parameter to detach a network interface, you might not be able to attach a
different network interface to the same index on the instance without first stopping and starting the instance.
If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.
force
- Specifies whether to force a detachment.
Use the Force
parameter only as a last resort to detach a network interface from a failed
instance.
If you use the Force
parameter to detach a network interface, you might not be able to attach
a different network interface to the same index on the instance without first stopping and starting the
instance.
If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.
public Boolean getForce()
Specifies whether to force a detachment.
Use the Force
parameter only as a last resort to detach a network interface from a failed instance.
If you use the Force
parameter to detach a network interface, you might not be able to attach a
different network interface to the same index on the instance without first stopping and starting the instance.
If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.
Use the Force
parameter only as a last resort to detach a network interface from a failed
instance.
If you use the Force
parameter to detach a network interface, you might not be able to
attach a different network interface to the same index on the instance without first stopping and
starting the instance.
If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.
public DetachNetworkInterfaceRequest withForce(Boolean force)
Specifies whether to force a detachment.
Use the Force
parameter only as a last resort to detach a network interface from a failed instance.
If you use the Force
parameter to detach a network interface, you might not be able to attach a
different network interface to the same index on the instance without first stopping and starting the instance.
If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.
force
- Specifies whether to force a detachment.
Use the Force
parameter only as a last resort to detach a network interface from a failed
instance.
If you use the Force
parameter to detach a network interface, you might not be able to attach
a different network interface to the same index on the instance without first stopping and starting the
instance.
If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.
public Boolean isForce()
Specifies whether to force a detachment.
Use the Force
parameter only as a last resort to detach a network interface from a failed instance.
If you use the Force
parameter to detach a network interface, you might not be able to attach a
different network interface to the same index on the instance without first stopping and starting the instance.
If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.
Use the Force
parameter only as a last resort to detach a network interface from a failed
instance.
If you use the Force
parameter to detach a network interface, you might not be able to
attach a different network interface to the same index on the instance without first stopping and
starting the instance.
If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.
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()