org.jclouds.sqs.options
Class CreateQueueOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.sqs.options.CreateQueueOptions
All Implemented Interfaces:
Cloneable, org.jclouds.http.options.HttpRequestOptions

public class CreateQueueOptions
extends org.jclouds.http.options.BaseHttpRequestOptions
implements Cloneable

Options used to receive a message from a queue.

Author:
Adrian Cole
See Also:
docs

Nested Class Summary
static class CreateQueueOptions.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
CreateQueueOptions()
           
 
Method Summary
 CreateQueueOptions attribute(String name, String value)
           
 CreateQueueOptions attributes(Map<String,String> attributes)
           
 com.google.common.collect.Multimap<String,String> buildFormParameters()
           
 CreateQueueOptions clone()
           
 boolean equals(Object obj)
          
 int hashCode()
          
 String toString()
          
 CreateQueueOptions visibilityTimeout(int visibilityTimeout)
          The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a CreateQueue request.
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, replaceHeader
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateQueueOptions

public CreateQueueOptions()
Method Detail

visibilityTimeout

public CreateQueueOptions visibilityTimeout(int visibilityTimeout)
The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a CreateQueue request.

Parameters:
visibilityTimeout - Constraints: 0 to 43200 (maximum 12 hours) Default: The visibility timeout for the queue

attributes

public CreateQueueOptions attributes(Map<String,String> attributes)

attribute

public CreateQueueOptions attribute(String name,
                                    String value)
See Also:
attributes

buildFormParameters

public com.google.common.collect.Multimap<String,String> buildFormParameters()
Specified by:
buildFormParameters in interface org.jclouds.http.options.HttpRequestOptions
Overrides:
buildFormParameters in class org.jclouds.http.options.BaseHttpRequestOptions

hashCode

public int hashCode()

Overrides:
hashCode in class org.jclouds.http.options.BaseHttpRequestOptions

clone

public CreateQueueOptions clone()
Overrides:
clone in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class org.jclouds.http.options.BaseHttpRequestOptions

toString

public String toString()

Overrides:
toString in class org.jclouds.http.options.BaseHttpRequestOptions


Copyright © 2009-2012 jclouds. All Rights Reserved.