Package org.cdlib.mrt.s3v2.action
Class DeleteObjectData
java.lang.Object
org.cdlib.mrt.s3v2.action.DeleteObjectData
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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voiddeleteS3Object(software.amazon.awssdk.services.s3.S3Client s3client, String bucketName, String objectKey) Uploads an object to an Amazon S3 bucket with metadata.
- 
Field Details- 
loggerprotected static final org.apache.logging.log4j.Logger logger
 
- 
- 
Constructor Details- 
DeleteObjectDatapublic DeleteObjectData()
 
- 
- 
Method Details- 
deleteS3Objectpublic static void deleteS3Object(software.amazon.awssdk.services.s3.S3Client s3client, String bucketName, String objectKey) throws org.cdlib.mrt.utility.TException Uploads an object to an Amazon S3 bucket with metadata.- Parameters:
- bucketName- the name of the S3 bucket to upload the object to
- objectKey- the name of the object to be uploaded
- s3- the S3Client object used to interact with the Amazon S3 service
- objectPath- the local file path of the object to be uploaded
- Throws:
- org.cdlib.mrt.utility.TException
 
 
-