Class BatchGetDeploymentInstancesResult
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.BatchGetDeploymentInstancesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class BatchGetDeploymentInstancesResult extends Object implements Serializable, Cloneable
Represents the output of a batch get deployment instance operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchGetDeploymentInstancesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchGetDeploymentInstancesResultclone()booleanequals(Object obj)StringgetErrorMessage()Information about errors that may have occurred during the API call.List<InstanceSummary>getInstancesSummary()Information about the instance.inthashCode()voidsetErrorMessage(String errorMessage)Information about errors that may have occurred during the API call.voidsetInstancesSummary(Collection<InstanceSummary> instancesSummary)Information about the instance.StringtoString()Returns a string representation of this object; useful for testing and debugging.BatchGetDeploymentInstancesResultwithErrorMessage(String errorMessage)Information about errors that may have occurred during the API call.BatchGetDeploymentInstancesResultwithInstancesSummary(InstanceSummary... instancesSummary)Information about the instance.BatchGetDeploymentInstancesResultwithInstancesSummary(Collection<InstanceSummary> instancesSummary)Information about the instance.
-
-
-
Method Detail
-
getInstancesSummary
public List<InstanceSummary> getInstancesSummary()
Information about the instance.
- Returns:
- Information about the instance.
-
setInstancesSummary
public void setInstancesSummary(Collection<InstanceSummary> instancesSummary)
Information about the instance.
- Parameters:
instancesSummary- Information about the instance.
-
withInstancesSummary
public BatchGetDeploymentInstancesResult withInstancesSummary(InstanceSummary... instancesSummary)
Information about the instance.
NOTE: This method appends the values to the existing list (if any). Use
setInstancesSummary(java.util.Collection)orwithInstancesSummary(java.util.Collection)if you want to override the existing values.- Parameters:
instancesSummary- Information about the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstancesSummary
public BatchGetDeploymentInstancesResult withInstancesSummary(Collection<InstanceSummary> instancesSummary)
Information about the instance.
- Parameters:
instancesSummary- Information about the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorMessage
public void setErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
- Parameters:
errorMessage- Information about errors that may have occurred during the API call.
-
getErrorMessage
public String getErrorMessage()
Information about errors that may have occurred during the API call.
- Returns:
- Information about errors that may have occurred during the API call.
-
withErrorMessage
public BatchGetDeploymentInstancesResult withErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
- Parameters:
errorMessage- Information about errors that may have occurred during the API call.- 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 BatchGetDeploymentInstancesResult clone()
-
-