public class DescribeEnvironmentsResult extends Object implements Serializable, Cloneable
Result message containing a list of environment descriptions.
Constructor and Description |
---|
DescribeEnvironmentsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEnvironmentsResult |
clone() |
boolean |
equals(Object obj) |
List<EnvironmentDescription> |
getEnvironments()
Returns an EnvironmentDescription list.
|
int |
hashCode() |
void |
setEnvironments(Collection<EnvironmentDescription> environments)
Returns an EnvironmentDescription list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEnvironmentsResult |
withEnvironments(Collection<EnvironmentDescription> environments)
Returns an EnvironmentDescription list.
|
DescribeEnvironmentsResult |
withEnvironments(EnvironmentDescription... environments)
Returns an EnvironmentDescription list.
|
public List<EnvironmentDescription> getEnvironments()
Returns an EnvironmentDescription list.
public void setEnvironments(Collection<EnvironmentDescription> environments)
Returns an EnvironmentDescription list.
environments
- Returns an EnvironmentDescription list.public DescribeEnvironmentsResult withEnvironments(EnvironmentDescription... environments)
Returns an EnvironmentDescription list.
NOTE: This method appends the values to the existing list (if
any). Use setEnvironments(java.util.Collection)
or
withEnvironments(java.util.Collection)
if you want to override
the existing values.
environments
- Returns an EnvironmentDescription list.public DescribeEnvironmentsResult withEnvironments(Collection<EnvironmentDescription> environments)
Returns an EnvironmentDescription list.
environments
- Returns an EnvironmentDescription list.public String toString()
toString
in class Object
Object.toString()
public DescribeEnvironmentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.