Package de.dlr.proseo.storagemgr.s3
Klasse S3AtomicBucketCreator
java.lang.Object
de.dlr.proseo.storagemgr.s3.S3AtomicBucketCreator
- Alle implementierten Schnittstellen:
AtomicCommand<String>
S3 Atomic Bucket Creator
- Autor:
- Denys Chaykovskiy
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungS3AtomicBucketCreator(software.amazon.awssdk.services.s3.S3Client s3Client, String bucket) Constructor -
Methodenübersicht
-
Konstruktordetails
-
S3AtomicBucketCreator
Constructor- Parameter:
s3Client- s3 clientbucket- bucket
-
-
Methodendetails
-
execute
Gets if file exists- Angegeben von:
executein SchnittstelleAtomicCommand<String>- Gibt zurück:
- "true" if file exists
- Löst aus:
IOException- if atomic command was not successful
-
getInfo
Gets information about atomic command (mostly for logs)- Angegeben von:
getInfoin SchnittstelleAtomicCommand<String>- Gibt zurück:
- information about atomic command
-
getCompletedInfo
Gets information about completed atomic command (mostly for logs)- Angegeben von:
getCompletedInfoin SchnittstelleAtomicCommand<String>- Gibt zurück:
- information about completed atomic command
-
getFailedInfo
Gets information about failed atomic command (mostly for logs)- Angegeben von:
getFailedInfoin SchnittstelleAtomicCommand<String>- Gibt zurück:
- information about failed atomic command
-