public static interface CreateAwsKmsHierarchicalKeyringInput.Builder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
branchKeyId() |
CreateAwsKmsHierarchicalKeyringInput.Builder |
branchKeyId(java.lang.String branchKeyId) |
IBranchKeyIdSupplier |
branchKeyIdSupplier() |
CreateAwsKmsHierarchicalKeyringInput.Builder |
branchKeyIdSupplier(IBranchKeyIdSupplier branchKeyIdSupplier) |
CreateAwsKmsHierarchicalKeyringInput |
build() |
CacheType |
cache() |
CreateAwsKmsHierarchicalKeyringInput.Builder |
cache(CacheType cache) |
KeyStore |
keyStore() |
CreateAwsKmsHierarchicalKeyringInput.Builder |
keyStore(KeyStore keyStore) |
java.lang.String |
partitionId() |
CreateAwsKmsHierarchicalKeyringInput.Builder |
partitionId(java.lang.String partitionId) |
long |
ttlSeconds() |
CreateAwsKmsHierarchicalKeyringInput.Builder |
ttlSeconds(long ttlSeconds) |
CreateAwsKmsHierarchicalKeyringInput.Builder branchKeyId(java.lang.String branchKeyId)
branchKeyId - The identifier for the single Branch Key responsible for wrapping and unwrapping the data key. Either a Branch Key ID or Branch Key Supplier must be specified.java.lang.String branchKeyId()
CreateAwsKmsHierarchicalKeyringInput.Builder branchKeyIdSupplier(IBranchKeyIdSupplier branchKeyIdSupplier)
branchKeyIdSupplier - A Branch Key Supplier which determines what Branch Key to use to wrap and unwrap the data key. Either a Branch Key ID or Branch Key Supplier must be specified.IBranchKeyIdSupplier branchKeyIdSupplier()
CreateAwsKmsHierarchicalKeyringInput.Builder keyStore(KeyStore keyStore)
keyStore - The Key Store which contains the Branch Key(s) responsible for wrapping and unwrapping data keys.KeyStore keyStore()
CreateAwsKmsHierarchicalKeyringInput.Builder ttlSeconds(long ttlSeconds)
ttlSeconds - How many seconds the Branch Key material is allowed to be reused within the local cache before it is re-retrieved from Amazon DynamoDB and re-authenticated with AWS KMS.long ttlSeconds()
CreateAwsKmsHierarchicalKeyringInput.Builder cache(CacheType cache)
cache - Sets the type of cache for this Hierarchical Keyring. By providing an already initialized 'Shared' cache, users can determine the scope of the cache. That is, if the cache is shared across other Cryptographic Material Providers, for instance other Hierarchical Keyrings or Caching Cryptographic Materials Managers (Caching CMMs). If any other type of cache in the CacheType union is provided, the Hierarchical Keyring will initialize a cache of that type, to be used with only this Hierarchical Keyring. If not set, a DefaultCache is initialized to be used with only this Hierarchical Keyring with entryCapacity = 1000.CacheType cache()
CreateAwsKmsHierarchicalKeyringInput.Builder partitionId(java.lang.String partitionId)
partitionId - Partition ID to distinguish Cryptographic Material Providers (i.e: Keyrings) writing to a cache. If the Partition ID is the same for two Hierarchical Keyrings (or another Material Provider), they can share the same cache entries in the cache.java.lang.String partitionId()
CreateAwsKmsHierarchicalKeyringInput build()