Class DescribeDeploymentsResult
java.lang.Object
com.amazonaws.services.opsworks.model.DescribeDeploymentsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the response to a DescribeDeployments
request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An array ofDeployment
objects that describe the deployments.int
hashCode()
void
setDeployments
(Collection<Deployment> deployments) An array ofDeployment
objects that describe the deployments.toString()
Returns a string representation of this object; useful for testing and debugging.withDeployments
(Deployment... deployments) An array ofDeployment
objects that describe the deployments.withDeployments
(Collection<Deployment> deployments) An array ofDeployment
objects that describe the deployments.
-
Constructor Details
-
DescribeDeploymentsResult
public DescribeDeploymentsResult()
-
-
Method Details
-
getDeployments
An array of
Deployment
objects that describe the deployments.- Returns:
- An array of
Deployment
objects that describe the deployments.
-
setDeployments
An array of
Deployment
objects that describe the deployments.- Parameters:
deployments
- An array ofDeployment
objects that describe the deployments.
-
withDeployments
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-