Class AdministrativeAction

    • Method Detail

      • progressPercent

        public final Integer progressPercent()

        The percentage-complete status of a STORAGE_OPTIMIZATION or DOWNLOAD_DATA_FROM_BACKUP administrative action. Does not apply to any other administrative action type.

        Returns:
        The percentage-complete status of a STORAGE_OPTIMIZATION or DOWNLOAD_DATA_FROM_BACKUP administrative action. Does not apply to any other administrative action type.
      • requestTime

        public final Instant requestTime()

        The time that the administrative action request was received.

        Returns:
        The time that the administrative action request was received.
      • status

        public final Status status()

        The status of the administrative action, as follows:

        • FAILED - Amazon FSx failed to process the administrative action successfully.

        • IN_PROGRESS - Amazon FSx is processing the administrative action.

        • PENDING - Amazon FSx is waiting to process the administrative action.

        • COMPLETED - Amazon FSx has finished processing the administrative task.

          For a backup restore to a second-generation FSx for ONTAP file system, indicates that all data has been downloaded to the volume, and clients now have read-write access to volume.

        • UPDATED_OPTIMIZING - For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.

        • PENDING - For a backup restore to a second-generation FSx for ONTAP file system, indicates that the file metadata is being downloaded onto the volume. The volume's Lifecycle state is CREATING.

        • IN_PROGRESS - For a backup restore to a second-generation FSx for ONTAP file system, indicates that all metadata has been downloaded to the new volume and client can access data with read-only access while Amazon FSx downloads the file data to the volume. Track the progress of this process with the ProgressPercent element.

        If the service returns an enum value that is not available in the current SDK version, status will return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the administrative action, as follows:

        • FAILED - Amazon FSx failed to process the administrative action successfully.

        • IN_PROGRESS - Amazon FSx is processing the administrative action.

        • PENDING - Amazon FSx is waiting to process the administrative action.

        • COMPLETED - Amazon FSx has finished processing the administrative task.

          For a backup restore to a second-generation FSx for ONTAP file system, indicates that all data has been downloaded to the volume, and clients now have read-write access to volume.

        • UPDATED_OPTIMIZING - For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.

        • PENDING - For a backup restore to a second-generation FSx for ONTAP file system, indicates that the file metadata is being downloaded onto the volume. The volume's Lifecycle state is CREATING.

        • IN_PROGRESS - For a backup restore to a second-generation FSx for ONTAP file system, indicates that all metadata has been downloaded to the new volume and client can access data with read-only access while Amazon FSx downloads the file data to the volume. Track the progress of this process with the ProgressPercent element.

        See Also:
        Status
      • statusAsString

        public final String statusAsString()

        The status of the administrative action, as follows:

        • FAILED - Amazon FSx failed to process the administrative action successfully.

        • IN_PROGRESS - Amazon FSx is processing the administrative action.

        • PENDING - Amazon FSx is waiting to process the administrative action.

        • COMPLETED - Amazon FSx has finished processing the administrative task.

          For a backup restore to a second-generation FSx for ONTAP file system, indicates that all data has been downloaded to the volume, and clients now have read-write access to volume.

        • UPDATED_OPTIMIZING - For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.

        • PENDING - For a backup restore to a second-generation FSx for ONTAP file system, indicates that the file metadata is being downloaded onto the volume. The volume's Lifecycle state is CREATING.

        • IN_PROGRESS - For a backup restore to a second-generation FSx for ONTAP file system, indicates that all metadata has been downloaded to the new volume and client can access data with read-only access while Amazon FSx downloads the file data to the volume. Track the progress of this process with the ProgressPercent element.

        If the service returns an enum value that is not available in the current SDK version, status will return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the administrative action, as follows:

        • FAILED - Amazon FSx failed to process the administrative action successfully.

        • IN_PROGRESS - Amazon FSx is processing the administrative action.

        • PENDING - Amazon FSx is waiting to process the administrative action.

        • COMPLETED - Amazon FSx has finished processing the administrative task.

          For a backup restore to a second-generation FSx for ONTAP file system, indicates that all data has been downloaded to the volume, and clients now have read-write access to volume.

        • UPDATED_OPTIMIZING - For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.

        • PENDING - For a backup restore to a second-generation FSx for ONTAP file system, indicates that the file metadata is being downloaded onto the volume. The volume's Lifecycle state is CREATING.

        • IN_PROGRESS - For a backup restore to a second-generation FSx for ONTAP file system, indicates that all metadata has been downloaded to the new volume and client can access data with read-only access while Amazon FSx downloads the file data to the volume. Track the progress of this process with the ProgressPercent element.

        See Also:
        Status
      • targetFileSystemValues

        public final FileSystem targetFileSystemValues()

        The target value for the administration action, provided in the UpdateFileSystem operation. Returned for FILE_SYSTEM_UPDATE administrative actions.

        Returns:
        The target value for the administration action, provided in the UpdateFileSystem operation. Returned for FILE_SYSTEM_UPDATE administrative actions.
      • failureDetails

        public final AdministrativeActionFailureDetails failureDetails()
        Returns the value of the FailureDetails property for this object.
        Returns:
        The value of the FailureDetails property for this object.
      • targetVolumeValues

        public final Volume targetVolumeValues()
        Returns the value of the TargetVolumeValues property for this object.
        Returns:
        The value of the TargetVolumeValues property for this object.
      • targetSnapshotValues

        public final Snapshot targetSnapshotValues()
        Returns the value of the TargetSnapshotValues property for this object.
        Returns:
        The value of the TargetSnapshotValues property for this object.
      • totalTransferBytes

        public final Long totalTransferBytes()

        The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying.

        Returns:
        The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying.
      • remainingTransferBytes

        public final Long remainingTransferBytes()

        The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.

        Returns:
        The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)