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.
      • prepareStatusAsString

        public final String prepareStatusAsString()

        The status of the PREPARING phase.

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

        Returns:
        The status of the PREPARING phase.
        See Also:
        PhaseStatus
      • 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.
      • transferStatusAsString

        public final String transferStatusAsString()

        The status of the TRANSFERRING phase.

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

        Returns:
        The status of the TRANSFERRING phase.
        See Also:
        PhaseStatus
      • 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.
      • verifyStatusAsString

        public final String verifyStatusAsString()

        The status of the VERIFYING phase.

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

        Returns:
        The status of the VERIFYING phase.
        See Also:
        PhaseStatus
      • 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)