public class S3ClientBuilder extends ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
accessKey, AWS_CLIENT_MAX_ERROR_RETRY, awsSyncClientBuilder, connectionId, endpointConfiguration, roleARN, secretKey, sessionToken, tryDefaultAWSCredentialsProviderChain
Constructor and Description |
---|
S3ClientBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
protected void |
customSetupClientBuilder() |
void |
disconnect() |
protected String |
getDefaultRegion() |
Integer |
getMaxConnections() |
String |
getStorageUrl() |
protected com.amazonaws.client.builder.AwsSyncClientBuilder |
getSyncClientBuilder() |
protected void |
setCustomClientConfiguration(com.amazonaws.ClientConfiguration clientConfiguration)
Sets the custom configuration fields for every different AWSClient
|
void |
setMaxConnections(Integer maxConnections) |
void |
setStorageUrl(String storageUrl) |
void |
testConnect() |
buildClient, createClientConfiguration, getAccessKey, getConfigRegion, getConnectionId, getConnectionTimeout, getProtocol, getProxyDomain, getProxyHost, getProxyPassword, getProxyPort, getProxyUsername, getProxyWorkstation, getRoleARN, getSecretKey, getSessionToken, getSocketTimeout, getSyncClient, instantiateClient, isTryDefaultAWSCredentialsProviderChain, setAccessKey, 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>
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(com.amazonaws.ClientConfiguration clientConfiguration)
ClientBuilder
setCustomClientConfiguration
in class ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
protected void customSetupClientBuilder()
customSetupClientBuilder
in class ClientBuilder<com.amazonaws.services.s3.AmazonS3Client>
Copyright © 2010–2021. All rights reserved.