Class QueueConfiguration

java.lang.Object
com.amazonaws.services.s3.model.NotificationConfiguration
com.amazonaws.services.s3.model.QueueConfiguration
All Implemented Interfaces:
Serializable

public class QueueConfiguration extends NotificationConfiguration implements Serializable
Represents the queue configuration for an Amazon S3 bucket.
See Also:
  • Constructor Details

    • QueueConfiguration

      public QueueConfiguration()
    • QueueConfiguration

      public QueueConfiguration(String queueARN, EnumSet<S3Event> events)
      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

      public QueueConfiguration(String queueARN, String... events)
      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

      public String getQueueARN()
      Returns the queue arn for this notification configuration.
    • setQueueARN

      public void setQueueARN(String queueARN)
      Sets the queue ARN for this configuration
      Parameters:
      queueARN - ARN for the SQS queue
    • withQueueARN

      public QueueConfiguration withQueueARN(String queueARN)
      Fluent method to set the queue ARN for this configuration
      Parameters:
      queueARN - ARN for the SQS queue
      Returns:
      This object for method chaining