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 BatchGetDeploymentsResult
clone()
boolean
equals(Object obj)
List<DeploymentInfo>
getDeploymentsInfo()
Information about the deployments.int
hashCode()
void
setDeploymentsInfo(Collection<DeploymentInfo> deploymentsInfo)
Information about the deployments.String
toString()
Returns a string representation of this object; useful for testing and debugging.BatchGetDeploymentsResult
withDeploymentsInfo(DeploymentInfo... deploymentsInfo)
Information about the deployments.BatchGetDeploymentsResult
withDeploymentsInfo(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BatchGetDeploymentsResult clone()
-
-