Interface KmsMasterKeyProvider.RegionalClientSupplier

Enclosing class:
KmsMasterKeyProvider
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 static interface KmsMasterKeyProvider.RegionalClientSupplier
  • Method Summary

    Modifier and Type
    Method
    Description
    com.amazonaws.services.kms.AWSKMS
    getClient​(String regionName)
    Supplies an AWSKMS instance to use for a given region.
  • Method Details

    • getClient

      com.amazonaws.services.kms.AWSKMS getClient(String regionName)
      Supplies an AWSKMS instance to use for a given region. The KmsMasterKeyProvider will not cache the result of this function.
      Parameters:
      regionName - The region to get a client for
      Returns:
      The client to use, or null if this region cannot or should not be used.