public class QueueAttributes extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QueueAttributes.Builder<T extends QueueAttributes.Builder<T>> |
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 |
Modifier | Constructor and Description |
---|---|
protected |
QueueAttributes(String queueArn,
long approximateNumberOfMessages,
long approximateNumberOfMessagesNotVisible,
long approximateNumberOfMessagesDelayed,
int visibilityTimeout,
Date createdTimestamp,
Date lastModifiedTimestamp,
com.google.common.base.Optional<String> rawPolicy,
int maximumMessageSize,
int messageRetentionPeriod,
int delaySeconds) |
Modifier and Type | Method and Description |
---|---|
static QueueAttributes.Builder<?> |
builder() |
boolean |
equals(Object obj) |
long |
getApproximateNumberOfMessages() |
long |
getApproximateNumberOfMessagesDelayed() |
long |
getApproximateNumberOfMessagesNotVisible() |
Date |
getCreatedTimestamp() |
int |
getDelaySeconds() |
Date |
getLastModifiedTimestamp() |
int |
getMaximumMessageSize() |
int |
getMessageRetentionPeriod() |
String |
getQueueArn() |
com.google.common.base.Optional<String> |
getRawPolicy()
Note this is in raw Json
|
int |
getVisibilityTimeout() |
int |
hashCode() |
QueueAttributes.Builder<?> |
toBuilder() |
String |
toString() |
protected final long approximateNumberOfMessages
protected final long approximateNumberOfMessagesNotVisible
protected final int visibilityTimeout
protected final Date createdTimestamp
protected final Date lastModifiedTimestamp
protected final long approximateNumberOfMessagesDelayed
protected final com.google.common.base.Optional<String> rawPolicy
protected final int maximumMessageSize
protected final int messageRetentionPeriod
protected final String queueArn
protected int delaySeconds
protected QueueAttributes(String queueArn, long approximateNumberOfMessages, long approximateNumberOfMessagesNotVisible, long approximateNumberOfMessagesDelayed, int visibilityTimeout, Date createdTimestamp, Date lastModifiedTimestamp, com.google.common.base.Optional<String> rawPolicy, int maximumMessageSize, int messageRetentionPeriod, int delaySeconds)
public static QueueAttributes.Builder<?> builder()
public QueueAttributes.Builder<?> toBuilder()
public String getQueueArn()
Attribute.QUEUE_ARN
public long getApproximateNumberOfMessages()
public long getApproximateNumberOfMessagesNotVisible()
public long getApproximateNumberOfMessagesDelayed()
public int getVisibilityTimeout()
Attribute.VISIBILITY_TIMEOUT
public Date getCreatedTimestamp()
Attribute.CREATED_TIMESTAMP
public Date getLastModifiedTimestamp()
Attribute.LAST_MODIFIED_TIMESTAMP
public com.google.common.base.Optional<String> getRawPolicy()
Attribute.POLICY
public int getMaximumMessageSize()
Attribute.MAXIMUM_MESSAGE_SIZE
public int getMessageRetentionPeriod()
Attribute.MESSAGE_RETENTION_PERIOD
public int getDelaySeconds()
Attribute.DELAY_SECONDS
Copyright © 2009-2013 jclouds. All Rights Reserved.