Interface DeleteVolumeOntapConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeleteVolumeOntapConfiguration.Builder,,DeleteVolumeOntapConfiguration> SdkBuilder<DeleteVolumeOntapConfiguration.Builder,,DeleteVolumeOntapConfiguration> SdkPojo
- Enclosing class:
DeleteVolumeOntapConfiguration
@Mutable
@NotThreadSafe
public static interface DeleteVolumeOntapConfiguration.Builder
extends SdkPojo, CopyableBuilder<DeleteVolumeOntapConfiguration.Builder,DeleteVolumeOntapConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbypassSnaplockEnterpriseRetention(Boolean bypassSnaplockEnterpriseRetention) Setting this totrueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files.finalBackupTags(Collection<Tag> finalBackupTags) Sets the value of the FinalBackupTags property for this object.finalBackupTags(Consumer<Tag.Builder>... finalBackupTags) Sets the value of the FinalBackupTags property for this object.finalBackupTags(Tag... finalBackupTags) Sets the value of the FinalBackupTags property for this object.skipFinalBackup(Boolean skipFinalBackup) Set to true if you want to skip taking a final backup of the volume you are deleting.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
skipFinalBackup
Set to true if you want to skip taking a final backup of the volume you are deleting.
- Parameters:
skipFinalBackup- Set to true if you want to skip taking a final backup of the volume you are deleting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalBackupTags
Sets the value of the FinalBackupTags property for this object.- Parameters:
finalBackupTags- The new value for the FinalBackupTags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalBackupTags
Sets the value of the FinalBackupTags property for this object.- Parameters:
finalBackupTags- The new value for the FinalBackupTags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalBackupTags
Sets the value of the FinalBackupTags property for this object. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofinalBackupTags(List<Tag>).- Parameters:
finalBackupTags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bypassSnaplockEnterpriseRetention
DeleteVolumeOntapConfiguration.Builder bypassSnaplockEnterpriseRetention(Boolean bypassSnaplockEnterpriseRetention) Setting this to
trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. The IAM permissionfsx:BypassSnaplockEnterpriseRetentionis also required to delete SnapLock Enterprise volumes with unexpired WORM files. The default value isfalse.For more information, see Deleting a SnapLock volume.
- Parameters:
bypassSnaplockEnterpriseRetention- Setting this totrueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. The IAM permissionfsx:BypassSnaplockEnterpriseRetentionis also required to delete SnapLock Enterprise volumes with unexpired WORM files. The default value isfalse.For more information, see Deleting a SnapLock volume.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-