public class

Config

extends Object
java.lang.Object
   ↳ org.mule.module.s3.Config
Known Direct Subclasses

Summary

Fields
private AmazonS3 client
private Integer connectionTimeout The amount of time to wait (in milliseconds) when initially establishing a connection before giving up and timing out.
private Integer maxConnections Sets the maximum number of allowed open HTTP connections.
private Protocol protocol The optional communication protocol to use when sending requests to AWS.
private String proxyDomain The optional proxy domain
private String proxyHost The optional proxy port
private String proxyPassword The optional proxy password
private Integer proxyPort The optional proxy port
private String proxyUsername The optional proxy username
private String proxyWorkstation The optional proxy workstation
private Integer socketTimeout The amount of time to wait (in milliseconds) for data to be transferred over an established, open connection before the connection is timed out.
Public Constructors
Config()
Public Methods
void connect(String accessKey, String secretKey)
Login to Amazon S3
String connectionId()
void disconnect()
AmazonS3 getClient()
Integer getConnectionTimeout()
Integer getMaxConnections()
Protocol getProtocol()
String getProxyDomain()
String getProxyHost()
String getProxyPassword()
Integer getProxyPort()
String getProxyUsername()
String getProxyWorkstation()
Integer getSocketTimeout()
boolean isConnected()
void setClient(AmazonS3 client)
void setConnectionTimeout(Integer connectionTimeout)
void setMaxConnections(Integer maxConnections)
void setProtocol(Protocol protocol)
void setProxyDomain(String proxyDomain)
void setProxyHost(String proxyHost)
void setProxyPassword(String proxyPassword)
void setProxyPort(Integer proxyPort)
void setProxyUsername(String proxyUsername)
void setProxyWorkstation(String proxyWorkstation)
void setSocketTimeout(Integer socketTimeout)
void testConnect(String accessKey, String secretKey)
Test Connectivity to Amazon S3
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private AmazonS3 client

private Integer connectionTimeout

The amount of time to wait (in milliseconds) when initially establishing a connection before giving up and timing out. A value of 0 means infinity, and is not recommended.

private Integer maxConnections

Sets the maximum number of allowed open HTTP connections.

private Protocol protocol

The optional communication protocol to use when sending requests to AWS. Communication over HTTPS is the default

private String proxyDomain

The optional proxy domain

private String proxyHost

The optional proxy port

private String proxyPassword

The optional proxy password

private Integer proxyPort

The optional proxy port

private String proxyUsername

The optional proxy username

private String proxyWorkstation

The optional proxy workstation

private Integer socketTimeout

The amount of time to wait (in milliseconds) for data to be transferred over an established, open connection before the connection is timed out. A value of 0 means infinity, and is not recommended.

Public Constructors

public Config ()

Public Methods

public void connect (String accessKey, String secretKey)

Login to Amazon S3

Parameters
accessKey The access key provided by Amazon, needed for non anonymous operations
secretKey The secrete key provided by Amazon, needed for non anonymous operations
Throws
ConnectionException

public String connectionId ()

public void disconnect ()

public AmazonS3 getClient ()

public Integer getConnectionTimeout ()

public Integer getMaxConnections ()

public Protocol getProtocol ()

public String getProxyDomain ()

public String getProxyHost ()

public String getProxyPassword ()

public Integer getProxyPort ()

public String getProxyUsername ()

public String getProxyWorkstation ()

public Integer getSocketTimeout ()

public boolean isConnected ()

public void setClient (AmazonS3 client)

Parameters
client

public void setConnectionTimeout (Integer connectionTimeout)

Parameters
connectionTimeout

public void setMaxConnections (Integer maxConnections)

Parameters
maxConnections

public void setProtocol (Protocol protocol)

Parameters
protocol

public void setProxyDomain (String proxyDomain)

Parameters
proxyDomain

public void setProxyHost (String proxyHost)

Parameters
proxyHost

public void setProxyPassword (String proxyPassword)

Parameters
proxyPassword

public void setProxyPort (Integer proxyPort)

Parameters
proxyPort

public void setProxyUsername (String proxyUsername)

Parameters
proxyUsername

public void setProxyWorkstation (String proxyWorkstation)

Parameters
proxyWorkstation

public void setSocketTimeout (Integer socketTimeout)

Parameters
socketTimeout

public void testConnect (String accessKey, String secretKey)

Test Connectivity to Amazon S3

Parameters
accessKey The access key provided by Amazon, needed for non anonymous operations
secretKey The secret key provided by Amazon, needed for non anonymous operations
Throws
ConnectionException