@ConnectionManagement(friendlyName="Configuration") public class Config extends Object
Constructor and Description |
---|
Config() |
Modifier and Type | Method and Description |
---|---|
void |
connect(String accessKey,
String secretKey)
Login to Amazon SNS
|
String |
connectionId()
Connection identifier
|
void |
disconnect()
Disconnect
|
com.amazonaws.services.sns.AmazonSNS |
getClient() |
Integer |
getConnectionTimeout() |
Integer |
getMaxConnections() |
com.amazonaws.Protocol |
getProtocol() |
String |
getProxyDomain() |
String |
getProxyHost() |
String |
getProxyPassword() |
Integer |
getProxyPort() |
String |
getProxyUsername() |
String |
getProxyWorkstation() |
RegionEndpoint |
getRegion() |
Integer |
getSocketTimeout() |
String |
getTestTopicArn() |
boolean |
isConnected()
Check if the connector's instance is connected
|
void |
setClient(com.amazonaws.services.sns.AmazonSNS client) |
void |
setConnectionTimeout(Integer connectionTimeout) |
void |
setMaxConnections(Integer maxConnections) |
void |
setProtocol(com.amazonaws.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 |
setRegion(RegionEndpoint region) |
void |
setSocketTimeout(Integer socketTimeout) |
void |
setTestTopicArn(String testTopicArn) |
void |
testConnect(String accessKey,
String secretKey)
Test connectivity to Amazon SNS
|
@Connect public void connect(@ConnectionKey String accessKey, String secretKey) throws org.mule.api.ConnectionException
accessKey
- The access key provided by AmazonsecretKey
- The secret key provided by Amazonorg.mule.api.ConnectionException
@TestConnectivity public void testConnect(@ConnectionKey String accessKey, String secretKey) throws org.mule.api.ConnectionException
accessKey
- The access key provided by AmazonsecretKey
- The secret key provided by Amazonorg.mule.api.ConnectionException
@Disconnect public void disconnect()
@ValidateConnection public boolean isConnected()
@ConnectionIdentifier public String connectionId()
public com.amazonaws.services.sns.AmazonSNS getClient()
public void setClient(com.amazonaws.services.sns.AmazonSNS client)
public RegionEndpoint getRegion()
public void setRegion(RegionEndpoint region)
public String getTestTopicArn()
public void setTestTopicArn(String testTopicArn)
public Integer getConnectionTimeout()
public void setConnectionTimeout(Integer connectionTimeout)
public Integer getMaxConnections()
public void setMaxConnections(Integer maxConnections)
public com.amazonaws.Protocol getProtocol()
public void setProtocol(com.amazonaws.Protocol protocol)
public String getProxyDomain()
public void setProxyDomain(String proxyDomain)
public String getProxyHost()
public void setProxyHost(String proxyHost)
public String getProxyPassword()
public void setProxyPassword(String proxyPassword)
public Integer getProxyPort()
public void setProxyPort(Integer proxyPort)
public String getProxyUsername()
public void setProxyUsername(String proxyUsername)
public String getProxyWorkstation()
public void setProxyWorkstation(String proxyWorkstation)
public Integer getSocketTimeout()
public void setSocketTimeout(Integer socketTimeout)
Copyright © 2010–2016. All rights reserved.