public class BatchGetDeploymentInstancesResult extends Object implements Serializable, Cloneable
Represents the output of a batch get deployment instances operation.
Constructor and Description |
---|
BatchGetDeploymentInstancesResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetDeploymentInstancesResult |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
Information about errors that may have occurred during the API call.
|
List<InstanceSummary> |
getInstancesSummary()
Information about the instances.
|
int |
hashCode() |
void |
setErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
|
void |
setInstancesSummary(Collection<InstanceSummary> instancesSummary)
Information about the instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetDeploymentInstancesResult |
withErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
|
BatchGetDeploymentInstancesResult |
withInstancesSummary(Collection<InstanceSummary> instancesSummary)
Information about the instances.
|
BatchGetDeploymentInstancesResult |
withInstancesSummary(InstanceSummary... instancesSummary)
Information about the instances.
|
public List<InstanceSummary> getInstancesSummary()
Information about the instances.
public void setInstancesSummary(Collection<InstanceSummary> instancesSummary)
Information about the instances.
instancesSummary
- Information about the instances.public BatchGetDeploymentInstancesResult withInstancesSummary(InstanceSummary... instancesSummary)
Information about the instances.
NOTE: This method appends the values to the existing list (if
any). Use setInstancesSummary(java.util.Collection)
or
withInstancesSummary(java.util.Collection)
if you want to
override the existing values.
instancesSummary
- Information about the instances.public BatchGetDeploymentInstancesResult withInstancesSummary(Collection<InstanceSummary> instancesSummary)
Information about the instances.
instancesSummary
- Information about the instances.public void setErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
errorMessage
- Information about errors that may have occurred during the API
call.public String getErrorMessage()
Information about errors that may have occurred during the API call.
public BatchGetDeploymentInstancesResult withErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
errorMessage
- Information about errors that may have occurred during the API
call.public String toString()
toString
in class Object
Object.toString()
public BatchGetDeploymentInstancesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.