Class QueueConfiguration

    • Constructor Detail

      • 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 Detail

      • 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