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
DescribeDeploymentsrequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDeploymentsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDeploymentsResultclone()booleanequals(Object obj)List<Deployment>getDeployments()An array ofDeploymentobjects that describe the deployments.inthashCode()voidsetDeployments(Collection<Deployment> deployments)An array ofDeploymentobjects that describe the deployments.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeDeploymentsResultwithDeployments(Deployment... deployments)An array ofDeploymentobjects that describe the deployments.DescribeDeploymentsResultwithDeployments(Collection<Deployment> deployments)An array ofDeploymentobjects that describe the deployments.
-
-
-
Method Detail
-
getDeployments
public List<Deployment> getDeployments()
An array of
Deploymentobjects that describe the deployments.- Returns:
- An array of
Deploymentobjects that describe the deployments.
-
setDeployments
public void setDeployments(Collection<Deployment> deployments)
An array of
Deploymentobjects that describe the deployments.- Parameters:
deployments- An array ofDeploymentobjects that describe the deployments.
-
withDeployments
public DescribeDeploymentsResult withDeployments(Deployment... deployments)
An array of
Deploymentobjects 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 ofDeploymentobjects 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
Deploymentobjects that describe the deployments.- Parameters:
deployments- An array ofDeploymentobjects 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDeploymentsResult clone()
-
-