Class GetObjectList

java.lang.Object
org.cdlib.mrt.s3v2.action.GetObjectList

public class GetObjectList extends Object
Before running this Java V2 code example, set up your development environment, including your credentials.

For more information, see the following documentation topic:

https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/get-started.html

  • Field Details

    • logger

      protected static final org.apache.logging.log4j.Logger logger
  • Constructor Details

    • GetObjectList

      public GetObjectList()
  • Method Details

    • main

      public static void main(String[] args) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_aws_prefix_single

      public static void test_aws_prefix_single() throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_aws_prefix

      public static void test_aws_prefix() throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_aws_after

      public static void test_aws_after() throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • awsListPrefix

      public static void awsListPrefix(software.amazon.awssdk.services.s3.S3Client s3Client, String bucketName, String prefix, int maxEntries, CloudResponse response) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • awsListAfter

      public static void awsListAfter(software.amazon.awssdk.services.s3.S3Client s3Client, String bucketName, String startAfter, int maxEntries, CloudResponse response) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • s3ObjectToCloudEntry

      public static org.cdlib.mrt.cloud.CloudList.CloudEntry s3ObjectToCloudEntry(String bucketName, software.amazon.awssdk.services.s3.model.S3Object s3Object) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException