Class ArgumentsToDeleteObjectsRequestConverter

java.lang.Object
cn.herodotus.oss.dialect.s3.definition.arguments.ArgumentsToBaseConverter<S,T>
cn.herodotus.oss.dialect.s3.definition.arguments.ArgumentsToBucketConverter<cn.herodotus.oss.specification.arguments.object.DeleteObjectsArguments,com.amazonaws.services.s3.model.DeleteObjectsRequest>
cn.herodotus.oss.dialect.s3.converter.arguments.ArgumentsToDeleteObjectsRequestConverter
All Implemented Interfaces:
cn.herodotus.oss.specification.core.converter.OssConverter<cn.herodotus.oss.specification.arguments.object.DeleteObjectsArguments,com.amazonaws.services.s3.model.DeleteObjectsRequest>, org.springframework.core.convert.converter.Converter<cn.herodotus.oss.specification.arguments.object.DeleteObjectsArguments,com.amazonaws.services.s3.model.DeleteObjectsRequest>

public class ArgumentsToDeleteObjectsRequestConverter extends ArgumentsToBucketConverter<cn.herodotus.oss.specification.arguments.object.DeleteObjectsArguments,com.amazonaws.services.s3.model.DeleteObjectsRequest>

Description: 统一定义 DeleteObjectsArguments 转 S3 DeleteObjectsRequest 转换器

Author:
: gengwei.zheng
Date:
: 2023/7/28 19:59
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.amazonaws.services.s3.model.DeleteObjectsRequest
    getInstance(cn.herodotus.oss.specification.arguments.object.DeleteObjectsArguments arguments)
     
    void
    prepare(cn.herodotus.oss.specification.arguments.object.DeleteObjectsArguments arguments, com.amazonaws.services.s3.model.DeleteObjectsRequest request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.core.convert.converter.Converter

    andThen

    Methods inherited from interface cn.herodotus.oss.specification.core.converter.OssConverter

    convert
  • Constructor Details

    • ArgumentsToDeleteObjectsRequestConverter

      public ArgumentsToDeleteObjectsRequestConverter()
  • Method Details

    • prepare

      public void prepare(cn.herodotus.oss.specification.arguments.object.DeleteObjectsArguments arguments, com.amazonaws.services.s3.model.DeleteObjectsRequest request)
      Specified by:
      prepare in interface cn.herodotus.oss.specification.core.converter.OssConverter<cn.herodotus.oss.specification.arguments.object.DeleteObjectsArguments,com.amazonaws.services.s3.model.DeleteObjectsRequest>
      Overrides:
      prepare in class ArgumentsToBaseConverter<cn.herodotus.oss.specification.arguments.object.DeleteObjectsArguments,com.amazonaws.services.s3.model.DeleteObjectsRequest>
    • getInstance

      public com.amazonaws.services.s3.model.DeleteObjectsRequest getInstance(cn.herodotus.oss.specification.arguments.object.DeleteObjectsArguments arguments)