Package | Description |
---|---|
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
com.amazonaws.services.s3.model.transform |
Modifier and Type | Class and Description |
---|---|
static class |
BucketNotificationConfiguration.TopicConfiguration
Deprecated.
Use
TopicConfiguration
instead |
class |
CloudFunctionConfiguration
Deprecated.
use
LambdaConfiguration instead |
class |
LambdaConfiguration
Represents the lambda configuration for an Amazon S3 bucket notification.
|
class |
QueueConfiguration
Represents the queue configuration for an Amazon S3 bucket.
|
class |
TopicConfiguration
Represents the topic configuration for an Amazon S3 bucket.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,NotificationConfiguration> |
BucketNotificationConfiguration.configurations |
Modifier and Type | Method and Description |
---|---|
NotificationConfiguration |
BucketNotificationConfiguration.getConfigurationByName(java.lang.String name)
Returns the notification configuration for the given name.
|
NotificationConfiguration |
BucketNotificationConfiguration.removeConfiguration(java.lang.String name)
Removes the notification configuration for the given name in the
BucketNotificationConfiguration object. |
NotificationConfiguration |
NotificationConfiguration.withEvents(java.util.Set<java.lang.String> events)
Sets the given events in this
NotificationConfiguration object and returns this
object. |
NotificationConfiguration |
NotificationConfiguration.withFilter(Filter filter)
Sets the filter criteria for this
NotificationConfiguration and returns this object
for method chaining. |
NotificationConfiguration |
NotificationConfiguration.withObjectPrefixes(java.lang.String... objectPrefixes)
Deprecated.
This field is not used by S3. It will be removed in the next major version of the
SDK. See
withFilter(Filter) for the correct way to filter notifications. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,NotificationConfiguration> |
BucketNotificationConfiguration.getConfigurations()
Returns all the notification configurations associated with the Amazon S3
bucket.
|
Modifier and Type | Method and Description |
---|---|
BucketNotificationConfiguration |
BucketNotificationConfiguration.addConfiguration(java.lang.String name,
NotificationConfiguration notificationConfiguration)
Adds the given notification configuration to the
BucketNotificationConfiguration object |
Modifier and Type | Method and Description |
---|---|
void |
BucketNotificationConfiguration.setConfigurations(java.util.Map<java.lang.String,NotificationConfiguration> configurations)
Sets the given notification configurations in this
BucketNotificationConfiguration object. |
BucketNotificationConfiguration |
BucketNotificationConfiguration.withNotificationConfiguration(java.util.Map<java.lang.String,NotificationConfiguration> notificationConfiguration)
Sets the given notification configurations and returns this object.
|
Constructor and Description |
---|
BucketNotificationConfiguration(java.lang.String name,
NotificationConfiguration notificationConfiguration)
Creates a new bucket notification configuration with the given configuration.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
NotificationConfigurationStaxUnmarshaller<T extends NotificationConfiguration>
Base class for unmarshalling into subclasses of
NotificationConfiguration . |
Modifier and Type | Method and Description |
---|---|
private java.util.Map.Entry<java.lang.String,NotificationConfiguration> |
LambdaConfigurationStaxUnmarshaller.createLambdaConfig(java.lang.String id,
java.util.List<java.lang.String> events,
java.lang.String functionArn,
java.lang.String invocationRole,
Filter filter) |
java.util.Map.Entry<java.lang.String,NotificationConfiguration> |
NotificationConfigurationStaxUnmarshaller.unmarshall(StaxUnmarshallerContext context)
Id (aka configuration name) isn't modeled on the actual
NotificationConfiguration
class but as the key name in the map of configurations in
BucketNotificationConfiguration |
java.util.Map.Entry<java.lang.String,NotificationConfiguration> |
LambdaConfigurationStaxUnmarshaller.unmarshall(StaxUnmarshallerContext context) |
Modifier and Type | Method and Description |
---|---|
private void |
BucketConfigurationXmlFactory.addEventsAndFilterCriteria(XmlWriter xml,
NotificationConfiguration config) |