public TaskExecutionResultDetail withPrepareDuration(Long prepareDuration) {
        setPrepareDuration(prepareDuration);
        return this;
    }
<p>
The total time in milliseconds that DataSync spent in the PREPARING phase.
</p>

@param prepareDuration
       The total time in milliseconds that DataSync spent in the PREPARING phase.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/TaskExecutionResultDetail.java