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) |
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 - Which type of local cache to use.CacheType cache()
CreateAwsKmsHierarchicalKeyringInput build()