Packagecom.amazonaws.services.sqs.model
Classpublic class SetQueueAttributesRequest
InheritanceSetQueueAttributesRequest Inheritance AmazonWebServiceRequest Inheritance Object

Language Version : ActionScript 3.0
Product Version : Flex 4
Since : February 7. 2011
Runtime Versions : Flash Player 10.1, AIR 2.5

Container for the parameters to the SetQueueAttributes operation. Sets an attribute of a queue. Currently, queues currently have four (4) attributes you can set:



Public Methods
 MethodDefined By
  
SetQueueAttributesRequest(queueUrl:String = null, attributes:Map = null)
Constructs a new SetQueueAttributesRequest object.
SetQueueAttributesRequest
  
A list of attributes to set.
SetQueueAttributesRequest
  
getQueueUrl():String
The queue URL.
SetQueueAttributesRequest
  
setAttributes(attributes:Map):void
A list of attributes to set.
SetQueueAttributesRequest
  
setQueueUrl(queueUrl:String):void
Expected queue URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).
SetQueueAttributesRequest
  
toString():String
Returns a string representation of this object; useful for testing and debugging.
SetQueueAttributesRequest
  
A list of attributes to set.
SetQueueAttributesRequest
  
Expected query URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).
SetQueueAttributesRequest
Constructor Detail
SetQueueAttributesRequest()Constructor
public function SetQueueAttributesRequest(queueUrl:String = null, attributes:Map = null)

Constructs a new SetQueueAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters
queueUrl:String (default = null) — queue URL (http|https://endpoint/12digitOwnerAccountId/QueueName)
 
attributes:Map (default = null) — A list of attributes to set. Queues currently have four (4) attributes you can set:
  • VisibilityTimeout - An integer from 0 to 43200 (12 hours).
  • Policy - A valid form-url-encoded policy. For more information about policy structure, see Basic Policy Structure in the Amazon SQS Developer Guide. For more information about form-url-encoding, see http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2.1.
  • MaximumMessageSize - An integer from 1024 bytes (1KB) up to 65536 bytes (64KB). The default for this attribute is 8192 (8KB).
  • MessageRetentionPeriod - Integer representing seconds, from 3600 (1 hour) to 1209600 (14 days). The default for this attribute is 345600 (4 days).

See also

Method Detail
getAttributes()method
public function getAttributes():Map

A list of attributes to set.

Valid attributes:

Returns
Map — A list of attributes to set.
getQueueUrl()method 
public function getQueueUrl():String

The queue URL. (http|https://endpoint/12digitOwnerAccountId/QueueName).

Returns
String — queue URL
setAttributes()method 
public function setAttributes(attributes:Map):void

A list of attributes to set.

Valid attributes:

Parameters

attributes:Map — list of attributes to set.

setQueueUrl()method 
public function setQueueUrl(queueUrl:String):void

Expected queue URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).

Parameters

queueUrl:String — query URL

toString()method 
public function toString():String

Returns a string representation of this object; useful for testing and debugging.

Returns
String — A string representation of this object.
withAttributes()method 
public function withAttributes(attributes:Map):SetQueueAttributesRequest

A list of attributes to set. Returns a reference to this object so that method calls can be chained together.

Valid attributes:

Parameters

attributes:Map — A list of attributes to set.

Returns
SetQueueAttributesRequest — A reference to this updated object so that method calls can be chained together.
withQueueUrl()method 
public function withQueueUrl(queueUrl:String):SetQueueAttributesRequest

Expected query URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).

Parameters

queueUrl:String — queue URL

Returns
SetQueueAttributesRequest — A reference to this updated object so that method calls can be chained together.