public ListAssignmentsForHITRequest withAssignmentStatuses(String... assignmentStatuses) {
        if (this.assignmentStatuses == null) {
            setAssignmentStatuses(new java.util.ArrayList<String>(assignmentStatuses.length));
        }
        for (String ele : assignmentStatuses) {
            this.assignmentStatuses.add(ele);
        }
        return this;
    }
public ListAssignmentsForHITRequest withAssignmentStatuses ( String ... assignmentStatuses ) { if ( this . assignmentStatuses == null ) { setAssignmentStatuses ( new java . util . ArrayList < String > ( assignmentStatuses . length ) ) ; } for ( String ele : assignmentStatuses ) { this . assignmentStatuses . add ( ele ) ; } return this ; }
<p>
The status of the assignments to return: Submitted | Approved | Rejected
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAssignmentStatuses(java.util.Collection)} or {@link #withAssignmentStatuses(java.util.Collection)} if
you want to override the existing values.
</p>

@param assignmentStatuses
The status of the assignments to return: Submitted | Approved | Rejected
@return Returns a reference to this object so that method calls can be chained together.
@see AssignmentStatus