Class S3EventSerde
java.lang.Object
io.micronaut.aws.lambda.events.serde.S3EventSerde
- All Implemented Interfaces:
io.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.S3Event>
@Singleton
@Internal
public class S3EventSerde
extends Object
implements io.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.S3Event>
SerdeImport
for S3Event
.- Since:
- 4.0.0
- Author:
- Dan Hollingsworth
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.serde.Deserializer
io.micronaut.serde.Deserializer.DecoderContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull io.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.S3Event>
createSpecific
(io.micronaut.serde.Deserializer.DecoderContext context, @NonNull io.micronaut.core.type.Argument<? super com.amazonaws.services.lambda.runtime.events.S3Event> type) @Nullable com.amazonaws.services.lambda.runtime.events.S3Event
deserialize
(@NonNull io.micronaut.serde.Decoder decoder, io.micronaut.serde.Deserializer.DecoderContext context, @NonNull io.micronaut.core.type.Argument<? super com.amazonaws.services.lambda.runtime.events.S3Event> type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.serde.Deserializer
allowNull, deserializeNullable, getDefaultValue
-
Constructor Details
-
S3EventSerde
public S3EventSerde()
-
-
Method Details
-
createSpecific
@NonNull public @NonNull io.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.S3Event> createSpecific(io.micronaut.serde.Deserializer.DecoderContext context, @NonNull @NonNull io.micronaut.core.type.Argument<? super com.amazonaws.services.lambda.runtime.events.S3Event> type) throws io.micronaut.serde.exceptions.SerdeException - Specified by:
createSpecific
in interfaceio.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.S3Event>
- Throws:
io.micronaut.serde.exceptions.SerdeException
-
deserialize
@Nullable public @Nullable com.amazonaws.services.lambda.runtime.events.S3Event deserialize(@NonNull @NonNull io.micronaut.serde.Decoder decoder, io.micronaut.serde.Deserializer.DecoderContext context, @NonNull @NonNull io.micronaut.core.type.Argument<? super com.amazonaws.services.lambda.runtime.events.S3Event> type) throws IOException - Specified by:
deserialize
in interfaceio.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.S3Event>
- Throws:
IOException
-