public void setEnvironments(java.util.Collection<QueueEnvironmentSummary> environments) {
        if (environments == null) {
            this.environments = null;
            return;
        }

        this.environments = new java.util.ArrayList<QueueEnvironmentSummary>(environments);
    }
<p>
The environments to include in the queue environments list.
</p>

@param environments
       The environments to include in the queue environments list.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/ListQueueEnvironmentsResult.java