Class TaskExecutionResultDetail

    • Method Detail

      • prepareDuration

        public final Long prepareDuration()

        The total time in milliseconds that DataSync spent in the PREPARING phase.

        Returns:
        The total time in milliseconds that DataSync spent in the PREPARING phase.
      • totalDuration

        public final Long totalDuration()

        The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.

        Returns:
        The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
      • transferDuration

        public final Long transferDuration()

        The total time in milliseconds that DataSync spent in the TRANSFERRING phase.

        Returns:
        The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
      • verifyDuration

        public final Long verifyDuration()

        The total time in milliseconds that DataSync spent in the VERIFYING phase.

        Returns:
        The total time in milliseconds that DataSync spent in the VERIFYING phase.
      • errorCode

        public final String errorCode()

        Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.

        Returns:
        Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
      • errorDetail

        public final String errorDetail()

        Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.

        Returns:
        Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
      • 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)