Class S3ClientBuilder
- java.lang.Object
-
- org.craftercms.engine.store.s3.util.S3ClientBuilder
-
public class S3ClientBuilder extends Object
Utility class to build the AWS S3 client instances.- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description protected org.craftercms.commons.config.profiles.aws.S3Profile
profile
-
Constructor Summary
Constructors Constructor Description S3ClientBuilder(String endpoint, String region, String accessKey, String secretKey, boolean pathStyle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.amazonaws.services.s3.AmazonS3
getClient()
Builds an AWS S3 client, if no values are provided the default client will be used.
-
-
-
Constructor Detail
-
S3ClientBuilder
@ConstructorProperties({"endpoint","region","accessKey","secretKey","pathStyle"}) public S3ClientBuilder(String endpoint, String region, String accessKey, String secretKey, boolean pathStyle)
-
-