Class BatchGetDeploymentsResult
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.BatchGetDeploymentsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class BatchGetDeploymentsResult extends Object implements Serializable, Cloneable
Represents the output of a batch get deployments operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchGetDeploymentsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchGetDeploymentsResultclone()booleanequals(Object obj)List<DeploymentInfo>getDeploymentsInfo()Information about the deployments.inthashCode()voidsetDeploymentsInfo(Collection<DeploymentInfo> deploymentsInfo)Information about the deployments.StringtoString()Returns a string representation of this object; useful for testing and debugging.BatchGetDeploymentsResultwithDeploymentsInfo(DeploymentInfo... deploymentsInfo)Information about the deployments.BatchGetDeploymentsResultwithDeploymentsInfo(Collection<DeploymentInfo> deploymentsInfo)Information about the deployments.
-
-
-
Method Detail
-
getDeploymentsInfo
public List<DeploymentInfo> getDeploymentsInfo()
Information about the deployments.
- Returns:
- Information about the deployments.
-
setDeploymentsInfo
public void setDeploymentsInfo(Collection<DeploymentInfo> deploymentsInfo)
Information about the deployments.
- Parameters:
deploymentsInfo- Information about the deployments.
-
withDeploymentsInfo
public BatchGetDeploymentsResult withDeploymentsInfo(DeploymentInfo... deploymentsInfo)
Information about the deployments.
NOTE: This method appends the values to the existing list (if any). Use
setDeploymentsInfo(java.util.Collection)orwithDeploymentsInfo(java.util.Collection)if you want to override the existing values.- Parameters:
deploymentsInfo- Information about the deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDeploymentsInfo
public BatchGetDeploymentsResult withDeploymentsInfo(Collection<DeploymentInfo> deploymentsInfo)
Information about the deployments.
- Parameters:
deploymentsInfo- Information about 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 BatchGetDeploymentsResult clone()
-
-