Class ChangeMessageVisibilityBatchResult
- java.lang.Object
-
- com.amazonaws.services.sqs.model.ChangeMessageVisibilityBatchResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ChangeMessageVisibilityBatchResult extends Object implements Serializable, Cloneable
For each message in the batch, the response contains a ChangeMessageVisibilityBatchResultEntry tag if the message succeeds or a BatchResultErrorEntry tag if the message fails.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChangeMessageVisibilityBatchResult()
-
Method Summary
-
-
-
Method Detail
-
getSuccessful
public List<ChangeMessageVisibilityBatchResultEntry> getSuccessful()
A list of ChangeMessageVisibilityBatchResultEntry items.
- Returns:
- A list of ChangeMessageVisibilityBatchResultEntry items.
-
setSuccessful
public void setSuccessful(Collection<ChangeMessageVisibilityBatchResultEntry> successful)
A list of ChangeMessageVisibilityBatchResultEntry items.
- Parameters:
successful
- A list of ChangeMessageVisibilityBatchResultEntry items.
-
withSuccessful
public ChangeMessageVisibilityBatchResult withSuccessful(ChangeMessageVisibilityBatchResultEntry... successful)
A list of ChangeMessageVisibilityBatchResultEntry items.
NOTE: This method appends the values to the existing list (if any). Use
setSuccessful(java.util.Collection)
orwithSuccessful(java.util.Collection)
if you want to override the existing values.- Parameters:
successful
- A list of ChangeMessageVisibilityBatchResultEntry items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSuccessful
public ChangeMessageVisibilityBatchResult withSuccessful(Collection<ChangeMessageVisibilityBatchResultEntry> successful)
A list of ChangeMessageVisibilityBatchResultEntry items.
- Parameters:
successful
- A list of ChangeMessageVisibilityBatchResultEntry items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFailed
public List<BatchResultErrorEntry> getFailed()
A list of BatchResultErrorEntry items.
- Returns:
- A list of BatchResultErrorEntry items.
-
setFailed
public void setFailed(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.
- Parameters:
failed
- A list of BatchResultErrorEntry items.
-
withFailed
public ChangeMessageVisibilityBatchResult withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry items.
NOTE: This method appends the values to the existing list (if any). Use
setFailed(java.util.Collection)
orwithFailed(java.util.Collection)
if you want to override the existing values.- Parameters:
failed
- A list of BatchResultErrorEntry items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailed
public ChangeMessageVisibilityBatchResult withFailed(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.
- Parameters:
failed
- A list of BatchResultErrorEntry items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ChangeMessageVisibilityBatchResult clone()
-
-