Package com.amazonaws.services.sqs.model
Class ReceiveMessageResult
java.lang.Object
com.amazonaws.services.sqs.model.ReceiveMessageResult
- All Implemented Interfaces:
Serializable
,Cloneable
A list of received messages.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of messages.int
hashCode()
void
setMessages
(Collection<Message> messages) A list of messages.toString()
Returns a string representation of this object; useful for testing and debugging.withMessages
(Message... messages) A list of messages.withMessages
(Collection<Message> messages) A list of messages.
-
Constructor Details
-
ReceiveMessageResult
public ReceiveMessageResult()
-
-
Method Details
-
getMessages
A list of messages.
- Returns:
- A list of messages.
-
setMessages
A list of messages.
- Parameters:
messages
- A list of messages.
-
withMessages
A list of messages.
NOTE: This method appends the values to the existing list (if any). Use
setMessages(java.util.Collection)
orwithMessages(java.util.Collection)
if you want to override the existing values.- Parameters:
messages
- A list of messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withMessages
A list of messages.
- Parameters:
messages
- A list of messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-