Class DefaultS3EventNotificationWriter
- java.lang.Object
-
- software.amazon.awssdk.eventnotifications.s3.internal.DefaultS3EventNotificationWriter
-
- All Implemented Interfaces:
S3EventNotificationWriter,ToCopyableBuilder<S3EventNotificationWriter.Builder,S3EventNotificationWriter>
public final class DefaultS3EventNotificationWriter extends Object implements S3EventNotificationWriter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultS3EventNotificationWriter.DefaultBuilder-
Nested classes/interfaces inherited from interface software.amazon.awssdk.eventnotifications.s3.internal.S3EventNotificationWriter
S3EventNotificationWriter.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3EventNotificationWriter.Builderbuilder()static S3EventNotificationWritercreate()DefaultS3EventNotificationWriter.DefaultBuildertoBuilder()StringwriteToString(S3EventNotification event)Write an event to json string.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
writeToString
public String writeToString(S3EventNotification event)
Description copied from interface:S3EventNotificationWriterWrite an event to json string. Null field will be included as null.- Specified by:
writeToStringin interfaceS3EventNotificationWriter- Parameters:
event- to event to convert to json.- Returns:
- the json representation of the event.
-
create
public static S3EventNotificationWriter create()
-
toBuilder
public DefaultS3EventNotificationWriter.DefaultBuilder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3EventNotificationWriter.Builder,S3EventNotificationWriter>
-
builder
public static S3EventNotificationWriter.Builder builder()
-
-