public class ComposeEnvironmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Result message containing a list of environment descriptions.
Constructor and Description |
---|
ComposeEnvironmentsResult() |
Modifier and Type | Method and Description |
---|---|
ComposeEnvironmentsResult |
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.
|
ComposeEnvironmentsResult |
withEnvironments(Collection<EnvironmentDescription> environments)
Returns an EnvironmentDescription list.
|
ComposeEnvironmentsResult |
withEnvironments(EnvironmentDescription... environments)
Returns an EnvironmentDescription list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EnvironmentDescription> getEnvironments()
Returns an EnvironmentDescription list.
public void setEnvironments(Collection<EnvironmentDescription> environments)
Returns an EnvironmentDescription list.
environments
- Returns an EnvironmentDescription list.public ComposeEnvironmentsResult 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 ComposeEnvironmentsResult withEnvironments(Collection<EnvironmentDescription> environments)
Returns an EnvironmentDescription list.
environments
- Returns an EnvironmentDescription list.public String toString()
toString
in class Object
Object.toString()
public ComposeEnvironmentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.