public void setConsumers(java.util.Collection<StepConsumer> consumers) {
        if (consumers == null) {
            this.consumers = null;
            return;
        }

        this.consumers = new java.util.ArrayList<StepConsumer>(consumers);
    }
<p>
The consumers on the list.
</p>

@param consumers
       The consumers on the list.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/ListStepConsumersResult.java