public class

NotificationConfiguration

extends Object
implements Serializable
java.lang.Object
   ↳ org.mule.module.s3.model.NotificationConfiguration
Known Direct Subclasses

Summary

Constants
long serialVersionUID
Fields
private Set<String> events Set of events for a notification configuration.
private List<String> objectPrefixes A collection of Amazon S3 Object prefixes associated with this notification configuration.
Public Constructors
NotificationConfiguration(String... events)
Creates a notification configuration with the given set of events.
Public Methods
void addEvent(String event)
Adds the given event to the set of events for this NotificationConfiguration object.
void addObjectPrefix(String prefix)
Adds the given prefix to the list of prefix for this NotificationConfiguration object.
Set<String> getEvents()
Returns the set of events associated with this notification configuration.
List<String> getObjectPrefixes()
Retuns the list of Amazon S3 object prefixes for this notification configuration.
void setEvents(Set<String> events)
Sets the given events in this NotificationConfiguration object.
void setObjectPrefixes(List<String> objectPrefixes)
Sets the given prefixes in this NotificationConfiguration object.
NotificationConfiguration withEvents(Set<String> events)
Sets the given events in this NotificationConfiguration object and returns this object.
NotificationConfiguration withObjectPrefixes(String... objectPrefixes)
Sets the given prefixes in this NotificationConfiguration object and returns this object.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -6529514242605481475 (0xa562816425a581fd)

Fields

private Set<String> events

Set of events for a notification configuration.

private List<String> objectPrefixes

A collection of Amazon S3 Object prefixes associated with this notification configuration.

Public Constructors

public NotificationConfiguration (String... events)

Creates a notification configuration with the given set of events.

Parameters
events The list of events for the notification configuration.

Public Methods

public void addEvent (String event)

Adds the given event to the set of events for this NotificationConfiguration object.

Parameters
event The event to add to this notification configuration

public void addObjectPrefix (String prefix)

Adds the given prefix to the list of prefix for this NotificationConfiguration object.

Parameters
prefix The prefix to add to this notification configuration

public Set<String> getEvents ()

Returns the set of events associated with this notification configuration.

public List<String> getObjectPrefixes ()

Retuns the list of Amazon S3 object prefixes for this notification configuration.

public void setEvents (Set<String> events)

Sets the given events in this NotificationConfiguration object.

Parameters
events The set of events for the notification configuration.

public void setObjectPrefixes (List<String> objectPrefixes)

Sets the given prefixes in this NotificationConfiguration object.

Parameters
objectPrefixes The list of prefixes for the notification configuration.

public NotificationConfiguration withEvents (Set<String> events)

Sets the given events in this NotificationConfiguration object and returns this object.

Parameters
events The set of events for the notification configuration.

public NotificationConfiguration withObjectPrefixes (String... objectPrefixes)

Sets the given prefixes in this NotificationConfiguration object and returns this object.

Parameters
objectPrefixes The list of prefixes for the notification configuration.