public class DescribeDeploymentsResult extends Object implements Serializable, Cloneable
Contains the response to a DescribeDeployments
request.
Constructor and Description |
---|
DescribeDeploymentsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDeploymentsResult |
clone() |
boolean |
equals(Object obj) |
List<Deployment> |
getDeployments()
An array of
Deployment objects that describe the
deployments. |
int |
hashCode() |
void |
setDeployments(Collection<Deployment> deployments)
An array of
Deployment objects that describe the
deployments. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDeploymentsResult |
withDeployments(Collection<Deployment> deployments)
An array of
Deployment objects that describe the
deployments. |
DescribeDeploymentsResult |
withDeployments(Deployment... deployments)
An array of
Deployment objects that describe the
deployments. |
public List<Deployment> getDeployments()
An array of Deployment
objects that describe the
deployments.
Deployment
objects that describe the
deployments.public void setDeployments(Collection<Deployment> deployments)
An array of Deployment
objects that describe the
deployments.
deployments
- An array of Deployment
objects that describe the
deployments.public DescribeDeploymentsResult withDeployments(Deployment... deployments)
An array of Deployment
objects that describe the
deployments.
NOTE: This method appends the values to the existing list (if
any). Use setDeployments(java.util.Collection)
or
withDeployments(java.util.Collection)
if you want to override
the existing values.
deployments
- An array of Deployment
objects that describe the
deployments.public DescribeDeploymentsResult withDeployments(Collection<Deployment> deployments)
An array of Deployment
objects that describe the
deployments.
deployments
- An array of Deployment
objects that describe the
deployments.public String toString()
toString
in class Object
Object.toString()
public DescribeDeploymentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.