Class S3ObjectEntitySerde

java.lang.Object
io.micronaut.aws.lambda.events.serde.S3ObjectEntitySerde
All Implemented Interfaces:
io.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity>

@Internal @Singleton public class S3ObjectEntitySerde extends Object implements io.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity>
This seems to be necessary because Serde was not picking the appropriate constructor {@link com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity(String, Long, String, String, String)}.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.serde.Deserializer

    io.micronaut.serde.Deserializer.DecoderContext
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull io.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity>
    createSpecific(io.micronaut.serde.Deserializer.DecoderContext context, @NonNull io.micronaut.core.type.Argument<? super com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity> type)
     
    com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity
    deserialize(@NonNull io.micronaut.serde.Decoder decoder, @NonNull io.micronaut.serde.Deserializer.DecoderContext context, @NonNull io.micronaut.core.type.Argument<? super com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity> 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

    • S3ObjectEntitySerde

      public S3ObjectEntitySerde()
  • Method Details

    • createSpecific

      @NonNull public @NonNull io.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity> createSpecific(io.micronaut.serde.Deserializer.DecoderContext context, @NonNull @NonNull io.micronaut.core.type.Argument<? super com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity> type) throws io.micronaut.serde.exceptions.SerdeException
      Specified by:
      createSpecific in interface io.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity>
      Throws:
      io.micronaut.serde.exceptions.SerdeException
    • deserialize

      @Nullable public com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity deserialize(@NonNull @NonNull io.micronaut.serde.Decoder decoder, @NonNull @NonNull io.micronaut.serde.Deserializer.DecoderContext context, @NonNull @NonNull io.micronaut.core.type.Argument<? super com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity> type) throws IOException
      Specified by:
      deserialize in interface io.micronaut.serde.Deserializer<com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification.S3ObjectEntity>
      Throws:
      IOException