@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEnvironmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEnvironmentsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEnvironmentsResult |
clone() |
boolean |
equals(Object obj) |
List<Environment> |
getEnvironments()
Information about the environments that are returned.
|
int |
hashCode() |
void |
setEnvironments(Collection<Environment> environments)
Information about the environments that are returned.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEnvironmentsResult |
withEnvironments(Collection<Environment> environments)
Information about the environments that are returned.
|
DescribeEnvironmentsResult |
withEnvironments(Environment... environments)
Information about the environments that are returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Environment> getEnvironments()
Information about the environments that are returned.
public void setEnvironments(Collection<Environment> environments)
Information about the environments that are returned.
environments
- Information about the environments that are returned.public DescribeEnvironmentsResult withEnvironments(Environment... environments)
Information about the environments that are returned.
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
- Information about the environments that are returned.public DescribeEnvironmentsResult withEnvironments(Collection<Environment> environments)
Information about the environments that are returned.
environments
- Information about the environments that are returned.public String toString()
toString
in class Object
Object.toString()
public DescribeEnvironmentsResult clone()