public class S3FileSystemConfigBuilder
extends org.apache.commons.vfs2.FileSystemConfigBuilder
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_KEY_ID
Access key ID.
|
static String |
AWS_REGION
Bucket URI.
|
static String |
BUCKET_NAME
Bucket name.
|
static String |
DISPLAY_NAME
Display name.
|
static String |
SECRET_KEY
Secret key.
|
Constructor and Description |
---|
S3FileSystemConfigBuilder()
Constructor method.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccessKeyID(org.apache.commons.vfs2.FileSystemOptions options)
Getter for Amazon S3 access key ID.
|
String |
getAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options)
Getter for Amazon S3 account display name.
|
String |
getAWSRegion(org.apache.commons.vfs2.FileSystemOptions options)
Getter for the AWS region for the bucket.
|
String |
getBucketName(org.apache.commons.vfs2.FileSystemOptions options)
Getter for the name of the Amazon S3 bucket.
|
String |
getSecretKey(org.apache.commons.vfs2.FileSystemOptions options)
Getter for Amazon S3 secret key.
|
static S3FileSystemConfigBuilder |
getSharedInstance()
Provides the shared instance of the factory implementation.
|
void |
setAccessKeyID(org.apache.commons.vfs2.FileSystemOptions options,
String keyid)
Setter for Amazon S3 access key ID.
|
void |
setAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options,
String name)
Setter for Amazon S3 account display name.
|
void |
setAWSRegion(org.apache.commons.vfs2.FileSystemOptions options,
String region)
Setter for the AWS region for the bucket.
|
void |
setBucketName(org.apache.commons.vfs2.FileSystemOptions options,
String name)
Setter for the name of the Amazon S3 bucket.
|
void |
setSecretKey(org.apache.commons.vfs2.FileSystemOptions options,
String key)
Setter for Amazon S3 secret key.
|
public static final String DISPLAY_NAME
public static final String ACCESS_KEY_ID
public static final String SECRET_KEY
public static final String AWS_REGION
public static final String BUCKET_NAME
public S3FileSystemConfigBuilder()
public static S3FileSystemConfigBuilder getSharedInstance()
public void setAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options, String name)
options
- The optionsname
- The display namepublic String getAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options)
options
- The optionsnull
public void setAccessKeyID(org.apache.commons.vfs2.FileSystemOptions options, String keyid)
options
- The optionskeyid
- The access key IDpublic String getAccessKeyID(org.apache.commons.vfs2.FileSystemOptions options)
options
- The optionsnull
public void setSecretKey(org.apache.commons.vfs2.FileSystemOptions options, String key)
options
- The optionskey
- The secret keypublic String getSecretKey(org.apache.commons.vfs2.FileSystemOptions options)
options
- The optionsnull
public void setAWSRegion(org.apache.commons.vfs2.FileSystemOptions options, String region)
options
- The optionsregion
- The regionpublic String getAWSRegion(org.apache.commons.vfs2.FileSystemOptions options)
options
- The optionsnull
.public void setBucketName(org.apache.commons.vfs2.FileSystemOptions options, String name)
options
- The optionsname
- The display namepublic String getBucketName(org.apache.commons.vfs2.FileSystemOptions options)
options
- The optionsnull
Copyright © 2005-2024 Leisenfels GmbH. All rights reserved.