public void setCapacityAssignments(java.util.Collection<CapacityAssignment> capacityAssignments) {
        if (capacityAssignments == null) {
            this.capacityAssignments = null;
            return;
        }

        this.capacityAssignments = new java.util.ArrayList<CapacityAssignment>(capacityAssignments);
    }
<p>
The list of assignments for the capacity assignment configuration.
</p>

@param capacityAssignments
       The list of assignments for the capacity assignment configuration.
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/PutCapacityAssignmentConfigurationRequest.java