public PutCapacityAssignmentConfigurationRequest withCapacityAssignments(java.util.Collection<CapacityAssignment> capacityAssignments) {
        setCapacityAssignments(capacityAssignments);
        return this;
    }
<p>
The list of assignments for the capacity assignment configuration.
</p>

@param capacityAssignments
       The list of assignments for the capacity assignment configuration.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/PutCapacityAssignmentConfigurationRequest.java