public ReplaceRootVolumeTask withCompleteTime(String completeTime) {
        setCompleteTime(completeTime);
        return this;
    }
<p>
The time the task completed.
</p>

@param completeTime
       The time the task completed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ReplaceRootVolumeTask.java