public DescribeAuditMitigationActionsTaskResult withEndTime(java.util.Date endTime) {
        setEndTime(endTime);
        return this;
    }
<p>
The date and time when the task was completed or canceled.
</p>

@param endTime
       The date and time when the task was completed or canceled.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/DescribeAuditMitigationActionsTaskResult.java