Class S3
- java.lang.Object
-
- org.pipecraft.infra.storage.amazon_s3.S3
-
- All Implemented Interfaces:
org.pipecraft.infra.storage.Storage<S3Bucket,com.amazonaws.services.s3.model.S3ObjectSummary>
public class S3 extends Object implements org.pipecraft.infra.storage.Storage<S3Bucket,com.amazonaws.services.s3.model.S3ObjectSummary>
A storage implementation for S3 service. Note that this implementation always uses region US_EAST_1.- Author:
- Eyal Schneider
-
-
Field Summary
Fields Modifier and Type Field Description static StringS3_PATH_SEPARATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3Bucketbucket(com.amazonaws.auth.AWSCredentials credentials, String name)S3Bucket factoryS3BucketgetBucket(String bucketName)StringgetProtocol()
-
-
-
Field Detail
-
S3_PATH_SEPARATOR
public static final String S3_PATH_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBucket
public S3Bucket getBucket(String bucketName)
- Specified by:
getBucketin interfaceorg.pipecraft.infra.storage.Storage<S3Bucket,com.amazonaws.services.s3.model.S3ObjectSummary>
-
getProtocol
public String getProtocol()
- Specified by:
getProtocolin interfaceorg.pipecraft.infra.storage.Storage<S3Bucket,com.amazonaws.services.s3.model.S3ObjectSummary>
-
-