@ConnectionManagement(friendlyName="Basic Configuration") public class S3BasicConfig extends S3CommonConfig
clientBuilder
Constructor and Description |
---|
S3BasicConfig() |
Modifier and Type | Method and Description |
---|---|
void |
connect(String accessKey,
String secretKey,
String sessionToken,
boolean tryDefaultAWSCredentialsProviderChain)
Login to Amazon S3
|
void |
testConnect(String accessKey,
String secretKey,
String sessionToken,
boolean tryDefaultAWSCredentialsProviderChain)
Test Connectivity to Amazon S3.
|
connectionId, disconnect, getDefaultRegion, getMaxConnections, getStorageUrl, isConnected, setClientBuilder, setMaxConnections, setStorageUrl
getAsyncClient, getClientBuilder, getConfigRegion, getConnectionTimeout, getProtocol, getProxyDomain, getProxyHost, getProxyPassword, getProxyPort, getProxyUsername, getProxyWorkstation, getSocketTimeout, getSyncClient, setConnectionTimeout, setProtocol, setProxyDomain, setProxyHost, setProxyPassword, setProxyPort, setProxyUsername, setProxyWorkstation, setSocketTimeout
@Connect public void connect(@ConnectionKey String accessKey, String secretKey, @Optional String sessionToken, @Optional boolean tryDefaultAWSCredentialsProviderChain) throws org.mule.api.ConnectionException
accessKey
- The access key provided by Amazon, needed for non anonymous operationssecretKey
- The secrete key provided by Amazon, needed for non anonymous operationstryDefaultAWSCredentialsProviderChain
- Set it to true to try first to obtain credentials from AWS environment. See:
http://docs.aws.amazon.com/java-sdk/latest/developer-guide/credentials.html#using-the-default-credential-provider-chainorg.mule.api.ConnectionException
- Throws a Connection Exception.@TestConnectivity public void testConnect(@ConnectionKey String accessKey, String secretKey, @Optional String sessionToken, @Optional boolean tryDefaultAWSCredentialsProviderChain) throws org.mule.api.ConnectionException
accessKey
- The access key provided by Amazon, needed for non anonymous operationssecretKey
- The secret key provided by Amazon, needed for non anonymous operationstryDefaultAWSCredentialsProviderChain
- Try Default AWS Credentials ProviderChain.org.mule.api.ConnectionException
- Throws a Connection Exception.Copyright © 2010–2019. All rights reserved.