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
Modifier and TypeClassDescriptionstatic final class
Nested classes/interfaces inherited from interface software.amazon.awssdk.eventnotifications.s3.internal.S3EventNotificationWriter
S3EventNotificationWriter.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static S3EventNotificationWriter
create()
Take this object and create a builder that contains all of the current property values of this object.writeToString
(S3EventNotification event) Write an event to json string.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
writeToString
Description copied from interface:S3EventNotificationWriter
Write an event to json string. Null field will be included as null.- Specified by:
writeToString
in interfaceS3EventNotificationWriter
- Parameters:
event
- to event to convert to json.- Returns:
- the json representation of the event.
-
create
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<S3EventNotificationWriter.Builder,
S3EventNotificationWriter> - Returns:
- a builder for type T
-
builder
-