com.amazonaws.services.sqs.model
Class SendMessageBatchResult

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

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

For each message in the batch, the response contains a SendMessageBatchResultEntry tag if the message succeeds or a BatchResultErrorEntry tag if the message fails.

See Also:
Serialized Form

Constructor Summary
SendMessageBatchResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<BatchResultErrorEntry> getFailed()
          A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
 java.util.List<SendMessageBatchResultEntry> getSuccessful()
          A list of SendMessageBatchResultEntry items.
 int hashCode()
           
 void setFailed(java.util.Collection<BatchResultErrorEntry> failed)
          A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
 void setSuccessful(java.util.Collection<SendMessageBatchResultEntry> successful)
          A list of SendMessageBatchResultEntry items.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SendMessageBatchResult withFailed(BatchResultErrorEntry... failed)
          A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
 SendMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed)
          A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
 SendMessageBatchResult withSuccessful(java.util.Collection<SendMessageBatchResultEntry> successful)
          A list of SendMessageBatchResultEntry items.
 SendMessageBatchResult withSuccessful(SendMessageBatchResultEntry... successful)
          A list of SendMessageBatchResultEntry items.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendMessageBatchResult

public SendMessageBatchResult()
Method Detail

getSuccessful

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

Returns:
A list of SendMessageBatchResultEntry items.

setSuccessful

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

Parameters:
successful - A list of SendMessageBatchResultEntry items.

withSuccessful

public SendMessageBatchResult withSuccessful(SendMessageBatchResultEntry... successful)
A list of SendMessageBatchResultEntry items.

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

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

withSuccessful

public SendMessageBatchResult withSuccessful(java.util.Collection<SendMessageBatchResultEntry> successful)
A list of SendMessageBatchResultEntry items.

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

Parameters:
successful - A list of SendMessageBatchResultEntry 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 with the error detail about each message that could not be enqueued.

Returns:
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.

setFailed

public void setFailed(java.util.Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.

Parameters:
failed - A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.

withFailed

public SendMessageBatchResult withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.

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

Parameters:
failed - A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
Returns:
A reference to this updated object so that method calls can be chained together.

withFailed

public SendMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.

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

Parameters:
failed - A list of BatchResultErrorEntry items with the error detail about each message that could not be enqueued.
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.