public class QueueConfiguration extends NotificationConfiguration implements java.io.Serializable
Constructor and Description |
---|
QueueConfiguration() |
QueueConfiguration(java.lang.String queueARN,
java.util.EnumSet<S3Event> events)
Creates a new queue configuration with the given queue arn and set of events.
|
QueueConfiguration(java.lang.String queueARN,
java.lang.String... events)
Creates a new queue configuration with the given queue arn and set of events.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getQueueARN()
Returns the queue arn for this notification configuration.
|
void |
setQueueARN(java.lang.String queueARN)
Sets the queue ARN for this configuration
|
QueueConfiguration |
withQueueARN(java.lang.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(java.lang.String queueARN, java.util.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(java.lang.String queueARN, java.lang.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 java.lang.String getQueueARN()
public void setQueueARN(java.lang.String queueARN)
queueARN
- ARN for the SQS queuepublic QueueConfiguration withQueueARN(java.lang.String queueARN)
queueARN
- ARN for the SQS queueCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.