Package com.cis.gorecipe.service
Interface S3Service
- All Known Implementing Classes:
S3ServiceImpl
public interface S3Service
Interface for S3ServiceImpl
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleandeleteFile(String fileName)getFileUrl(String fileName)uploadFile(String fileName, InputStream inputStream, String contentType)
-
Field Details
-
BUCKET
The AWS S3 bucket ID- See Also:
- Constant Field Values
-
client
static final software.amazon.awssdk.services.s3.S3Client clientThe client object for interfacing with AWS
-
-
Method Details
-
uploadFile
- Throws:
IOException
-
deleteFile
-
getFileUrl
-