public static final class NotificationKeyFilter.Builder
extends java.lang.Object
NotificationKeyFilter
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NotificationKeyFilter |
build()
Builds the configured instance.
|
NotificationKeyFilter.Builder |
prefix(java.lang.String prefix)
Sets the value of
NotificationKeyFilter.getPrefix() |
NotificationKeyFilter.Builder |
suffix(java.lang.String suffix)
Sets the value of
NotificationKeyFilter.getSuffix() |
public NotificationKeyFilter.Builder prefix(java.lang.String prefix)
NotificationKeyFilter.getPrefix()
prefix
- S3 keys must have the specified prefix.this
public NotificationKeyFilter.Builder suffix(java.lang.String suffix)
NotificationKeyFilter.getSuffix()
suffix
- S3 keys must have the specified suffix.this
public NotificationKeyFilter build()
NotificationKeyFilter
java.lang.NullPointerException
- if any required attribute was not provided