public abstract class AmazonS3Factory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCESS_KEY |
static String |
CONNECTION_TIMEOUT |
static String |
MAX_CONNECTIONS |
static String |
MAX_ERROR_RETRY |
static String |
PATH_STYLE_ACCESS |
static String |
PROTOCOL |
static String |
PROXY_DOMAIN |
static String |
PROXY_HOST |
static String |
PROXY_PASSWORD |
static String |
PROXY_PORT |
static String |
PROXY_USERNAME |
static String |
PROXY_WORKSTATION |
static String |
REQUEST_METRIC_COLLECTOR_CLASS |
static String |
SECRET_KEY |
static String |
SIGNER_OVERRIDE |
static String |
SOCKET_RECEIVE_BUFFER_SIZE_HINT |
static String |
SOCKET_SEND_BUFFER_SIZE_HINT |
static String |
SOCKET_TIMEOUT |
static String |
USER_AGENT |
| Constructor and Description |
|---|
AmazonS3Factory() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract com.amazonaws.services.s3.AmazonS3 |
createAmazonS3(com.amazonaws.auth.AWSCredentialsProvider credentialsProvider,
com.amazonaws.ClientConfiguration clientConfiguration,
com.amazonaws.metrics.RequestMetricCollector requestMetricsCollector)
should return a new AmazonS3
|
com.amazonaws.services.s3.AmazonS3 |
getAmazonS3(URI uri,
Properties props)
Build a new Amazon S3 instance with the URI and the properties provided
|
protected com.amazonaws.auth.BasicAWSCredentials |
getAWSCredentials(Properties props) |
protected com.amazonaws.ClientConfiguration |
getClientConfiguration(Properties props) |
protected com.amazonaws.services.s3.S3ClientOptions |
getClientOptions(Properties props) |
protected com.amazonaws.auth.AWSCredentialsProvider |
getCredentialsProvider(Properties props) |
protected com.amazonaws.metrics.RequestMetricCollector |
getRequestMetricsCollector(Properties props) |
public static final String ACCESS_KEY
public static final String SECRET_KEY
public static final String REQUEST_METRIC_COLLECTOR_CLASS
public static final String CONNECTION_TIMEOUT
public static final String MAX_CONNECTIONS
public static final String MAX_ERROR_RETRY
public static final String PROTOCOL
public static final String PROXY_DOMAIN
public static final String PROXY_HOST
public static final String PROXY_PASSWORD
public static final String PROXY_PORT
public static final String PROXY_USERNAME
public static final String PROXY_WORKSTATION
public static final String SOCKET_SEND_BUFFER_SIZE_HINT
public static final String SOCKET_RECEIVE_BUFFER_SIZE_HINT
public static final String SOCKET_TIMEOUT
public static final String USER_AGENT
public static final String SIGNER_OVERRIDE
public static final String PATH_STYLE_ACCESS
public com.amazonaws.services.s3.AmazonS3 getAmazonS3(URI uri, Properties props)
uri - URI mandatoryprops - Properties with the credentials and others optionsprotected abstract com.amazonaws.services.s3.AmazonS3 createAmazonS3(com.amazonaws.auth.AWSCredentialsProvider credentialsProvider,
com.amazonaws.ClientConfiguration clientConfiguration,
com.amazonaws.metrics.RequestMetricCollector requestMetricsCollector)
credentialsProvider - AWSCredentialsProvider mandatoryclientConfiguration - ClientConfiguration mandatoryrequestMetricsCollector - RequestMetricCollector mandatoryAmazonS3protected com.amazonaws.auth.AWSCredentialsProvider getCredentialsProvider(Properties props)
protected com.amazonaws.metrics.RequestMetricCollector getRequestMetricsCollector(Properties props)
protected com.amazonaws.services.s3.S3ClientOptions getClientOptions(Properties props)
protected com.amazonaws.ClientConfiguration getClientConfiguration(Properties props)
protected com.amazonaws.auth.BasicAWSCredentials getAWSCredentials(Properties props)
Copyright © 2018. All rights reserved.