Interface RegionalClientSupplier
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface RegionalClientSupplier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description software.amazon.awssdk.services.kms.KmsClient
getClient(software.amazon.awssdk.regions.Region region)
Supplies anKmsClient
instance to use for a givenRegion
.
-
-
-
Method Detail
-
getClient
software.amazon.awssdk.services.kms.KmsClient getClient(software.amazon.awssdk.regions.Region region)
Supplies anKmsClient
instance to use for a givenRegion
. TheKmsMasterKeyProvider
will not cache the result of this function.Note: The AWS Encryption SDK for Java does not support the
KmsAsyncClient
interface.- Parameters:
region
- The region to get a client for- Returns:
- The client to use, or null if this region cannot or should not be used.
-
-