com.amazonaws.services.sqs.model
Class SendMessageBatchResult

java.lang.Object
  extended by com.amazonaws.services.sqs.model.SendMessageBatchResult

public class SendMessageBatchResult
extends Object


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

Constructor Detail

SendMessageBatchResult

public SendMessageBatchResult()
Method Detail

getSuccessful

public List<SendMessageBatchResultEntry> getSuccessful()
A list of SendMessageBatchResultEntrys.

Returns:
A list of SendMessageBatchResultEntrys.

setSuccessful

public void setSuccessful(Collection<SendMessageBatchResultEntry> successful)
A list of SendMessageBatchResultEntrys.

Parameters:
successful - A list of SendMessageBatchResultEntrys.

withSuccessful

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

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

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

withSuccessful

public SendMessageBatchResult withSuccessful(Collection<SendMessageBatchResultEntry> successful)
A list of SendMessageBatchResultEntrys.

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

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

getFailed

public List<BatchResultErrorEntry> getFailed()
A list of BatchResultErrorEntrys with the error detail about each message that could not be enqueued.

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

setFailed

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

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

withFailed

public SendMessageBatchResult withFailed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntrys 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 BatchResultErrorEntrys 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(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntrys 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 BatchResultErrorEntrys 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 String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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