Package org.jclouds.sqs.domain
Class QueueAttributes.Builder<T extends QueueAttributes.Builder<T>>
- java.lang.Object
-
- org.jclouds.sqs.domain.QueueAttributes.Builder<T>
-
- Enclosing class:
- QueueAttributes
public abstract static class QueueAttributes.Builder<T extends QueueAttributes.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected long
approximateNumberOfMessages
protected long
approximateNumberOfMessagesDelayed
protected long
approximateNumberOfMessagesNotVisible
protected Date
createdTimestamp
protected int
delaySeconds
protected Date
lastModifiedTimestamp
protected int
maximumMessageSize
protected int
messageRetentionPeriod
protected String
queueArn
protected com.google.common.base.Optional<String>
rawPolicy
protected int
visibilityTimeout
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
approximateNumberOfMessages(long approximateNumberOfMessages)
T
approximateNumberOfMessagesDelayed(long approximateNumberOfMessagesDelayed)
T
approximateNumberOfMessagesNotVisible(long approximateNumberOfMessagesNotVisible)
QueueAttributes
build()
T
createdTimestamp(Date createdTimestamp)
T
delaySeconds(int delaySeconds)
T
fromQueueAttributes(QueueAttributes in)
T
lastModifiedTimestamp(Date lastModifiedTimestamp)
T
maximumMessageSize(int maximumMessageSize)
T
messageRetentionPeriod(int messageRetentionPeriod)
T
queueArn(String queueArn)
T
rawPolicy(String rawPolicy)
protected abstract T
self()
T
visibilityTimeout(int visibilityTimeout)
-
-
-
Field Detail
-
queueArn
protected String queueArn
-
approximateNumberOfMessages
protected long approximateNumberOfMessages
-
approximateNumberOfMessagesNotVisible
protected long approximateNumberOfMessagesNotVisible
-
approximateNumberOfMessagesDelayed
protected long approximateNumberOfMessagesDelayed
-
visibilityTimeout
protected int visibilityTimeout
-
createdTimestamp
protected Date createdTimestamp
-
lastModifiedTimestamp
protected Date lastModifiedTimestamp
-
rawPolicy
protected com.google.common.base.Optional<String> rawPolicy
-
maximumMessageSize
protected int maximumMessageSize
-
messageRetentionPeriod
protected int messageRetentionPeriod
-
delaySeconds
protected int delaySeconds
-
-
Method Detail
-
self
protected abstract T self()
-
queueArn
public T queueArn(String queueArn)
- See Also:
QueueAttributes.getQueueArn()
-
approximateNumberOfMessages
public T approximateNumberOfMessages(long approximateNumberOfMessages)
-
approximateNumberOfMessagesNotVisible
public T approximateNumberOfMessagesNotVisible(long approximateNumberOfMessagesNotVisible)
-
approximateNumberOfMessagesDelayed
public T approximateNumberOfMessagesDelayed(long approximateNumberOfMessagesDelayed)
-
visibilityTimeout
public T visibilityTimeout(int visibilityTimeout)
- See Also:
QueueAttributes.getVisibilityTimeout()
-
createdTimestamp
public T createdTimestamp(Date createdTimestamp)
- See Also:
QueueAttributes.getCreatedTimestamp()
-
rawPolicy
public T rawPolicy(String rawPolicy)
- See Also:
QueueAttributes.getRawPolicy()
-
maximumMessageSize
public T maximumMessageSize(int maximumMessageSize)
- See Also:
QueueAttributes.getMaximumMessageSize()
-
messageRetentionPeriod
public T messageRetentionPeriod(int messageRetentionPeriod)
-
delaySeconds
public T delaySeconds(int delaySeconds)
- See Also:
QueueAttributes.getDelaySeconds()
-
build
public QueueAttributes build()
-
fromQueueAttributes
public T fromQueueAttributes(QueueAttributes in)
-
-