Interface TaskExecutionResultDetail.Builder

    • Method Detail

      • prepareDuration

        TaskExecutionResultDetail.Builder prepareDuration​(Long prepareDuration)

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

        Parameters:
        prepareDuration - The total time in milliseconds that DataSync spent in the PREPARING phase.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • prepareStatus

        TaskExecutionResultDetail.Builder prepareStatus​(String prepareStatus)

        The status of the PREPARING phase.

        Parameters:
        prepareStatus - The status of the PREPARING phase.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PhaseStatus, PhaseStatus
      • totalDuration

        TaskExecutionResultDetail.Builder totalDuration​(Long totalDuration)

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

        Parameters:
        totalDuration - The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transferDuration

        TaskExecutionResultDetail.Builder transferDuration​(Long transferDuration)

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

        Parameters:
        transferDuration - The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transferStatus

        TaskExecutionResultDetail.Builder transferStatus​(String transferStatus)

        The status of the TRANSFERRING phase.

        Parameters:
        transferStatus - The status of the TRANSFERRING phase.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PhaseStatus, PhaseStatus
      • verifyDuration

        TaskExecutionResultDetail.Builder verifyDuration​(Long verifyDuration)

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

        Parameters:
        verifyDuration - The total time in milliseconds that DataSync spent in the VERIFYING phase.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • verifyStatus

        TaskExecutionResultDetail.Builder verifyStatus​(String verifyStatus)

        The status of the VERIFYING phase.

        Parameters:
        verifyStatus - The status of the VERIFYING phase.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PhaseStatus, PhaseStatus
      • errorCode

        TaskExecutionResultDetail.Builder errorCode​(String errorCode)

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

        Parameters:
        errorCode - Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorDetail

        TaskExecutionResultDetail.Builder errorDetail​(String errorDetail)

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

        Parameters:
        errorDetail - Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
        Returns:
        Returns a reference to this object so that method calls can be chained together.