@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChangeMessageVisibilityBatchResult extends AmazonWebServiceResult<ResponseMetadata> 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.
| Constructor and Description |
|---|
ChangeMessageVisibilityBatchResult() |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ChangeMessageVisibilityBatchResultEntry> getSuccessful()
A list of ChangeMessageVisibilityBatchResultEntry items.
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.
NOTE: This method appends the values to the existing list (if any). Use
setSuccessful(java.util.Collection) or withSuccessful(java.util.Collection) if you want to
override the existing values.
successful - A list of ChangeMessageVisibilityBatchResultEntry items.public ChangeMessageVisibilityBatchResult withSuccessful(Collection<ChangeMessageVisibilityBatchResultEntry> successful)
A list of ChangeMessageVisibilityBatchResultEntry items.
successful - A list of ChangeMessageVisibilityBatchResultEntry items.public List<BatchResultErrorEntry> getFailed()
A list of BatchResultErrorEntry items.
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.
NOTE: This method appends the values to the existing list (if any). Use
setFailed(java.util.Collection) or withFailed(java.util.Collection) if you want to override the
existing values.
failed - A list of BatchResultErrorEntry items.public ChangeMessageVisibilityBatchResult withFailed(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.
failed - A list of BatchResultErrorEntry items.public String toString()
toString in class ObjectObject.toString()public ChangeMessageVisibilityBatchResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.