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