Class AsyncS3Config
-
- All Implemented Interfaces:
public final class AsyncS3ConfigS3 Store Connection Configuration
- Since:
1.0.0
Elizabeth Paige Harper https://github.com/foxcapades
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAsyncS3Config.Builder
-
Constructor Summary
Constructors Constructor Description AsyncS3Config(String host, String bucket, String access, String secret)Returns a new AsyncS3Config instance. AsyncS3Config(String host, String bucket, String access, String secret, String root)Returns a new AsyncS3Config instance. AsyncS3Config(String host, Integer port, Boolean https, String bucket, String accessToken, String secretKey, String rootPath)Returns a new AsyncS3Config instance.
-
Method Summary
Modifier and Type Method Description final static AsyncS3Config.Builderbuilder()final static AsyncS3Configbuild(Function1<AsyncS3Config.Builder, Unit> fn)-
-
Constructor Detail
-
AsyncS3Config
AsyncS3Config(String host, String bucket, String access, String secret)
Returns a new AsyncS3Config instance.- Parameters:
host- Hostname of the S3 store.bucket- Name of the S3 bucket that will be operated on by this async compute application.access- Access token for the S3 store.secret- Secret key for the S3 store.
-
AsyncS3Config
AsyncS3Config(String host, String bucket, String access, String secret, String root)
Returns a new AsyncS3Config instance.- Parameters:
host- Hostname of the S3 store.bucket- Name of the S3 bucket that will be operated on by this async compute application.access- Access token for the S3 store.secret- Secret key for the S3 store.root- Root 'directory' in which workspaces will be created.
-
AsyncS3Config
AsyncS3Config(String host, Integer port, Boolean https, String bucket, String accessToken, String secretKey, String rootPath)
Returns a new AsyncS3Config instance.- Parameters:
host- Hostname of the S3 store.port- Connection port for the S3 store.https- Whether HTTPS should be used when communicating with the S3 store.bucket- Name of the S3 bucket that will be operated on by this async compute application.accessToken- Access token for the S3 store.secretKey- Secret key for the S3 store.rootPath- Root 'directory' in which workspaces will be created.
-
-
Method Detail
-
builder
final static AsyncS3Config.Builder builder()
-
build
final static AsyncS3Config build(Function1<AsyncS3Config.Builder, Unit> fn)
-
-
-
-