Interface DeleteVolumeOntapConfiguration.Builder

  • Method Details

    • skipFinalBackup

      DeleteVolumeOntapConfiguration.Builder skipFinalBackup(Boolean 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

      DeleteVolumeOntapConfiguration.Builder finalBackupTags(Collection<Tag> 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

      DeleteVolumeOntapConfiguration.Builder finalBackupTags(Tag... 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

      DeleteVolumeOntapConfiguration.Builder finalBackupTags(Consumer<Tag.Builder>... finalBackupTags)
      Sets the value of the FinalBackupTags property for this object. This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to finalBackupTags(List<Tag>).

      Parameters:
      finalBackupTags - a consumer that will call methods on Tag.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 true allows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. The IAM permission fsx:BypassSnaplockEnterpriseRetention is also required to delete SnapLock Enterprise volumes with unexpired WORM files. The default value is false.

      For more information, see Deleting a SnapLock volume.

      Parameters:
      bypassSnaplockEnterpriseRetention - Setting this to true allows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. The IAM permission fsx:BypassSnaplockEnterpriseRetention is also required to delete SnapLock Enterprise volumes with unexpired WORM files. The default value is false.

      For more information, see Deleting a SnapLock volume.

      Returns:
      Returns a reference to this object so that method calls can be chained together.