public class S3ClientBuilder extends ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
accessKey, AWS_CLIENT_MAX_ERROR_RETRY, awsAsyncClientBuilder, awsSyncClientBuilder, clientConfig, connectionId, endpointConfiguration, roleARN, secretKey, sessionToken, tryDefaultAWSCredentialsProviderChain
Constructor and Description |
---|
S3ClientBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
protected void |
customSetupClientBuilder() |
void |
disconnect() |
protected com.amazonaws.client.builder.AwsAsyncClientBuilder |
getAsyncClientBuilder() |
protected String |
getDefaultRegion() |
Integer |
getMaxConnections() |
String |
getStorageUrl() |
protected com.amazonaws.client.builder.AwsSyncClientBuilder |
getSyncClientBuilder() |
protected void |
setCustomClientConfiguration()
Sets the custom configuration fields for every different AWSClient
|
void |
setMaxConnections(Integer maxConnections) |
void |
setStorageUrl(String storageUrl) |
void |
testConnect() |
buildAsyncClient, buildClient, createClientConfiguration, getAccessKey, getAsyncClient, getClientConfiguration, getConfigRegion, getConnectionId, getConnectionTimeout, getProtocol, getProxyDomain, getProxyHost, getProxyPassword, getProxyPort, getProxyUsername, getProxyWorkstation, getRoleARN, getSecretKey, getSessionToken, getSocketTimeout, getSyncClient, instantiateClient, isTryDefaultAWSCredentialsProviderChain, setAccessKey, setAsyncClient, setClientConfiguration, setConfigRegion, setConnectionTimeout, setDefaultRegion, setProtocol, setProxyDomain, setProxyHost, setProxyPassword, setProxyPort, setProxyUsername, setProxyWorkstation, setRoleARN, setSecretKey, setSessionToken, setSocketTimeout, setSyncClient, setTryDefaultAWSCredentialsProviderChain, setupClientBuilder
public Integer getMaxConnections()
public void setMaxConnections(Integer maxConnections)
public String getStorageUrl()
public void setStorageUrl(String storageUrl)
protected String getDefaultRegion()
getDefaultRegion
in class ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
protected com.amazonaws.client.builder.AwsSyncClientBuilder getSyncClientBuilder()
getSyncClientBuilder
in class ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
protected com.amazonaws.client.builder.AwsAsyncClientBuilder getAsyncClientBuilder()
getAsyncClientBuilder
in class ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
public void connect() throws org.mule.api.ConnectionException
connect
in class ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
org.mule.api.ConnectionException
public void testConnect() throws org.mule.api.ConnectionException
testConnect
in class ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
org.mule.api.ConnectionException
public void disconnect()
disconnect
in class ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
protected void setCustomClientConfiguration()
ClientBuilder
setCustomClientConfiguration
in class ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
protected void customSetupClientBuilder()
customSetupClientBuilder
in class ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
Copyright © 2010–2020. All rights reserved.