| Package | Description |
|---|---|
| software.amazon.awssdk.services.kms.model |
| Modifier and Type | Method and Description |
|---|---|
KeyMetadata.Builder |
KeyMetadata.Builder.arn(String arn)
The Amazon Resource Name (ARN) of the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.awsAccountId(String awsAccountId)
The twelve-digit account ID of the AWS account that owns the CMK.
|
static KeyMetadata.Builder |
KeyMetadata.builder() |
KeyMetadata.Builder |
KeyMetadata.Builder.cloudHsmClusterId(String cloudHsmClusterId)
The cluster ID of the AWS CloudHSM cluster that contains the key material for the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.creationDate(Instant creationDate)
The date and time when the CMK was created.
|
KeyMetadata.Builder |
KeyMetadata.Builder.customerMasterKeySpec(CustomerMasterKeySpec customerMasterKeySpec)
Describes the type of key material in the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.customerMasterKeySpec(String customerMasterKeySpec)
Describes the type of key material in the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.customKeyStoreId(String customKeyStoreId)
A unique identifier for the custom key
store that contains the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.deletionDate(Instant deletionDate)
The date and time after which AWS KMS deletes the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.description(String description)
The description of the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.enabled(Boolean enabled)
Specifies whether the CMK is enabled.
|
KeyMetadata.Builder |
KeyMetadata.Builder.encryptionAlgorithms(Collection<EncryptionAlgorithmSpec> encryptionAlgorithms)
The encryption algorithms that the CMK supports.
|
KeyMetadata.Builder |
KeyMetadata.Builder.encryptionAlgorithms(EncryptionAlgorithmSpec... encryptionAlgorithms)
The encryption algorithms that the CMK supports.
|
KeyMetadata.Builder |
KeyMetadata.Builder.encryptionAlgorithmsWithStrings(Collection<String> encryptionAlgorithms)
The encryption algorithms that the CMK supports.
|
KeyMetadata.Builder |
KeyMetadata.Builder.encryptionAlgorithmsWithStrings(String... encryptionAlgorithms)
The encryption algorithms that the CMK supports.
|
KeyMetadata.Builder |
KeyMetadata.Builder.expirationModel(ExpirationModelType expirationModel)
Specifies whether the CMK's key material expires.
|
KeyMetadata.Builder |
KeyMetadata.Builder.expirationModel(String expirationModel)
Specifies whether the CMK's key material expires.
|
KeyMetadata.Builder |
KeyMetadata.Builder.keyId(String keyId)
The globally unique identifier for the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.keyManager(KeyManagerType keyManager)
The manager of the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.keyManager(String keyManager)
The manager of the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.keyState(KeyState keyState)
The current status of the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.keyState(String keyState)
The current status of the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.keyUsage(KeyUsageType keyUsage)
The
cryptographic operations for which you can use the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.keyUsage(String keyUsage)
The
cryptographic operations for which you can use the CMK.
|
KeyMetadata.Builder |
KeyMetadata.Builder.origin(OriginType origin)
The source of the CMK's key material.
|
KeyMetadata.Builder |
KeyMetadata.Builder.origin(String origin)
The source of the CMK's key material.
|
KeyMetadata.Builder |
KeyMetadata.Builder.signingAlgorithms(Collection<SigningAlgorithmSpec> signingAlgorithms)
The signing algorithms that the CMK supports.
|
KeyMetadata.Builder |
KeyMetadata.Builder.signingAlgorithms(SigningAlgorithmSpec... signingAlgorithms)
The signing algorithms that the CMK supports.
|
KeyMetadata.Builder |
KeyMetadata.Builder.signingAlgorithmsWithStrings(Collection<String> signingAlgorithms)
The signing algorithms that the CMK supports.
|
KeyMetadata.Builder |
KeyMetadata.Builder.signingAlgorithmsWithStrings(String... signingAlgorithms)
The signing algorithms that the CMK supports.
|
KeyMetadata.Builder |
KeyMetadata.toBuilder() |
KeyMetadata.Builder |
KeyMetadata.Builder.validTo(Instant validTo)
The time at which the imported key material expires.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends KeyMetadata.Builder> |
KeyMetadata.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default CreateKeyResponse.Builder |
CreateKeyResponse.Builder.keyMetadata(Consumer<KeyMetadata.Builder> keyMetadata)
Metadata associated with the CMK.
|
default DescribeKeyResponse.Builder |
DescribeKeyResponse.Builder.keyMetadata(Consumer<KeyMetadata.Builder> keyMetadata)
Metadata associated with the key.
|
Copyright © 2021. All rights reserved.