com.amazonaws.services.sqs.model
Class DeleteMessageBatchResult

java.lang.Object
  extended by com.amazonaws.services.sqs.model.DeleteMessageBatchResult
All Implemented Interfaces:
java.io.Serializable

public class DeleteMessageBatchResult
extends java.lang.Object
implements java.io.Serializable

For each message in the batch, the response contains a DeleteMessageBatchResultEntry tag if the message is deleted or a BatchResultErrorEntry tag if the message cannot be deleted.

See Also:
Serialized Form

Constructor Summary
DeleteMessageBatchResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<BatchResultErrorEntry> getFailed()
          A list of BatchResultErrorEntry items.
 java.util.List<DeleteMessageBatchResultEntry> getSuccessful()
          A list of DeleteMessageBatchResultEntry items.
 int hashCode()
           
 void setFailed(java.util.Collection<BatchResultErrorEntry> failed)
          A list of BatchResultErrorEntry items.
 void setSuccessful(java.util.Collection<DeleteMessageBatchResultEntry> successful)
          A list of DeleteMessageBatchResultEntry items.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteMessageBatchResult withFailed(BatchResultErrorEntry... failed)
          A list of BatchResultErrorEntry items.
 DeleteMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed)
          A list of BatchResultErrorEntry items.
 DeleteMessageBatchResult withSuccessful(java.util.Collection<DeleteMessageBatchResultEntry> successful)
          A list of DeleteMessageBatchResultEntry items.
 DeleteMessageBatchResult withSuccessful(DeleteMessageBatchResultEntry... successful)
          A list of DeleteMessageBatchResultEntry items.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteMessageBatchResult

public DeleteMessageBatchResult()
Method Detail

getSuccessful

public java.util.List<DeleteMessageBatchResultEntry> getSuccessful()
A list of DeleteMessageBatchResultEntry items.

Returns:
A list of DeleteMessageBatchResultEntry items.

setSuccessful

public void setSuccessful(java.util.Collection<DeleteMessageBatchResultEntry> successful)
A list of DeleteMessageBatchResultEntry items.

Parameters:
successful - A list of DeleteMessageBatchResultEntry items.

withSuccessful

public DeleteMessageBatchResult withSuccessful(DeleteMessageBatchResultEntry... successful)
A list of DeleteMessageBatchResultEntry items.

Returns a reference to this object so that method calls can be chained together.

Parameters:
successful - A list of DeleteMessageBatchResultEntry items.
Returns:
A reference to this updated object so that method calls can be chained together.

withSuccessful

public DeleteMessageBatchResult withSuccessful(java.util.Collection<DeleteMessageBatchResultEntry> successful)
A list of DeleteMessageBatchResultEntry items.

Returns a reference to this object so that method calls can be chained together.

Parameters:
successful - A list of DeleteMessageBatchResultEntry items.
Returns:
A reference to this updated object so that method calls can be chained together.

getFailed

public java.util.List<BatchResultErrorEntry> getFailed()
A list of BatchResultErrorEntry items.

Returns:
A list of BatchResultErrorEntry items.

setFailed

public void setFailed(java.util.Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.

Parameters:
failed - A list of BatchResultErrorEntry items.

withFailed

public DeleteMessageBatchResult withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry items.

Returns a reference to this object so that method calls can be chained together.

Parameters:
failed - A list of BatchResultErrorEntry items.
Returns:
A reference to this updated object so that method calls can be chained together.

withFailed

public DeleteMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items.

Returns a reference to this object so that method calls can be chained together.

Parameters:
failed - A list of BatchResultErrorEntry items.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.