Class DescribeDeploymentsResult
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.DescribeDeploymentsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeDeploymentsResult extends Object implements Serializable, Cloneable
Contains the response to a
DescribeDeployments
request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDeploymentsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDeploymentsResult
clone()
boolean
equals(Object obj)
List<Deployment>
getDeployments()
An array ofDeployment
objects that describe the deployments.int
hashCode()
void
setDeployments(Collection<Deployment> deployments)
An array ofDeployment
objects that describe the deployments.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeDeploymentsResult
withDeployments(Deployment... deployments)
An array ofDeployment
objects that describe the deployments.DescribeDeploymentsResult
withDeployments(Collection<Deployment> deployments)
An array ofDeployment
objects that describe the deployments.
-
-
-
Method Detail
-
getDeployments
public List<Deployment> getDeployments()
An array of
Deployment
objects that describe the deployments.- Returns:
- An array of
Deployment
objects that describe the deployments.
-
setDeployments
public void setDeployments(Collection<Deployment> deployments)
An array of
Deployment
objects that describe the deployments.- Parameters:
deployments
- An array ofDeployment
objects that describe the deployments.
-
withDeployments
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)
orwithDeployments(java.util.Collection)
if you want to override the existing values.- Parameters:
deployments
- An array ofDeployment
objects that describe the deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDeployments
public DescribeDeploymentsResult withDeployments(Collection<Deployment> deployments)
An array of
Deployment
objects that describe the deployments.- Parameters:
deployments
- An array ofDeployment
objects that describe the deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDeploymentsResult clone()
-
-