public class SQSClientBuilder extends ClientBuilder<com.amazonaws.services.sqs.AmazonSQSClient>
accessKey, AWS_CLIENT_MAX_ERROR_RETRY, awsAsyncClientBuilder, awsSyncClientBuilder, 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(com.amazonaws.ClientConfiguration clientConfiguration)
Sets the custom configuration fields for every different AWSClient
|
void |
setDefaultQueueName(String defaultQueueName) |
void |
setUrl(String url) |
void |
testConnect() |
buildAsyncClient, buildClient, customSetupClientBuilder, getAccessKey, getAsyncClient, getConfigRegion, getConnectionId, getConnectionTimeout, getProtocol, getProxyDomain, getProxyHost, getProxyPassword, getProxyPort, getProxyUsername, getProxyWorkstation, getRoleARN, getSecretKey, getSessionToken, getSocketTimeout, getSyncClient, instantiateClient, instantiateClient, isTryDefaultAWSCredentialsProviderChain, setAccessKey, setAsyncClient, 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(com.amazonaws.ClientConfiguration clientConfiguration)
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–2020. All rights reserved.