Interface S3EventNotificationWriter
-
- All Superinterfaces:
ToCopyableBuilder<S3EventNotificationWriter.Builder,S3EventNotificationWriter>
- All Known Implementing Classes:
DefaultS3EventNotificationWriter
public interface S3EventNotificationWriter extends ToCopyableBuilder<S3EventNotificationWriter.Builder,S3EventNotificationWriter>
Converts aS3EventNotification
to json.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
S3EventNotificationWriter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static S3EventNotificationWriter.Builder
builder()
static S3EventNotificationWriter
create()
String
writeToString(S3EventNotification event)
Write an event to json string.-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy, toBuilder
-
-
-
-
Method Detail
-
writeToString
String writeToString(S3EventNotification event)
Write an event to json string. Null field will be included as null.- Parameters:
event
- to event to convert to json.- Returns:
- the json representation of the event.
-
create
static S3EventNotificationWriter create()
-
builder
static S3EventNotificationWriter.Builder builder()
-
-