Class AwsS3Object

java.lang.Object
ru.tinkoff.kora.s3.client.aws.AwsS3Object
All Implemented Interfaces:
ru.tinkoff.kora.s3.client.model.S3Object, ru.tinkoff.kora.s3.client.model.S3ObjectMeta

@Experimental @Internal public final class AwsS3Object extends Object implements ru.tinkoff.kora.s3.client.model.S3Object, ru.tinkoff.kora.s3.client.model.S3ObjectMeta
  • Constructor Summary

    Constructors
    Constructor
    Description
    AwsS3Object(String key, software.amazon.awssdk.core.async.ResponsePublisher<software.amazon.awssdk.services.s3.model.GetObjectResponse> response)
     
    AwsS3Object(String key, software.amazon.awssdk.core.ResponseInputStream<software.amazon.awssdk.services.s3.model.GetObjectResponse> response)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ru.tinkoff.kora.s3.client.model.S3Body
     
    boolean
    equals(Object object)
     
    int
     
    key()
     
     
    software.amazon.awssdk.services.s3.model.GetObjectResponse
     
    long
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AwsS3Object

      public AwsS3Object(String key, software.amazon.awssdk.core.ResponseInputStream<software.amazon.awssdk.services.s3.model.GetObjectResponse> response)
    • AwsS3Object

      public AwsS3Object(String key, software.amazon.awssdk.core.async.ResponsePublisher<software.amazon.awssdk.services.s3.model.GetObjectResponse> response)
  • Method Details

    • key

      public String key()
      Specified by:
      key in interface ru.tinkoff.kora.s3.client.model.S3Object
      Specified by:
      key in interface ru.tinkoff.kora.s3.client.model.S3ObjectMeta
    • modified

      public Instant modified()
      Specified by:
      modified in interface ru.tinkoff.kora.s3.client.model.S3Object
      Specified by:
      modified in interface ru.tinkoff.kora.s3.client.model.S3ObjectMeta
    • size

      public long size()
      Specified by:
      size in interface ru.tinkoff.kora.s3.client.model.S3Object
      Specified by:
      size in interface ru.tinkoff.kora.s3.client.model.S3ObjectMeta
    • body

      public ru.tinkoff.kora.s3.client.model.S3Body body()
      Specified by:
      body in interface ru.tinkoff.kora.s3.client.model.S3Object
    • response

      public software.amazon.awssdk.services.s3.model.GetObjectResponse response()
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object