Interface DeleteFileSystemOpenZFSConfiguration.Builder

    • Method Detail

      • skipFinalBackup

        DeleteFileSystemOpenZFSConfiguration.Builder skipFinalBackup​(Boolean skipFinalBackup)

        By default, Amazon FSx for OpenZFS takes a final backup on your behalf when the DeleteFileSystem operation is invoked. Doing this helps protect you from data loss, and we highly recommend taking the final backup. If you want to skip taking a final backup, set this value to true.

        Parameters:
        skipFinalBackup - By default, Amazon FSx for OpenZFS takes a final backup on your behalf when the DeleteFileSystem operation is invoked. Doing this helps protect you from data loss, and we highly recommend taking the final backup. If you want to skip taking a final backup, set this value to true.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • finalBackupTags

        DeleteFileSystemOpenZFSConfiguration.Builder finalBackupTags​(Collection<Tag> finalBackupTags)

        A list of tags to apply to the file system's final backup.

        Parameters:
        finalBackupTags - A list of tags to apply to the file system's final backup.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • finalBackupTags

        DeleteFileSystemOpenZFSConfiguration.Builder finalBackupTags​(Tag... finalBackupTags)

        A list of tags to apply to the file system's final backup.

        Parameters:
        finalBackupTags - A list of tags to apply to the file system's final backup.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • finalBackupTags

        DeleteFileSystemOpenZFSConfiguration.Builder finalBackupTags​(Consumer<Tag.Builder>... finalBackupTags)

        A list of tags to apply to the file system's final backup.

        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).

        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:
        #finalBackupTags(java.util.Collection)
      • optionsWithStrings

        DeleteFileSystemOpenZFSConfiguration.Builder optionsWithStrings​(Collection<String> options)

        To delete a file system if there are child volumes present below the root volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. If your file system has child volumes and you don't use this option, the delete request will fail.

        Parameters:
        options - To delete a file system if there are child volumes present below the root volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. If your file system has child volumes and you don't use this option, the delete request will fail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • optionsWithStrings

        DeleteFileSystemOpenZFSConfiguration.Builder optionsWithStrings​(String... options)

        To delete a file system if there are child volumes present below the root volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. If your file system has child volumes and you don't use this option, the delete request will fail.

        Parameters:
        options - To delete a file system if there are child volumes present below the root volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. If your file system has child volumes and you don't use this option, the delete request will fail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • options

        DeleteFileSystemOpenZFSConfiguration.Builder options​(Collection<DeleteFileSystemOpenZFSOption> options)

        To delete a file system if there are child volumes present below the root volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. If your file system has child volumes and you don't use this option, the delete request will fail.

        Parameters:
        options - To delete a file system if there are child volumes present below the root volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. If your file system has child volumes and you don't use this option, the delete request will fail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • options

        DeleteFileSystemOpenZFSConfiguration.Builder options​(DeleteFileSystemOpenZFSOption... options)

        To delete a file system if there are child volumes present below the root volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. If your file system has child volumes and you don't use this option, the delete request will fail.

        Parameters:
        options - To delete a file system if there are child volumes present below the root volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. If your file system has child volumes and you don't use this option, the delete request will fail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.