public class EC2ClientBuilder extends ClientBuilder<com.amazonaws.services.ec2.AmazonEC2Client>
accessKey, AWS_CLIENT_MAX_ERROR_RETRY, awsAsyncClientBuilder, awsSyncClientBuilder, clientConfig, connectionId, endpointConfiguration, roleARN, secretKey, sessionToken, tryDefaultAWSCredentialsProviderChain
Constructor and Description |
---|
EC2ClientBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
void |
disconnect() |
protected com.amazonaws.client.builder.AwsAsyncClientBuilder |
getAsyncClientBuilder() |
protected String |
getDefaultRegion() |
Integer |
getMaxConnections() |
protected com.amazonaws.client.builder.AwsSyncClientBuilder |
getSyncClientBuilder() |
protected void |
setCustomClientConfiguration()
Sets the custom configuration fields for every different AWSClient
|
void |
setMaxConnections(Integer maxConnections) |
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, isTryDefaultAWSCredentialsProviderChain, setAccessKey, setAsyncClient, setClientConfiguration, 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)
protected String getDefaultRegion()
getDefaultRegion
in class ClientBuilder<com.amazonaws.services.ec2.AmazonEC2Client>
protected com.amazonaws.client.builder.AwsSyncClientBuilder getSyncClientBuilder()
getSyncClientBuilder
in class ClientBuilder<com.amazonaws.services.ec2.AmazonEC2Client>
protected com.amazonaws.client.builder.AwsAsyncClientBuilder getAsyncClientBuilder()
getAsyncClientBuilder
in class ClientBuilder<com.amazonaws.services.ec2.AmazonEC2Client>
public void connect() throws org.mule.api.ConnectionException
connect
in class ClientBuilder<com.amazonaws.services.ec2.AmazonEC2Client>
org.mule.api.ConnectionException
public void testConnect() throws org.mule.api.ConnectionException
testConnect
in class ClientBuilder<com.amazonaws.services.ec2.AmazonEC2Client>
org.mule.api.ConnectionException
public void disconnect()
disconnect
in class ClientBuilder<com.amazonaws.services.ec2.AmazonEC2Client>
protected void setCustomClientConfiguration()
ClientBuilder
setCustomClientConfiguration
in class ClientBuilder<com.amazonaws.services.ec2.AmazonEC2Client>
Copyright © 2010–2020. All rights reserved.