public static interface MultiKeyStore.Builder
| Modifier and Type | Method and Description |
|---|---|
MultiKeyStore |
build() |
software.amazon.cryptography.materialproviders.model.CacheType |
cache() |
MultiKeyStore.Builder |
cache(software.amazon.cryptography.materialproviders.model.CacheType cache) |
java.lang.Integer |
cacheTTL() |
MultiKeyStore.Builder |
cacheTTL(java.lang.Integer cacheTTL) |
java.lang.String |
keyFieldName() |
MultiKeyStore.Builder |
keyFieldName(java.lang.String keyFieldName) |
java.lang.String |
partitionId() |
MultiKeyStore.Builder |
partitionId(java.lang.String partitionId) |
MultiKeyStore.Builder keyFieldName(java.lang.String keyFieldName)
keyFieldName - The name of the field that stores the Beacon Key. This may be a Virtual Field.java.lang.String keyFieldName()
MultiKeyStore.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()
MultiKeyStore.Builder cache(software.amazon.cryptography.materialproviders.model.CacheType cache)
cache - Which type of local cache to use.software.amazon.cryptography.materialproviders.model.CacheType cache()
MultiKeyStore.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()
MultiKeyStore build()