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.BuilderontapConfiguration(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.BuilderopenZFSConfiguration(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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:TagResourcepermission.- 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:TagResourcepermission.- 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:TagResourcepermission.DeleteVolumeOntapConfiguration.Builderavoiding the need to create one manually viaDeleteVolumeOntapConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDeleteVolumeOpenZFSConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-