public static interface SingleKeyStore.Builder
| Modifier and Type | Method and Description |
|---|---|
SingleKeyStore |
build() |
software.amazon.cryptography.materialproviders.model.CacheType |
cache() |
SingleKeyStore.Builder |
cache(software.amazon.cryptography.materialproviders.model.CacheType cache) |
java.lang.Integer |
cacheTTL() |
SingleKeyStore.Builder |
cacheTTL(java.lang.Integer cacheTTL) |
java.lang.String |
keyId() |
SingleKeyStore.Builder |
keyId(java.lang.String keyId) |
java.lang.String |
partitionId() |
SingleKeyStore.Builder |
partitionId(java.lang.String partitionId) |
SingleKeyStore.Builder keyId(java.lang.String keyId)
keyId - The Beacon Key ID.java.lang.String keyId()
SingleKeyStore.Builder cacheTTL(java.lang.Integer cacheTTL)
cacheTTL - How long (in seconds) the beacon key material is cached locally before it is re-retrieved from DynamoDB and re-authed with AWS KMS.java.lang.Integer cacheTTL()
SingleKeyStore.Builder cache(software.amazon.cryptography.materialproviders.model.CacheType cache)
cache - Which type of local cache to use. Please see the [spec](https://github.com/aws/aws-database-encryption-sdk-dynamodb/blob/main/specification/searchable-encryption/search-config.md#key-store-cache) on how to provide a cache for a SingleKeyStore.software.amazon.cryptography.materialproviders.model.CacheType cache()
SingleKeyStore.Builder partitionId(java.lang.String partitionId)
partitionId - Partition ID to distinguish Beacon Key Sources writing to a Shared cache. If the Partition ID is the same for two Beacon Key Sources, they can share the same cache entries in the Shared cache.java.lang.String partitionId()
SingleKeyStore build()