AWS SDK for .NET Documentation
SetQueueAttributesRequest Class
AmazonAmazon.SQS.ModelSetQueueAttributesRequest Did this page help you?   Yes   No    Tell us about it...

Sets the value of one or more queue attributes. Currently, you can set only one attribute per request. Valid attributes that can be set are [VisibilityTimeout, Policy, MaximumMessageSize, MessageRetentionPeriod, WaitTimeSeconds].

Declaration Syntax
C#
public class SetQueueAttributesRequest : SQSRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
SetQueueAttributesRequest()()()()
Initializes a new instance of the SetQueueAttributesRequest class

Attribute
Name and value pair of an attribute associated with the queue.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetAttribute()()()()
Checks if Attribute property is set

IsSetQueueUrl()()()()
Checks if QueueUrl property is set

QueueUrl
The URL associated with the Amazon SQS queue.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAttribute(array<Attribute>[]()[][]) Obsolete.
Sets the name and value pair of an attribute associated with the queue.

WithDeplaySeconds(Int32) Obsolete.
Adds the attribute for setting the delay in seconds and returns back this for chaining operations.

WithMaximumMessageSize(Int32) Obsolete.
Adds the attribute for setting the maximum message size and returns back this for chaining operations.

WithMessageRetentionPeriod(Int32) Obsolete.
Adds the attribute for setting the message retention period and returns back this for chaining operations.

WithPolicy(String) Obsolete.
Adds the attribute for setting the policy and returns back this for chaining operations.

WithQueueUrl(String) Obsolete.
Sets the URL associated with the Amazon SQS queue.

WithVisibilityTimeout(Int32) Obsolete.
Adds the attribute for setting the visibility timeout and returns back this for chaining operations.

Inheritance Hierarchy
Object
SQSRequest
 SetQueueAttributesRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)