Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sqs.model
Class SendMessageBatchRequest

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

public class SendMessageBatchRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the SendMessageBatch operation.

See Also:
AmazonSQS.sendMessageBatch(SendMessageBatchRequest), Serialized Form

Constructor Summary
SendMessageBatchRequest()
          Default constructor for a new SendMessageBatchRequest object.
SendMessageBatchRequest(java.lang.String queueUrl)
          Constructs a new SendMessageBatchRequest object.
SendMessageBatchRequest(java.lang.String queueUrl, java.util.List<SendMessageBatchRequestEntry> entries)
          Constructs a new SendMessageBatchRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<SendMessageBatchRequestEntry> getEntries()
          Returns the value of the Entries property for this object.
 java.lang.String getQueueUrl()
          Returns the value of the QueueUrl property for this object.
 int hashCode()
           
 void setEntries(java.util.Collection<SendMessageBatchRequestEntry> entries)
          Sets the value of the Entries property for this object.
 void setQueueUrl(java.lang.String queueUrl)
          Sets the value of the QueueUrl property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SendMessageBatchRequest withEntries(java.util.Collection<SendMessageBatchRequestEntry> entries)
          Sets the value of the Entries property for this object.
 SendMessageBatchRequest withEntries(SendMessageBatchRequestEntry... entries)
          Sets the value of the Entries property for this object.
 SendMessageBatchRequest withQueueUrl(java.lang.String queueUrl)
          Sets the value of the QueueUrl property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendMessageBatchRequest

public SendMessageBatchRequest()
Default constructor for a new SendMessageBatchRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


SendMessageBatchRequest

public SendMessageBatchRequest(java.lang.String queueUrl)
Constructs a new SendMessageBatchRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
queueUrl -

SendMessageBatchRequest

public SendMessageBatchRequest(java.lang.String queueUrl,
                               java.util.List<SendMessageBatchRequestEntry> entries)
Constructs a new SendMessageBatchRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
queueUrl -
entries -
Method Detail

getQueueUrl

public java.lang.String getQueueUrl()
Returns the value of the QueueUrl property for this object.

Returns:
The value of the QueueUrl property for this object.

setQueueUrl

public void setQueueUrl(java.lang.String queueUrl)
Sets the value of the QueueUrl property for this object.

Parameters:
queueUrl - The new value for the QueueUrl property for this object.

withQueueUrl

public SendMessageBatchRequest withQueueUrl(java.lang.String queueUrl)
Sets the value of the QueueUrl property for this object.

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

Parameters:
queueUrl - The new value for the QueueUrl property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getEntries

public java.util.List<SendMessageBatchRequestEntry> getEntries()
Returns the value of the Entries property for this object.

Returns:
The value of the Entries property for this object.

setEntries

public void setEntries(java.util.Collection<SendMessageBatchRequestEntry> entries)
Sets the value of the Entries property for this object.

Parameters:
entries - The new value for the Entries property for this object.

withEntries

public SendMessageBatchRequest withEntries(SendMessageBatchRequestEntry... entries)
Sets the value of the Entries property for this object.

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

Parameters:
entries - The new value for the Entries property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withEntries

public SendMessageBatchRequest withEntries(java.util.Collection<SendMessageBatchRequestEntry> entries)
Sets the value of the Entries property for this object.

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

Parameters:
entries - The new value for the Entries property for this object.
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.