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.BuilderontapResponse(Consumer<DeleteVolumeOntapResponse.Builder> ontapResponse) Returned after aDeleteVolumerequest, showing the status of the delete request.ontapResponse(DeleteVolumeOntapResponse ontapResponse) Returned after aDeleteVolumerequest, 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
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
DeleteVolumeoperation is successful, this value isDELETING.- Parameters:
lifecycle- The lifecycle state of the volume being deleted. If theDeleteVolumeoperation 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
DeleteVolumeoperation is successful, this value isDELETING.- Parameters:
lifecycle- The lifecycle state of the volume being deleted. If theDeleteVolumeoperation 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
DeleteVolumerequest, showing the status of the delete request.- Parameters:
ontapResponse- Returned after aDeleteVolumerequest, 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 theDeleteVolumerequest, showing the status of the delete request.DeleteVolumeOntapResponse.Builderavoiding the need to create one manually viaDeleteVolumeOntapResponse.builder().When the
Consumercompletes,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:
-