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 longapproximateNumberOfMessagesprotected longapproximateNumberOfMessagesDelayedprotected longapproximateNumberOfMessagesNotVisibleprotected DatecreatedTimestampprotected intdelaySecondsprotected DatelastModifiedTimestampprotected intmaximumMessageSizeprotected intmessageRetentionPeriodprotected StringqueueArnprotected com.google.common.base.Optional<String>rawPolicyprotected intvisibilityTimeout
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TapproximateNumberOfMessages(long approximateNumberOfMessages)TapproximateNumberOfMessagesDelayed(long approximateNumberOfMessagesDelayed)TapproximateNumberOfMessagesNotVisible(long approximateNumberOfMessagesNotVisible)QueueAttributesbuild()TcreatedTimestamp(Date createdTimestamp)TdelaySeconds(int delaySeconds)TfromQueueAttributes(QueueAttributes in)TlastModifiedTimestamp(Date lastModifiedTimestamp)TmaximumMessageSize(int maximumMessageSize)TmessageRetentionPeriod(int messageRetentionPeriod)TqueueArn(String queueArn)TrawPolicy(String rawPolicy)protected abstract Tself()TvisibilityTimeout(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)
-
-