|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sqs.model.SetQueueAttributesRequest
public class SetQueueAttributesRequest
Container for the parameters to the SetQueueAttributes operation
.
Sets an attribute of a queue. Currently, you can set only the VisibilityTimeout attribute for a queue.
AmazonSQS.setQueueAttributes(SetQueueAttributesRequest)
Constructor Summary | |
---|---|
SetQueueAttributesRequest()
Default constructor for a new SetQueueAttributesRequest object. |
|
SetQueueAttributesRequest(String queueUrl,
Map<String,String> attributes)
Constructs a new SetQueueAttributesRequest object. |
Method Summary | |
---|---|
Map<String,String> |
getAttributes()
A list of attributes to set. |
String |
getQueueUrl()
|
void |
setAttributes(Map<String,String> attributes)
A list of attributes to set. |
void |
setQueueUrl(String queueUrl)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SetQueueAttributesRequest |
withAttributes(Map<String,String> attributes)
A list of attributes to set. |
SetQueueAttributesRequest |
withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SetQueueAttributesRequest()
public SetQueueAttributesRequest(String queueUrl, Map<String,String> attributes)
queueUrl
- attributes
- A list of attributes to set.Method Detail |
---|
public String getQueueUrl()
public void setQueueUrl(String queueUrl)
queueUrl
- public SetQueueAttributesRequest withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl
-
public Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes
- A list of attributes to set.public SetQueueAttributesRequest withAttributes(Map<String,String> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
- A list of attributes to set.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |