public ListEnvironmentsResult withEnvironments(java.util.Collection<Environment> environments) {
        setEnvironments(environments);
        return this;
    }
<p>
A list of all of your FinSpace environments.
</p>

@param environments
       A list of all of your FinSpace environments.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/ListEnvironmentsResult.java