Package org.jclouds.sqs.domain
Class QueueAttributes
- java.lang.Object
-
- org.jclouds.sqs.domain.QueueAttributes
-
public class QueueAttributes extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueueAttributes.Builder<T extends QueueAttributes.Builder<T>>
-
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 Modifier Constructor 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 Jsonint
getVisibilityTimeout()
int
hashCode()
QueueAttributes.Builder<?>
toBuilder()
String
toString()
-
-
-
Field Detail
-
approximateNumberOfMessages
protected final long approximateNumberOfMessages
-
approximateNumberOfMessagesNotVisible
protected final long approximateNumberOfMessagesNotVisible
-
visibilityTimeout
protected final int visibilityTimeout
-
createdTimestamp
protected final Date createdTimestamp
-
lastModifiedTimestamp
protected final Date lastModifiedTimestamp
-
approximateNumberOfMessagesDelayed
protected final long approximateNumberOfMessagesDelayed
-
rawPolicy
protected final com.google.common.base.Optional<String> rawPolicy
-
maximumMessageSize
protected final int maximumMessageSize
-
messageRetentionPeriod
protected final int messageRetentionPeriod
-
queueArn
protected final String queueArn
-
delaySeconds
protected int delaySeconds
-
-
Constructor Detail
-
QueueAttributes
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)
-
-
Method Detail
-
builder
public static QueueAttributes.Builder<?> builder()
-
toBuilder
public QueueAttributes.Builder<?> toBuilder()
-
getQueueArn
public String getQueueArn()
- See Also:
Attribute.QUEUE_ARN
-
getApproximateNumberOfMessages
public long getApproximateNumberOfMessages()
- See Also:
Attribute.APPROXIMATE_NUMBER_OF_MESSAGES
-
getApproximateNumberOfMessagesNotVisible
public long getApproximateNumberOfMessagesNotVisible()
-
getApproximateNumberOfMessagesDelayed
public long getApproximateNumberOfMessagesDelayed()
-
getVisibilityTimeout
public int getVisibilityTimeout()
- See Also:
Attribute.VISIBILITY_TIMEOUT
-
getCreatedTimestamp
public Date getCreatedTimestamp()
- See Also:
Attribute.CREATED_TIMESTAMP
-
getLastModifiedTimestamp
public Date getLastModifiedTimestamp()
- See Also:
Attribute.LAST_MODIFIED_TIMESTAMP
-
getRawPolicy
public com.google.common.base.Optional<String> getRawPolicy()
Note this is in raw Json- See Also:
Attribute.POLICY
-
getMaximumMessageSize
public int getMaximumMessageSize()
- See Also:
Attribute.MAXIMUM_MESSAGE_SIZE
-
getMessageRetentionPeriod
public int getMessageRetentionPeriod()
- See Also:
Attribute.MESSAGE_RETENTION_PERIOD
-
getDelaySeconds
public int getDelaySeconds()
- See Also:
Attribute.DELAY_SECONDS
-
-