Interface DeleteVolumeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteVolumeRequest.Builder,DeleteVolumeRequest>
,FSxRequest.Builder
,SdkBuilder<DeleteVolumeRequest.Builder,DeleteVolumeRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DeleteVolumeRequest
public static interface DeleteVolumeRequest.Builder extends FSxRequest.Builder, SdkPojo, CopyableBuilder<DeleteVolumeRequest.Builder,DeleteVolumeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DeleteVolumeRequest.Builder
clientRequestToken(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.DeleteVolumeRequest.Builder
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.DeleteVolumeRequest.Builder
openZFSConfiguration(DeleteVolumeOpenZFSConfiguration openZFSConfiguration)
For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.DeleteVolumeRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
DeleteVolumeRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
DeleteVolumeRequest.Builder
volumeId(String volumeId)
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 Detail
-
clientRequestToken
DeleteVolumeRequest.Builder clientRequestToken(String 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
DeleteVolumeRequest.Builder volumeId(String 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
DeleteVolumeRequest.Builder 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. 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:
ontapConfiguration(DeleteVolumeOntapConfiguration)
-
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:
openZFSConfiguration(DeleteVolumeOpenZFSConfiguration)
-
overrideConfiguration
DeleteVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-