Package | Description |
---|---|
com.ibm.cloud.objectstorage.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
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 | Method and Description |
---|---|
NotificationConfiguration |
BucketNotificationConfiguration.getConfigurationByName(String name)
Returns the notification configuration for the given name.
|
NotificationConfiguration |
BucketNotificationConfiguration.removeConfiguration(String name)
Removes the notification configuration for the given name in the
BucketNotificationConfiguration object. |
NotificationConfiguration |
NotificationConfiguration.withEvents(Set<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(String... objectPrefixes)
Deprecated.
This field is not used by S3. It will be removed in the next major version of the
SDK. See
NotificationConfiguration.withFilter(Filter) for the correct way to filter notifications. |
Modifier and Type | Method and Description |
---|---|
Map<String,NotificationConfiguration> |
BucketNotificationConfiguration.getConfigurations()
Returns all the notification configurations associated with the Amazon S3
bucket.
|
Modifier and Type | Method and Description |
---|---|
BucketNotificationConfiguration |
BucketNotificationConfiguration.addConfiguration(String name,
NotificationConfiguration notificationConfiguration)
Adds the given notification configuration to the
BucketNotificationConfiguration object |
Modifier and Type | Method and Description |
---|---|
void |
BucketNotificationConfiguration.setConfigurations(Map<String,NotificationConfiguration> configurations)
Sets the given notification configurations in this
BucketNotificationConfiguration object. |
BucketNotificationConfiguration |
BucketNotificationConfiguration.withNotificationConfiguration(Map<String,NotificationConfiguration> notificationConfiguration)
Sets the given notification configurations and returns this object.
|
Constructor and Description |
---|
BucketNotificationConfiguration(String name,
NotificationConfiguration notificationConfiguration)
Creates a new bucket notification configuration with the given configuration.
|
Copyright © 2024. All rights reserved.