public class BatchGetDeploymentInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a batch get deployment instance operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
errorMessage
Information about errors that may have occurred during the API call.
|
private SdkInternalList<InstanceSummary> |
instancesSummary
Information about the instance.
|
Constructor and Description |
---|
BatchGetDeploymentInstancesResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetDeploymentInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getErrorMessage()
Information about errors that may have occurred during the API call.
|
java.util.List<InstanceSummary> |
getInstancesSummary()
Information about the instance.
|
int |
hashCode() |
void |
setErrorMessage(java.lang.String errorMessage)
Information about errors that may have occurred during the API call.
|
void |
setInstancesSummary(java.util.Collection<InstanceSummary> instancesSummary)
Information about the instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetDeploymentInstancesResult |
withErrorMessage(java.lang.String errorMessage)
Information about errors that may have occurred during the API call.
|
BatchGetDeploymentInstancesResult |
withInstancesSummary(java.util.Collection<InstanceSummary> instancesSummary)
Information about the instance.
|
BatchGetDeploymentInstancesResult |
withInstancesSummary(InstanceSummary... instancesSummary)
Information about the instance.
|
private SdkInternalList<InstanceSummary> instancesSummary
Information about the instance.
private java.lang.String errorMessage
Information about errors that may have occurred during the API call.
public java.util.List<InstanceSummary> getInstancesSummary()
Information about the instance.
public void setInstancesSummary(java.util.Collection<InstanceSummary> instancesSummary)
Information about the instance.
instancesSummary
- Information about the instance.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)
or
withInstancesSummary(java.util.Collection)
if you want to
override the existing values.
instancesSummary
- Information about the instance.public BatchGetDeploymentInstancesResult withInstancesSummary(java.util.Collection<InstanceSummary> instancesSummary)
Information about the instance.
instancesSummary
- Information about the instance.public void setErrorMessage(java.lang.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 java.lang.String getErrorMessage()
Information about errors that may have occurred during the API call.
public BatchGetDeploymentInstancesResult withErrorMessage(java.lang.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 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 BatchGetDeploymentInstancesResult clone()
clone
in class java.lang.Object