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

        this.environments = new java.util.ArrayList<Environment>(environments);
    }
<p>
A list of all of your FinSpace environments.
</p>

@param environments
       A list of all of your FinSpace environments.
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/ListEnvironmentsResult.java