@ComponentProfile(summary="Connection for supporting connectivity to Amazon KMS",
tag="connections,amazon,aws,kms",
since="3.10.1")
public class AWSKMSConnection
extends com.adaptris.aws.AWSConnection
implements ClientWrapper<com.amazonaws.services.kms.AWSKMSClient>
This class directly exposes almost all the getter and setters that are available in ClientConfiguration via the
AWSConnection.getClientConfiguration() property for maximum flexibility in configuration.
The key from the client-configuration element should match the name of the underlying ClientConfiguration property;
so if you wanted to control the user-agent you would do :
<client-configuration>
<key-value-pair>
<key>UserAgent</key>
<value>My User Agent</value>
</key-value-pair>
</client-configuration>
In the adapter configuration file this class is aliased as aws-kms-connection which is the preferred alternative to the fully qualified classname when building your configuration.
log| Constructor and Description |
|---|
AWSKMSConnection() |
| Modifier and Type | Method and Description |
|---|---|
com.amazonaws.services.kms.AWSKMSClient |
awsClient() |
protected void |
closeConnection() |
protected com.amazonaws.services.kms.AWSKMSClientBuilder |
createBuilder() |
protected void |
initConnection() |
protected void |
prepareConnection() |
protected void |
startConnection() |
protected void |
stopConnection() |
clientConfiguration, credentialsProvider, endpointBuilder, getAuthentication, getClientConfiguration, getCredentials, getCustomEndpoint, getRegion, getRetryPolicy, retryPolicy, setAuthentication, setClientConfiguration, setCredentials, setCustomEndpoint, setRegion, setRetryPolicy, withClientConfiguration, withCredentialsProviderBuilder, withCustomEndpoint, withRegion, withRetryPolicyaddExceptionListener, addMessageConsumer, addMessageProducer, changeState, cloneForTesting, close, connectionErrorHandler, getConnectionErrorHandler, getLookupName, getUniqueId, getWorkersFirstOnShutdown, init, prepare, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, retrieveConnection, retrieveExceptionListeners, retrieveMessageConsumers, retrieveMessageProducers, setConnectionErrorHandler, setLookupName, setUniqueId, setWorkersFirstOnShutdown, start, stop, workersFirstOnShutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownQuietlyprotected void prepareConnection()
throws CoreException
prepareConnection in class AdaptrisConnectionImpCoreExceptionprotected void initConnection()
throws CoreException
initConnection in class AdaptrisConnectionImpCoreExceptionprotected void startConnection()
throws CoreException
startConnection in class AdaptrisConnectionImpCoreExceptionprotected void stopConnection()
stopConnection in class AdaptrisConnectionImpprotected void closeConnection()
closeConnection in class AdaptrisConnectionImpprotected com.amazonaws.services.kms.AWSKMSClientBuilder createBuilder()
throws CoreException
CoreExceptionpublic com.amazonaws.services.kms.AWSKMSClient awsClient()
throws java.lang.Exception
awsClient in interface ClientWrapper<com.amazonaws.services.kms.AWSKMSClient>java.lang.Exception