public GetAssignmentResult withAssignment(Assignment assignment) {
        setAssignment(assignment);
        return this;
    }
<p>
The assignment. The response includes one Assignment element.
</p>

@param assignment
       The assignment. The response includes one Assignment element.
@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/GetAssignmentResult.java