Package org.cdlib.mrt.s3v2.test
Class TestAWSPut
java.lang.Object
org.cdlib.mrt.s3v2.test.TestAWSPut
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic V2Client
static V2Client
static V2Client
static V2Client
static void
static void
static void
test_minio
(NodeIO nodeIO, org.cdlib.mrt.utility.LoggerInf logger) static void
testClient
(String header, CloudStoreInf client, String bucketName, String key, String contentType, String contentDisposition)
-
Field Details
-
s3Client
protected software.amazon.awssdk.services.s3.S3AsyncClient s3Client -
getSSM
-
-
Constructor Details
-
TestAWSPut
public TestAWSPut()
-
-
Method Details
-
main
- Throws:
org.cdlib.mrt.utility.TException
-
test_aws
public static void test_aws(NodeIO nodeIO, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
test_minio
public static void test_minio(NodeIO nodeIO, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
testClient
public static void testClient(String header, CloudStoreInf client, String bucketName, String key, String contentType, String contentDisposition) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getClientWasabi
- Throws:
org.cdlib.mrt.utility.TException
-
getClientMinio
- Throws:
org.cdlib.mrt.utility.TException
-
getClientSDSC
- Throws:
org.cdlib.mrt.utility.TException
-
getClientAWS
- Throws:
org.cdlib.mrt.utility.TException
-