public class CreateQueueOptions extends BaseHttpRequestOptions implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
CreateQueueOptions.Builder |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateQueueOptions() |
Modifier and Type | Method and Description |
---|---|
CreateQueueOptions |
attribute(String name,
String value) |
CreateQueueOptions |
attributes(Map<String,String> attributes) |
com.google.common.collect.Multimap<String,String> |
buildFormParameters()
Builds form parameters representing options.
|
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.
|
buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, replaceHeader
public CreateQueueOptions visibilityTimeout(int visibilityTimeout)
visibilityTimeout
- Constraints: 0 to 43200 (maximum 12 hours)
Default: The visibility timeout for the queuepublic CreateQueueOptions attributes(Map<String,String> attributes)
public CreateQueueOptions attribute(String name, String value)
attributes
public com.google.common.collect.Multimap<String,String> buildFormParameters()
HttpRequestOptions
buildFormParameters
in interface HttpRequestOptions
buildFormParameters
in class BaseHttpRequestOptions
public int hashCode()
hashCode
in class BaseHttpRequestOptions
public CreateQueueOptions clone()
public boolean equals(Object obj)
equals
in class BaseHttpRequestOptions
public String toString()
toString
in class BaseHttpRequestOptions
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.