Class TestPutObjectAll

java.lang.Object
org.cdlib.mrt.s3v2.test.TestPutObjectAll

public class TestPutObjectAll 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

  • Constructor Details

    • TestPutObjectAll

      public TestPutObjectAll()
  • Method Details

    • main

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

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

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

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

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

      public static void test_sdsc_uploadFileAsync(String filePath, String key, String sha256) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_sdsc_putS3Object

      public static void test_sdsc_putS3Object(String filePath, String key, String sha256) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_minio_uploadFileAsync

      public static void test_minio_uploadFileAsync(String filePath, String key, String sha256) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_minio_putS3Object

      public static void test_minio_putS3Object(String filePath, String key, String sha256) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_temp_uploadFileAsync

      public static void test_temp_uploadFileAsync(String filePath, String key, String sha256) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_temp_putS3Object

      public static void test_temp_putS3Object(String filePath, String key, String sha256) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • getHeadResponse

      public static software.amazon.awssdk.services.s3.model.HeadObjectResponse getHeadResponse(software.amazon.awssdk.services.s3.S3Client s3, String bucketName, String keyName) throws org.cdlib.mrt.utility.TException
      Lists the tags associated with an Amazon S3 object.
      Parameters:
      s3 - the S3Client object used to interact with the Amazon S3 service
      bucketName - the name of the S3 bucket that contains the object
      keyName - the key (name) of the S3 object
      Throws:
      org.cdlib.mrt.utility.TException
    • getObjectMeta

      public Properties getObjectMeta(software.amazon.awssdk.services.s3.S3Client s3, String bucketName, String key) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • addProp

      protected static void addProp(Properties prop, String key, String value)