Package com.amazonaws.services.s3.model
Class QueueConfiguration
java.lang.Object
com.amazonaws.services.s3.model.NotificationConfiguration
com.amazonaws.services.s3.model.QueueConfiguration
- All Implemented Interfaces:
Serializable
Represents the queue configuration for an Amazon S3 bucket.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQueueConfiguration
(String queueARN, String... events) Creates a new queue configuration with the given queue arn and set of events.QueueConfiguration
(String queueARN, EnumSet<S3Event> events) Creates a new queue configuration with the given queue arn and set of events. -
Method Summary
Modifier and TypeMethodDescriptionReturns the queue arn for this notification configuration.void
setQueueARN
(String queueARN) Sets the queue ARN for this configurationwithQueueARN
(String queueARN) Fluent method to set the queue ARN for this configurationMethods inherited from class com.amazonaws.services.s3.model.NotificationConfiguration
addEvent, addEvent, addObjectPrefix, getEvents, getFilter, getObjectPrefixes, setEvents, setFilter, setObjectPrefixes, withEvents, withFilter, withObjectPrefixes
-
Constructor Details
-
QueueConfiguration
public QueueConfiguration() -
QueueConfiguration
Creates a new queue configuration with the given queue arn and set of events.- Parameters:
queueARN
- the Amazon SQS queue arn to which the notifications are to be sent.events
- the events for which the notifications are to be sent
-
QueueConfiguration
Creates a new queue configuration with the given queue arn and set of events.- Parameters:
queueARN
- the Amazon SQS queue arn to which the notifications are to be sent.events
- the events for which the notifications are to be sent
-
-
Method Details
-
getQueueARN
Returns the queue arn for this notification configuration. -
setQueueARN
Sets the queue ARN for this configuration- Parameters:
queueARN
- ARN for the SQS queue
-
withQueueARN
Fluent method to set the queue ARN for this configuration- Parameters:
queueARN
- ARN for the SQS queue- Returns:
- This object for method chaining
-