Class DataTransferProgress

    • Method Detail

      • status

        public final String status()

        Describes the status of the cluster. While the transfer is in progress the status is transferringdata.

        Returns:
        Describes the status of the cluster. While the transfer is in progress the status is transferringdata.
      • currentRateInMegaBytesPerSecond

        public final Double currentRateInMegaBytesPerSecond()

        Describes the data transfer rate in MB's per second.

        Returns:
        Describes the data transfer rate in MB's per second.
      • totalDataInMegaBytes

        public final Long totalDataInMegaBytes()

        Describes the total amount of data to be transfered in megabytes.

        Returns:
        Describes the total amount of data to be transfered in megabytes.
      • dataTransferredInMegaBytes

        public final Long dataTransferredInMegaBytes()

        Describes the total amount of data that has been transfered in MB's.

        Returns:
        Describes the total amount of data that has been transfered in MB's.
      • estimatedTimeToCompletionInSeconds

        public final Long estimatedTimeToCompletionInSeconds()

        Describes the estimated number of seconds remaining to complete the transfer.

        Returns:
        Describes the estimated number of seconds remaining to complete the transfer.
      • elapsedTimeInSeconds

        public final Long elapsedTimeInSeconds()

        Describes the number of seconds that have elapsed during the data transfer.

        Returns:
        Describes the number of seconds that have elapsed during the data transfer.
      • 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)