Class KMS2ClientFactory
- java.lang.Object
-
- org.apache.camel.component.aws2.kms.client.KMS2ClientFactory
-
public final class KMS2ClientFactory extends Object
Factory class to return the correct type of AWS KMS client.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KMS2InternalClient
getKmsClient(KMS2Configuration configuration)
Return the correct AWS KMS client (based on remote vs local).
-
-
-
Method Detail
-
getKmsClient
public static KMS2InternalClient getKmsClient(KMS2Configuration configuration)
Return the correct AWS KMS client (based on remote vs local).- Parameters:
configuration
- configuration- Returns:
- KMSClient
-
-