@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchReadResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchReadResult() |
Modifier and Type | Method and Description |
---|---|
BatchReadResult |
clone() |
boolean |
equals(Object obj) |
List<BatchReadOperationResponse> |
getResponses()
A list of all the responses for each batch read.
|
int |
hashCode() |
void |
setResponses(Collection<BatchReadOperationResponse> responses)
A list of all the responses for each batch read.
|
String |
toString()
Returns a string representation of this object.
|
BatchReadResult |
withResponses(BatchReadOperationResponse... responses)
A list of all the responses for each batch read.
|
BatchReadResult |
withResponses(Collection<BatchReadOperationResponse> responses)
A list of all the responses for each batch read.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BatchReadOperationResponse> getResponses()
A list of all the responses for each batch read.
public void setResponses(Collection<BatchReadOperationResponse> responses)
A list of all the responses for each batch read.
responses
- A list of all the responses for each batch read.public BatchReadResult withResponses(BatchReadOperationResponse... responses)
A list of all the responses for each batch read.
NOTE: This method appends the values to the existing list (if any). Use
setResponses(java.util.Collection)
or withResponses(java.util.Collection)
if you want to
override the existing values.
responses
- A list of all the responses for each batch read.public BatchReadResult withResponses(Collection<BatchReadOperationResponse> responses)
A list of all the responses for each batch read.
responses
- A list of all the responses for each batch read.public String toString()
toString
in class Object
Object.toString()
public BatchReadResult clone()