public class ChangeMessageVisibilityBatchResult
extends java.lang.Object
implements java.io.Serializable
For each message in the batch, the response contains a ChangeMessageVisibilityBatchResultEntry tag if the message succeeds or a BatchResultErrorEntry tag if the message fails.
| Constructor and Description |
|---|
ChangeMessageVisibilityBatchResult() |
public java.util.List<ChangeMessageVisibilityBatchResultEntry> getSuccessful()
public void setSuccessful(java.util.Collection<ChangeMessageVisibilityBatchResultEntry> successful)
successful - A list of ChangeMessageVisibilityBatchResultEntry items.public ChangeMessageVisibilityBatchResult withSuccessful(ChangeMessageVisibilityBatchResultEntry... successful)
Returns a reference to this object so that method calls can be chained together.
successful - A list of ChangeMessageVisibilityBatchResultEntry items.public ChangeMessageVisibilityBatchResult withSuccessful(java.util.Collection<ChangeMessageVisibilityBatchResultEntry> successful)
Returns a reference to this object so that method calls can be chained together.
successful - A list of ChangeMessageVisibilityBatchResultEntry items.public java.util.List<BatchResultErrorEntry> getFailed()
public void setFailed(java.util.Collection<BatchResultErrorEntry> failed)
failed - A list of BatchResultErrorEntry items.public ChangeMessageVisibilityBatchResult withFailed(BatchResultErrorEntry... failed)
Returns a reference to this object so that method calls can be chained together.
failed - A list of BatchResultErrorEntry items.public ChangeMessageVisibilityBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed)
Returns a reference to this object so that method calls can be chained together.
failed - A list of BatchResultErrorEntry items.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object