Class AwsS3Resource

java.lang.Object
org.flywaydb.core.api.resource.LoadableResource
org.flywaydb.locations.s3.AwsS3Resource
All Implemented Interfaces:
Comparable<org.flywaydb.core.api.resource.LoadableResource>, org.flywaydb.core.api.resource.Resource

public class AwsS3Resource extends org.flywaydb.core.api.resource.LoadableResource
  • Constructor Details

    • AwsS3Resource

      public AwsS3Resource(String bucketName, software.amazon.awssdk.services.s3.model.S3Object s3ObjectSummary, Charset encoding)
  • Method Details

    • read

      public Reader read()
      Specified by:
      read in class org.flywaydb.core.api.resource.LoadableResource
    • getAbsolutePath

      public String getAbsolutePath()
    • getAbsolutePathOnDisk

      public String getAbsolutePathOnDisk()
    • getFilename

      public String getFilename()
      Returns:
      The filename of this resource, without the path.
    • getRelativePath

      public String getRelativePath()