Class DefaultS3EventNotificationWriter
java.lang.Object
software.amazon.awssdk.eventnotifications.s3.internal.DefaultS3EventNotificationWriter
- All Implemented Interfaces:
S3EventNotificationWriter,ToCopyableBuilder<S3EventNotificationWriter.Builder,S3EventNotificationWriter>
@SdkInternalApi
public final class DefaultS3EventNotificationWriter
extends Object
implements S3EventNotificationWriter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from interface software.amazon.awssdk.eventnotifications.s3.internal.S3EventNotificationWriter
S3EventNotificationWriter.Builder -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static S3EventNotificationWritercreate()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, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
writeToString
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
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<S3EventNotificationWriter.Builder,S3EventNotificationWriter> - Returns:
- a builder for type T
-
builder
-