public void setMaxAssignments(Integer maxAssignments) {
        this.maxAssignments = maxAssignments;
    }
<p>
The number of times the HIT can be accepted and completed before the HIT becomes unavailable.
</p>

@param maxAssignments
       The number of times the HIT can be accepted and completed before the HIT becomes unavailable.
aws-java-sdk-mechanicalturkrequester/src/main/java/com/amazonaws/services/mturk/model/HIT.java