public class QueueConfiguration extends NotificationConfiguration implements Serializable
Constructor and Description |
---|
QueueConfiguration() |
QueueConfiguration(String queueARN,
EnumSet<S3Event> events)
Creates a new queue configuration with the given queue arn and set of events.
|
QueueConfiguration(String queueARN,
String... events)
Creates a new queue configuration with the given queue arn and set of events.
|
Modifier and Type | Method and Description |
---|---|
String |
getQueueARN()
Returns the queue arn for this notification configuration.
|
void |
setQueueARN(String queueARN)
Sets the queue ARN for this configuration
|
QueueConfiguration |
withQueueARN(String queueARN)
Fluent method to set the queue ARN for this configuration
|
addEvent, addEvent, addObjectPrefix, getEvents, getFilter, getObjectPrefixes, setEvents, setFilter, setObjectPrefixes, withEvents, withFilter, withObjectPrefixes
public QueueConfiguration()
public QueueConfiguration(String queueARN, EnumSet<S3Event> events)
queueARN
- the Amazon SQS queue arn to which the notifications are to be sent.events
- the events for which the notifications are to be sentpublic QueueConfiguration(String queueARN, String... events)
queueARN
- the Amazon SQS queue arn to which the notifications are to be sent.events
- the events for which the notifications are to be sentpublic String getQueueARN()
public void setQueueARN(String queueARN)
queueARN
- ARN for the SQS queuepublic QueueConfiguration withQueueARN(String queueARN)
queueARN
- ARN for the SQS queueCopyright © 2018. All rights reserved.