Interface DeleteVolumeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteVolumeRequest.Builder,
,DeleteVolumeRequest> FSxRequest.Builder
,SdkBuilder<DeleteVolumeRequest.Builder,
,DeleteVolumeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteVolumeRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.default DeleteVolumeRequest.Builder
ontapConfiguration
(Consumer<DeleteVolumeOntapConfiguration.Builder> ontapConfiguration) For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup.ontapConfiguration
(DeleteVolumeOntapConfiguration ontapConfiguration) For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup.default DeleteVolumeRequest.Builder
openZFSConfiguration
(Consumer<DeleteVolumeOpenZFSConfiguration.Builder> openZFSConfiguration) For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.openZFSConfiguration
(DeleteVolumeOpenZFSConfiguration openZFSConfiguration) For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the volume that you are deleting.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientRequestToken
Sets the value of the ClientRequestToken property for this object.- Parameters:
clientRequestToken
- The new value for the ClientRequestToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeId
The ID of the volume that you are deleting.
- Parameters:
volumeId
- The ID of the volume that you are deleting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontapConfiguration
For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup. To apply tags to the backup, you must have the
fsx:TagResource
permission.- Parameters:
ontapConfiguration
- For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup. To apply tags to the backup, you must have thefsx:TagResource
permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontapConfiguration
default DeleteVolumeRequest.Builder ontapConfiguration(Consumer<DeleteVolumeOntapConfiguration.Builder> ontapConfiguration) For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup. To apply tags to the backup, you must have the
This is a convenience method that creates an instance of thefsx:TagResource
permission.DeleteVolumeOntapConfiguration.Builder
avoiding the need to create one manually viaDeleteVolumeOntapConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toontapConfiguration(DeleteVolumeOntapConfiguration)
.- Parameters:
ontapConfiguration
- a consumer that will call methods onDeleteVolumeOntapConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openZFSConfiguration
DeleteVolumeRequest.Builder openZFSConfiguration(DeleteVolumeOpenZFSConfiguration openZFSConfiguration) For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.
- Parameters:
openZFSConfiguration
- For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openZFSConfiguration
default DeleteVolumeRequest.Builder openZFSConfiguration(Consumer<DeleteVolumeOpenZFSConfiguration.Builder> openZFSConfiguration) For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.
This is a convenience method that creates an instance of theDeleteVolumeOpenZFSConfiguration.Builder
avoiding the need to create one manually viaDeleteVolumeOpenZFSConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenZFSConfiguration(DeleteVolumeOpenZFSConfiguration)
.- Parameters:
openZFSConfiguration
- a consumer that will call methods onDeleteVolumeOpenZFSConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DeleteVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-