@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskExecutionResultDetail extends Object implements Serializable, Cloneable, StructuredPojo
 Describes the detailed result of a TaskExecution operation. This result includes the time in
 milliseconds spent in each phase, the status of the task execution, and the errors encountered.
 
| Constructor and Description | 
|---|
| TaskExecutionResultDetail() | 
| Modifier and Type | Method and Description | 
|---|---|
| TaskExecutionResultDetail | clone() | 
| boolean | equals(Object obj) | 
| String | getErrorCode()
 Errors that AWS DataSync encountered during execution of the task. | 
| String | getErrorDetail()
 Detailed description of an error that was encountered during the task execution. | 
| Long | getPrepareDuration()
 The total time in milliseconds that AWS DataSync spent in the PREPARING phase. | 
| String | getPrepareStatus()
 The status of the PREPARING phase. | 
| Long | getTotalDuration()
 The total time in milliseconds that AWS DataSync took to transfer the file from the source to the destination
 location. | 
| Long | getTransferDuration()
 The total time in milliseconds that AWS DataSync spent in the TRANSFERRING phase. | 
| String | getTransferStatus()
 The status of the TRANSFERRING phase. | 
| Long | getVerifyDuration()
 The total time in milliseconds that AWS DataSync spent in the VERIFYING phase. | 
| String | getVerifyStatus()
 The status of the VERIFYING phase. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setErrorCode(String errorCode)
 Errors that AWS DataSync encountered during execution of the task. | 
| void | setErrorDetail(String errorDetail)
 Detailed description of an error that was encountered during the task execution. | 
| void | setPrepareDuration(Long prepareDuration)
 The total time in milliseconds that AWS DataSync spent in the PREPARING phase. | 
| void | setPrepareStatus(String prepareStatus)
 The status of the PREPARING phase. | 
| void | setTotalDuration(Long totalDuration)
 The total time in milliseconds that AWS DataSync took to transfer the file from the source to the destination
 location. | 
| void | setTransferDuration(Long transferDuration)
 The total time in milliseconds that AWS DataSync spent in the TRANSFERRING phase. | 
| void | setTransferStatus(String transferStatus)
 The status of the TRANSFERRING phase. | 
| void | setVerifyDuration(Long verifyDuration)
 The total time in milliseconds that AWS DataSync spent in the VERIFYING phase. | 
| void | setVerifyStatus(String verifyStatus)
 The status of the VERIFYING phase. | 
| String | toString()Returns a string representation of this object. | 
| TaskExecutionResultDetail | withErrorCode(String errorCode)
 Errors that AWS DataSync encountered during execution of the task. | 
| TaskExecutionResultDetail | withErrorDetail(String errorDetail)
 Detailed description of an error that was encountered during the task execution. | 
| TaskExecutionResultDetail | withPrepareDuration(Long prepareDuration)
 The total time in milliseconds that AWS DataSync spent in the PREPARING phase. | 
| TaskExecutionResultDetail | withPrepareStatus(PhaseStatus prepareStatus)
 The status of the PREPARING phase. | 
| TaskExecutionResultDetail | withPrepareStatus(String prepareStatus)
 The status of the PREPARING phase. | 
| TaskExecutionResultDetail | withTotalDuration(Long totalDuration)
 The total time in milliseconds that AWS DataSync took to transfer the file from the source to the destination
 location. | 
| TaskExecutionResultDetail | withTransferDuration(Long transferDuration)
 The total time in milliseconds that AWS DataSync spent in the TRANSFERRING phase. | 
| TaskExecutionResultDetail | withTransferStatus(PhaseStatus transferStatus)
 The status of the TRANSFERRING phase. | 
| TaskExecutionResultDetail | withTransferStatus(String transferStatus)
 The status of the TRANSFERRING phase. | 
| TaskExecutionResultDetail | withVerifyDuration(Long verifyDuration)
 The total time in milliseconds that AWS DataSync spent in the VERIFYING phase. | 
| TaskExecutionResultDetail | withVerifyStatus(PhaseStatus verifyStatus)
 The status of the VERIFYING phase. | 
| TaskExecutionResultDetail | withVerifyStatus(String verifyStatus)
 The status of the VERIFYING phase. | 
public void setPrepareDuration(Long prepareDuration)
The total time in milliseconds that AWS DataSync spent in the PREPARING phase.
prepareDuration - The total time in milliseconds that AWS DataSync spent in the PREPARING phase.public Long getPrepareDuration()
The total time in milliseconds that AWS DataSync spent in the PREPARING phase.
public TaskExecutionResultDetail withPrepareDuration(Long prepareDuration)
The total time in milliseconds that AWS DataSync spent in the PREPARING phase.
prepareDuration - The total time in milliseconds that AWS DataSync spent in the PREPARING phase.public void setPrepareStatus(String prepareStatus)
The status of the PREPARING phase.
prepareStatus - The status of the PREPARING phase.PhaseStatuspublic String getPrepareStatus()
The status of the PREPARING phase.
PhaseStatuspublic TaskExecutionResultDetail withPrepareStatus(String prepareStatus)
The status of the PREPARING phase.
prepareStatus - The status of the PREPARING phase.PhaseStatuspublic TaskExecutionResultDetail withPrepareStatus(PhaseStatus prepareStatus)
The status of the PREPARING phase.
prepareStatus - The status of the PREPARING phase.PhaseStatuspublic void setTotalDuration(Long totalDuration)
The total time in milliseconds that AWS DataSync took to transfer the file from the source to the destination location.
totalDuration - The total time in milliseconds that AWS DataSync took to transfer the file from the source to the
        destination location.public Long getTotalDuration()
The total time in milliseconds that AWS DataSync took to transfer the file from the source to the destination location.
public TaskExecutionResultDetail withTotalDuration(Long totalDuration)
The total time in milliseconds that AWS DataSync took to transfer the file from the source to the destination location.
totalDuration - The total time in milliseconds that AWS DataSync took to transfer the file from the source to the
        destination location.public void setTransferDuration(Long transferDuration)
The total time in milliseconds that AWS DataSync spent in the TRANSFERRING phase.
transferDuration - The total time in milliseconds that AWS DataSync spent in the TRANSFERRING phase.public Long getTransferDuration()
The total time in milliseconds that AWS DataSync spent in the TRANSFERRING phase.
public TaskExecutionResultDetail withTransferDuration(Long transferDuration)
The total time in milliseconds that AWS DataSync spent in the TRANSFERRING phase.
transferDuration - The total time in milliseconds that AWS DataSync spent in the TRANSFERRING phase.public void setTransferStatus(String transferStatus)
The status of the TRANSFERRING phase.
transferStatus - The status of the TRANSFERRING phase.PhaseStatuspublic String getTransferStatus()
The status of the TRANSFERRING phase.
PhaseStatuspublic TaskExecutionResultDetail withTransferStatus(String transferStatus)
The status of the TRANSFERRING phase.
transferStatus - The status of the TRANSFERRING phase.PhaseStatuspublic TaskExecutionResultDetail withTransferStatus(PhaseStatus transferStatus)
The status of the TRANSFERRING phase.
transferStatus - The status of the TRANSFERRING phase.PhaseStatuspublic void setVerifyDuration(Long verifyDuration)
The total time in milliseconds that AWS DataSync spent in the VERIFYING phase.
verifyDuration - The total time in milliseconds that AWS DataSync spent in the VERIFYING phase.public Long getVerifyDuration()
The total time in milliseconds that AWS DataSync spent in the VERIFYING phase.
public TaskExecutionResultDetail withVerifyDuration(Long verifyDuration)
The total time in milliseconds that AWS DataSync spent in the VERIFYING phase.
verifyDuration - The total time in milliseconds that AWS DataSync spent in the VERIFYING phase.public void setVerifyStatus(String verifyStatus)
The status of the VERIFYING phase.
verifyStatus - The status of the VERIFYING phase.PhaseStatuspublic String getVerifyStatus()
The status of the VERIFYING phase.
PhaseStatuspublic TaskExecutionResultDetail withVerifyStatus(String verifyStatus)
The status of the VERIFYING phase.
verifyStatus - The status of the VERIFYING phase.PhaseStatuspublic TaskExecutionResultDetail withVerifyStatus(PhaseStatus verifyStatus)
The status of the VERIFYING phase.
verifyStatus - The status of the VERIFYING phase.PhaseStatuspublic void setErrorCode(String errorCode)
Errors that AWS DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
errorCode - Errors that AWS DataSync encountered during execution of the task. You can use this error code to help
        troubleshoot issues.public String getErrorCode()
Errors that AWS DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
public TaskExecutionResultDetail withErrorCode(String errorCode)
Errors that AWS DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
errorCode - Errors that AWS DataSync encountered during execution of the task. You can use this error code to help
        troubleshoot issues.public void setErrorDetail(String errorDetail)
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
errorDetail - Detailed description of an error that was encountered during the task execution. You can use this
        information to help troubleshoot issues.public String getErrorDetail()
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
public TaskExecutionResultDetail withErrorDetail(String errorDetail)
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
errorDetail - Detailed description of an error that was encountered during the task execution. You can use this
        information to help troubleshoot issues.public String toString()
toString in class ObjectObject.toString()public TaskExecutionResultDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.