public class S3ClientFactory extends Object
Constructor and Description |
---|
S3ClientFactory()
Constructor method (do not use).
|
Modifier and Type | Method and Description |
---|---|
static software.amazon.awssdk.services.s3.S3Client |
createClient(org.apache.commons.vfs2.provider.GenericFileName root,
org.apache.commons.vfs2.FileSystemOptions options,
software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentials,
VFSLib vfslib)
Creates a new connection to the server.
|
public S3ClientFactory() throws InstantiationException
InstantiationException
- Error indicationpublic static software.amazon.awssdk.services.s3.S3Client createClient(org.apache.commons.vfs2.provider.GenericFileName root, org.apache.commons.vfs2.FileSystemOptions options, software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentials, VFSLib vfslib) throws org.apache.commons.vfs2.FileSystemException
root
- The file system rootoptions
- The file system optionscredentials
- The credentialsvfslib
- The parental object, shared instance if null
org.apache.commons.vfs2.FileSystemException
- If an error occurs
Copyright © 2005-2024 Leisenfels GmbH. All rights reserved.