* Information about the environments that are returned. *
*/ private java.util.List* Information about the environments that are returned. *
* * @return Information about the environments that are returned. */ public java.util.List* Information about the environments that are returned. *
* * @param environments * Information about the environments that are returned. */ public void setEnvironments(java.util.Collection* Information about the environments that are returned. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setEnvironments(java.util.Collection)} or {@link #withEnvironments(java.util.Collection)} if you want to * override the existing values. *
* * @param environments * Information about the environments that are returned. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEnvironmentsResult withEnvironments(Environment... environments) { if (this.environments == null) { setEnvironments(new java.util.ArrayList* Information about the environments that are returned. *
* * @param environments * Information about the environments that are returned. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEnvironmentsResult withEnvironments(java.util.Collection