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.voidsetQueueARN(String queueARN) Sets the queue ARN for this configurationwithQueueARN(String queueARN) Fluent method to set the queue ARN for this configurationMethods inherited from class NotificationConfiguration
addEvent, addEvent, addObjectPrefix, getEvents, getFilter, getObjectPrefixes, setEvents, setFilter, setObjectPrefixes, withEvents, withFilter, withObjectPrefixes
-
Constructor Details
-
QueueConfiguration
public QueueConfiguration() -
QueueConfiguration
-
QueueConfiguration
-
-
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
-