com.amazonaws.services.sqs.model
Class CreateQueueRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.sqs.model.CreateQueueRequest

public class CreateQueueRequest
extends AmazonWebServiceRequest


Constructor Summary
CreateQueueRequest()
          Default constructor for a new CreateQueueRequest object.
CreateQueueRequest(String queueName)
          Constructs a new CreateQueueRequest object and initializes the specified object members.
 
Method Summary
 Integer getDefaultVisibilityTimeout()
          The visibility timeout (in seconds) to use for the created queue.
 String getQueueName()
          The name to use for the created queue.
 void setDefaultVisibilityTimeout(Integer defaultVisibilityTimeout)
          The visibility timeout (in seconds) to use for the created queue.
 void setQueueName(String queueName)
          The name to use for the created queue.
 String toString()
           
 CreateQueueRequest withDefaultVisibilityTimeout(Integer defaultVisibilityTimeout)
          The visibility timeout (in seconds) to use for the created queue.
 CreateQueueRequest withQueueName(String queueName)
          The name to use for the created queue.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateQueueRequest

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


CreateQueueRequest

public CreateQueueRequest(String queueName)
Constructs a new CreateQueueRequest object and initializes the specified object members. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
queueName - The name to use for the created queue.
Method Detail

getQueueName

public String getQueueName()
The name to use for the created queue.

Returns:
The name to use for the created queue.

setQueueName

public void setQueueName(String queueName)
The name to use for the created queue.

Parameters:
queueName - The name to use for the created queue.

withQueueName

public CreateQueueRequest withQueueName(String queueName)
The name to use for the created queue.

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

Parameters:
queueName - The name to use for the created queue.
Returns:
A reference to this updated object so that method calls can be chained together.

getDefaultVisibilityTimeout

public Integer getDefaultVisibilityTimeout()
The visibility timeout (in seconds) to use for the created queue.

Returns:
The visibility timeout (in seconds) to use for the created queue.

setDefaultVisibilityTimeout

public void setDefaultVisibilityTimeout(Integer defaultVisibilityTimeout)
The visibility timeout (in seconds) to use for the created queue.

Parameters:
defaultVisibilityTimeout - The visibility timeout (in seconds) to use for the created queue.

withDefaultVisibilityTimeout

public CreateQueueRequest withDefaultVisibilityTimeout(Integer defaultVisibilityTimeout)
The visibility timeout (in seconds) to use for the created queue.

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

Parameters:
defaultVisibilityTimeout - The visibility timeout (in seconds) to use for the created queue.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.