public class DescribeDeploymentsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a DescribeDeployments
request.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Deployment> |
deployments
An array of
Deployment objects that describe the
deployments. |
Constructor and Description |
---|
DescribeDeploymentsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDeploymentsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Deployment> |
getDeployments()
An array of
Deployment objects that describe the
deployments. |
int |
hashCode() |
void |
setDeployments(java.util.Collection<Deployment> deployments)
An array of
Deployment objects that describe the
deployments. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDeploymentsResult |
withDeployments(java.util.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. |
private SdkInternalList<Deployment> deployments
An array of Deployment
objects that describe the
deployments.
public java.util.List<Deployment> getDeployments()
An array of Deployment
objects that describe the
deployments.
Deployment
objects that describe the
deployments.public void setDeployments(java.util.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(java.util.Collection<Deployment> deployments)
An array of Deployment
objects that describe the
deployments.
deployments
- An array of Deployment
objects that describe the
deployments.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeDeploymentsResult clone()
clone
in class java.lang.Object