Class S3Utils
java.lang.Object
org.craftercms.commons.file.stores.S3Utils
Utility methods for S3.
- Author:
- avasquez
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final com.amazonaws.services.s3.AmazonS3
createClient
(AbstractAwsProfile profile) static final com.amazonaws.services.s3.AmazonS3
createClient
(AbstractAwsProfile profile, boolean useCustomEndpoint) Creates anAmazonS3
based on the given profile config.
-
Constructor Details
-
S3Utils
public S3Utils()
-
-
Method Details
-
createClient
public static final com.amazonaws.services.s3.AmazonS3 createClient(AbstractAwsProfile profile, boolean useCustomEndpoint) Creates anAmazonS3
based on the given profile config.- Parameters:
profile
- the configuration profile- Returns:
- a client to an Amazon S3 account
-
createClient
-