public class ChangeMessageVisibilityBatchResult extends Object implements 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 List<ChangeMessageVisibilityBatchResultEntry> getSuccessful()
A list of ChangeMessageVisibilityBatchResultEntry items.
A list of ChangeMessageVisibilityBatchResultEntry items.
public void setSuccessful(Collection<ChangeMessageVisibilityBatchResultEntry> successful)
A list of ChangeMessageVisibilityBatchResultEntry items.
successful - A list of ChangeMessageVisibilityBatchResultEntry items.
public ChangeMessageVisibilityBatchResult withSuccessful(ChangeMessageVisibilityBatchResultEntry... successful)
A list of ChangeMessageVisibilityBatchResultEntry items.
Returns a reference to this object so that method calls can be chained together.
successful - A list of ChangeMessageVisibilityBatchResultEntry items.
public ChangeMessageVisibilityBatchResult withSuccessful(Collection<ChangeMessageVisibilityBatchResultEntry> successful)
A list of ChangeMessageVisibilityBatchResultEntry items.
Returns a reference to this object so that method calls can be chained together.
successful - A list of ChangeMessageVisibilityBatchResultEntry items.
public List<BatchResultErrorEntry> getFailed()
A list of BatchResultErrorEntry items.
A list of BatchResultErrorEntry items.
public void setFailed(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.
failed - A list of BatchResultErrorEntry items.
public ChangeMessageVisibilityBatchResult withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry items.
Returns a reference to this object so that method calls can be chained together.
failed - A list of BatchResultErrorEntry items.
public ChangeMessageVisibilityBatchResult withFailed(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.
Returns a reference to this object so that method calls can be chained together.
failed - A list of BatchResultErrorEntry items.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.