public abstract static class QueueAttributes.Builder<T extends QueueAttributes.Builder<T>> extends Object
Modifier and Type | Field and 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 and Description |
---|
QueueAttributes.Builder() |
Modifier and Type | Method and 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) |
protected String queueArn
protected long approximateNumberOfMessages
protected long approximateNumberOfMessagesNotVisible
protected long approximateNumberOfMessagesDelayed
protected int visibilityTimeout
protected Date createdTimestamp
protected Date lastModifiedTimestamp
protected com.google.common.base.Optional<String> rawPolicy
protected int maximumMessageSize
protected int messageRetentionPeriod
protected int delaySeconds
protected abstract T self()
public T queueArn(String queueArn)
QueueAttributes.getQueueArn()
public T approximateNumberOfMessages(long approximateNumberOfMessages)
public T approximateNumberOfMessagesNotVisible(long approximateNumberOfMessagesNotVisible)
public T approximateNumberOfMessagesDelayed(long approximateNumberOfMessagesDelayed)
public T visibilityTimeout(int visibilityTimeout)
public T rawPolicy(String rawPolicy)
QueueAttributes.getRawPolicy()
public T maximumMessageSize(int maximumMessageSize)
public T messageRetentionPeriod(int messageRetentionPeriod)
public T delaySeconds(int delaySeconds)
QueueAttributes.getDelaySeconds()
public QueueAttributes build()
public T fromQueueAttributes(QueueAttributes in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.