Package org.cdlib.mrt.s3v2.action
Class GetObjectList
java.lang.Object
org.cdlib.mrt.s3v2.action.GetObjectList
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 voidawsListAfter(software.amazon.awssdk.services.s3.S3Client s3Client, String bucketName, String startAfter, int maxEntries, CloudResponse response) static voidawsListPrefix(software.amazon.awssdk.services.s3.S3Client s3Client, String bucketName, String prefix, int maxEntries, CloudResponse response) static voidstatic org.cdlib.mrt.cloud.CloudList.CloudEntrys3ObjectToCloudEntry(String bucketName, software.amazon.awssdk.services.s3.model.S3Object s3Object) static voidstatic voidstatic void
-
Field Details
-
logger
protected static final org.apache.logging.log4j.Logger logger
-
-
Constructor Details
-
GetObjectList
public GetObjectList()
-
-
Method Details
-
main
- 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
-