public Assignment withDeadline(java.util.Date deadline) {
        setDeadline(deadline);
        return this;
    }
<p>
The date and time of the deadline for the assignment. This value is derived from the deadline specification for
the HIT and the date and time the Worker accepted the HIT.
</p>

@param deadline
       The date and time of the deadline for the assignment. This value is derived from the deadline
       specification for the HIT and the date and time the Worker accepted the HIT.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mechanicalturkrequester/src/main/java/com/amazonaws/services/mturk/model/Assignment.java