public static interface DetachNetworkInterfaceRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DetachNetworkInterfaceRequest.Builder,DetachNetworkInterfaceRequest>
Modifier and Type | Method and Description |
---|---|
DetachNetworkInterfaceRequest.Builder |
attachmentId(String attachmentId)
The ID of the attachment.
|
DetachNetworkInterfaceRequest.Builder |
force(Boolean force)
Specifies whether to force a detachment.
|
DetachNetworkInterfaceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DetachNetworkInterfaceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DetachNetworkInterfaceRequest.Builder attachmentId(String attachmentId)
The ID of the attachment.
attachmentId
- The ID of the attachment.DetachNetworkInterfaceRequest.Builder force(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.
DetachNetworkInterfaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DetachNetworkInterfaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.