Interface DeleteVolumeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteVolumeResponse.Builder,
,DeleteVolumeResponse> FSxResponse.Builder
,SdkBuilder<DeleteVolumeResponse.Builder,
,DeleteVolumeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteVolumeResponse
public static interface DeleteVolumeResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<DeleteVolumeResponse.Builder,DeleteVolumeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe lifecycle state of the volume being deleted.lifecycle
(VolumeLifecycle lifecycle) The lifecycle state of the volume being deleted.default DeleteVolumeResponse.Builder
ontapResponse
(Consumer<DeleteVolumeOntapResponse.Builder> ontapResponse) Returned after aDeleteVolume
request, showing the status of the delete request.ontapResponse
(DeleteVolumeOntapResponse ontapResponse) Returned after aDeleteVolume
request, showing the status of the delete request.The ID of the volume that's being deleted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
volumeId
The ID of the volume that's being deleted.
- Parameters:
volumeId
- The ID of the volume that's being deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
The lifecycle state of the volume being deleted. If the
DeleteVolume
operation is successful, this value isDELETING
.- Parameters:
lifecycle
- The lifecycle state of the volume being deleted. If theDeleteVolume
operation is successful, this value isDELETING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycle
The lifecycle state of the volume being deleted. If the
DeleteVolume
operation is successful, this value isDELETING
.- Parameters:
lifecycle
- The lifecycle state of the volume being deleted. If theDeleteVolume
operation is successful, this value isDELETING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ontapResponse
Returned after a
DeleteVolume
request, showing the status of the delete request.- Parameters:
ontapResponse
- Returned after aDeleteVolume
request, showing the status of the delete request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontapResponse
default DeleteVolumeResponse.Builder ontapResponse(Consumer<DeleteVolumeOntapResponse.Builder> ontapResponse) Returned after a
This is a convenience method that creates an instance of theDeleteVolume
request, showing the status of the delete request.DeleteVolumeOntapResponse.Builder
avoiding the need to create one manually viaDeleteVolumeOntapResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toontapResponse(DeleteVolumeOntapResponse)
.- Parameters:
ontapResponse
- a consumer that will call methods onDeleteVolumeOntapResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-