public static interface KeyMetadata.Builder extends SdkPojo, CopyableBuilder<KeyMetadata.Builder,KeyMetadata>
| Modifier and Type | Method and Description |
|---|---|
KeyMetadata.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the KMS key.
|
KeyMetadata.Builder |
awsAccountId(String awsAccountId)
The twelve-digit account ID of the Amazon Web Services account that owns the KMS key.
|
KeyMetadata.Builder |
cloudHsmClusterId(String cloudHsmClusterId)
The cluster ID of the CloudHSM cluster that contains the key material for the KMS key.
|
KeyMetadata.Builder |
creationDate(Instant creationDate)
The date and time when the KMS key was created.
|
KeyMetadata.Builder |
customerMasterKeySpec(CustomerMasterKeySpec customerMasterKeySpec)
Deprecated.
This field has been deprecated. Instead, use the KeySpec field.
|
KeyMetadata.Builder |
customerMasterKeySpec(String customerMasterKeySpec)
Deprecated.
This field has been deprecated. Instead, use the KeySpec field.
|
KeyMetadata.Builder |
customKeyStoreId(String customKeyStoreId)
A unique identifier for the custom key
store that contains the KMS key.
|
KeyMetadata.Builder |
deletionDate(Instant deletionDate)
The date and time after which KMS deletes this KMS key.
|
KeyMetadata.Builder |
description(String description)
The description of the KMS key.
|
KeyMetadata.Builder |
enabled(Boolean enabled)
Specifies whether the KMS key is enabled.
|
KeyMetadata.Builder |
encryptionAlgorithms(Collection<EncryptionAlgorithmSpec> encryptionAlgorithms)
The encryption algorithms that the KMS key supports.
|
KeyMetadata.Builder |
encryptionAlgorithms(EncryptionAlgorithmSpec... encryptionAlgorithms)
The encryption algorithms that the KMS key supports.
|
KeyMetadata.Builder |
encryptionAlgorithmsWithStrings(Collection<String> encryptionAlgorithms)
The encryption algorithms that the KMS key supports.
|
KeyMetadata.Builder |
encryptionAlgorithmsWithStrings(String... encryptionAlgorithms)
The encryption algorithms that the KMS key supports.
|
KeyMetadata.Builder |
expirationModel(ExpirationModelType expirationModel)
Specifies whether the KMS key's key material expires.
|
KeyMetadata.Builder |
expirationModel(String expirationModel)
Specifies whether the KMS key's key material expires.
|
KeyMetadata.Builder |
keyId(String keyId)
The globally unique identifier for the KMS key.
|
KeyMetadata.Builder |
keyManager(KeyManagerType keyManager)
The manager of the KMS key.
|
KeyMetadata.Builder |
keyManager(String keyManager)
The manager of the KMS key.
|
KeyMetadata.Builder |
keySpec(KeySpec keySpec)
Describes the type of key material in the KMS key.
|
KeyMetadata.Builder |
keySpec(String keySpec)
Describes the type of key material in the KMS key.
|
KeyMetadata.Builder |
keyState(KeyState keyState)
The current status of the KMS key.
|
KeyMetadata.Builder |
keyState(String keyState)
The current status of the KMS key.
|
KeyMetadata.Builder |
keyUsage(KeyUsageType keyUsage)
The
cryptographic operations for which you can use the KMS key.
|
KeyMetadata.Builder |
keyUsage(String keyUsage)
The
cryptographic operations for which you can use the KMS key.
|
KeyMetadata.Builder |
macAlgorithms(Collection<MacAlgorithmSpec> macAlgorithms)
The message authentication code (MAC) algorithm that the HMAC KMS key supports.
|
KeyMetadata.Builder |
macAlgorithms(MacAlgorithmSpec... macAlgorithms)
The message authentication code (MAC) algorithm that the HMAC KMS key supports.
|
KeyMetadata.Builder |
macAlgorithmsWithStrings(Collection<String> macAlgorithms)
The message authentication code (MAC) algorithm that the HMAC KMS key supports.
|
KeyMetadata.Builder |
macAlgorithmsWithStrings(String... macAlgorithms)
The message authentication code (MAC) algorithm that the HMAC KMS key supports.
|
KeyMetadata.Builder |
multiRegion(Boolean multiRegion)
Indicates whether the KMS key is a multi-Region (
True) or regional (False) key. |
default KeyMetadata.Builder |
multiRegionConfiguration(Consumer<MultiRegionConfiguration.Builder> multiRegionConfiguration)
Lists the primary and replica keys in same multi-Region key.
|
KeyMetadata.Builder |
multiRegionConfiguration(MultiRegionConfiguration multiRegionConfiguration)
Lists the primary and replica keys in same multi-Region key.
|
KeyMetadata.Builder |
origin(OriginType origin)
The source of the key material for the KMS key.
|
KeyMetadata.Builder |
origin(String origin)
The source of the key material for the KMS key.
|
KeyMetadata.Builder |
pendingDeletionWindowInDays(Integer pendingDeletionWindowInDays)
The waiting period before the primary key in a multi-Region key is deleted.
|
KeyMetadata.Builder |
signingAlgorithms(Collection<SigningAlgorithmSpec> signingAlgorithms)
The signing algorithms that the KMS key supports.
|
KeyMetadata.Builder |
signingAlgorithms(SigningAlgorithmSpec... signingAlgorithms)
The signing algorithms that the KMS key supports.
|
KeyMetadata.Builder |
signingAlgorithmsWithStrings(Collection<String> signingAlgorithms)
The signing algorithms that the KMS key supports.
|
KeyMetadata.Builder |
signingAlgorithmsWithStrings(String... signingAlgorithms)
The signing algorithms that the KMS key supports.
|
KeyMetadata.Builder |
validTo(Instant validTo)
The time at which the imported key material expires.
|
default KeyMetadata.Builder |
xksKeyConfiguration(Consumer<XksKeyConfigurationType.Builder> xksKeyConfiguration)
Information about the external key that is associated with a KMS key in an external key store.
|
KeyMetadata.Builder |
xksKeyConfiguration(XksKeyConfigurationType xksKeyConfiguration)
Information about the external key that is associated with a KMS key in an external key store.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildKeyMetadata.Builder awsAccountId(String awsAccountId)
The twelve-digit account ID of the Amazon Web Services account that owns the KMS key.
awsAccountId - The twelve-digit account ID of the Amazon Web Services account that owns the KMS key.KeyMetadata.Builder keyId(String keyId)
The globally unique identifier for the KMS key.
keyId - The globally unique identifier for the KMS key.KeyMetadata.Builder arn(String arn)
The Amazon Resource Name (ARN) of the KMS key. For examples, see Key Management Service (KMS) in the Example ARNs section of the Amazon Web Services General Reference.
arn - The Amazon Resource Name (ARN) of the KMS key. For examples, see Key
Management Service (KMS) in the Example ARNs section of the Amazon Web Services General
Reference.KeyMetadata.Builder creationDate(Instant creationDate)
The date and time when the KMS key was created.
creationDate - The date and time when the KMS key was created.KeyMetadata.Builder enabled(Boolean enabled)
Specifies whether the KMS key is enabled. When KeyState is Enabled this value is
true, otherwise it is false.
enabled - Specifies whether the KMS key is enabled. When KeyState is Enabled this
value is true, otherwise it is false.KeyMetadata.Builder description(String description)
The description of the KMS key.
description - The description of the KMS key.KeyMetadata.Builder keyUsage(String keyUsage)
The cryptographic operations for which you can use the KMS key.
keyUsage - The cryptographic operations for which you can use the KMS key.KeyUsageType,
KeyUsageTypeKeyMetadata.Builder keyUsage(KeyUsageType keyUsage)
The cryptographic operations for which you can use the KMS key.
keyUsage - The cryptographic operations for which you can use the KMS key.KeyUsageType,
KeyUsageTypeKeyMetadata.Builder keyState(String keyState)
The current status of the KMS key.
For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.
keyState - The current status of the KMS key.
For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.
KeyState,
KeyStateKeyMetadata.Builder keyState(KeyState keyState)
The current status of the KMS key.
For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.
keyState - The current status of the KMS key.
For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.
KeyState,
KeyStateKeyMetadata.Builder deletionDate(Instant deletionDate)
The date and time after which KMS deletes this KMS key. This value is present only when the KMS key is
scheduled for deletion, that is, when its KeyState is PendingDeletion.
When the primary key in a multi-Region key is scheduled for deletion but still has replica keys, its key
state is PendingReplicaDeletion and the length of its waiting period is displayed in the
PendingDeletionWindowInDays field.
deletionDate - The date and time after which KMS deletes this KMS key. This value is present only when the KMS key is
scheduled for deletion, that is, when its KeyState is PendingDeletion.
When the primary key in a multi-Region key is scheduled for deletion but still has replica keys, its
key state is PendingReplicaDeletion and the length of its waiting period is displayed in
the PendingDeletionWindowInDays field.
KeyMetadata.Builder validTo(Instant validTo)
The time at which the imported key material expires. When the key material expires, KMS deletes the key
material and the KMS key becomes unusable. This value is present only for KMS keys whose Origin
is EXTERNAL and whose ExpirationModel is KEY_MATERIAL_EXPIRES,
otherwise this value is omitted.
validTo - The time at which the imported key material expires. When the key material expires, KMS deletes the
key material and the KMS key becomes unusable. This value is present only for KMS keys whose
Origin is EXTERNAL and whose ExpirationModel is
KEY_MATERIAL_EXPIRES, otherwise this value is omitted.KeyMetadata.Builder origin(String origin)
The source of the key material for the KMS key. When this value is AWS_KMS, KMS created the key
material. When this value is EXTERNAL, the key material was imported or the KMS key doesn't have
any key material. When this value is AWS_CLOUDHSM, the key material was created in the CloudHSM
cluster associated with a custom key store.
origin - The source of the key material for the KMS key. When this value is AWS_KMS, KMS created
the key material. When this value is EXTERNAL, the key material was imported or the KMS
key doesn't have any key material. When this value is AWS_CLOUDHSM, the key material was
created in the CloudHSM cluster associated with a custom key store.OriginType,
OriginTypeKeyMetadata.Builder origin(OriginType origin)
The source of the key material for the KMS key. When this value is AWS_KMS, KMS created the key
material. When this value is EXTERNAL, the key material was imported or the KMS key doesn't have
any key material. When this value is AWS_CLOUDHSM, the key material was created in the CloudHSM
cluster associated with a custom key store.
origin - The source of the key material for the KMS key. When this value is AWS_KMS, KMS created
the key material. When this value is EXTERNAL, the key material was imported or the KMS
key doesn't have any key material. When this value is AWS_CLOUDHSM, the key material was
created in the CloudHSM cluster associated with a custom key store.OriginType,
OriginTypeKeyMetadata.Builder customKeyStoreId(String customKeyStoreId)
A unique identifier for the custom key store that contains the KMS key. This field is present only when the KMS key is created in a custom key store.
customKeyStoreId - A unique identifier for the custom key
store that contains the KMS key. This field is present only when the KMS key is created in a
custom key store.KeyMetadata.Builder cloudHsmClusterId(String cloudHsmClusterId)
The cluster ID of the CloudHSM cluster that contains the key material for the KMS key. When you create a KMS key in an CloudHSM custom key store, KMS creates the key material for the KMS key in the associated CloudHSM cluster. This field is present only when the KMS key is created in an CloudHSM key store.
cloudHsmClusterId - The cluster ID of the CloudHSM cluster that contains the key material for the KMS key. When you create
a KMS key in an CloudHSM custom key
store, KMS creates the key material for the KMS key in the associated CloudHSM cluster. This field
is present only when the KMS key is created in an CloudHSM key store.KeyMetadata.Builder expirationModel(String expirationModel)
Specifies whether the KMS key's key material expires. This value is present only when Origin is
EXTERNAL, otherwise this value is omitted.
expirationModel - Specifies whether the KMS key's key material expires. This value is present only when
Origin is EXTERNAL, otherwise this value is omitted.ExpirationModelType,
ExpirationModelTypeKeyMetadata.Builder expirationModel(ExpirationModelType expirationModel)
Specifies whether the KMS key's key material expires. This value is present only when Origin is
EXTERNAL, otherwise this value is omitted.
expirationModel - Specifies whether the KMS key's key material expires. This value is present only when
Origin is EXTERNAL, otherwise this value is omitted.ExpirationModelType,
ExpirationModelTypeKeyMetadata.Builder keyManager(String keyManager)
The manager of the KMS key. KMS keys in your Amazon Web Services account are either customer managed or Amazon Web Services managed. For more information about the difference, see KMS keys in the Key Management Service Developer Guide.
keyManager - The manager of the KMS key. KMS keys in your Amazon Web Services account are either customer managed
or Amazon Web Services managed. For more information about the difference, see KMS keys in
the Key Management Service Developer Guide.KeyManagerType,
KeyManagerTypeKeyMetadata.Builder keyManager(KeyManagerType keyManager)
The manager of the KMS key. KMS keys in your Amazon Web Services account are either customer managed or Amazon Web Services managed. For more information about the difference, see KMS keys in the Key Management Service Developer Guide.
keyManager - The manager of the KMS key. KMS keys in your Amazon Web Services account are either customer managed
or Amazon Web Services managed. For more information about the difference, see KMS keys in
the Key Management Service Developer Guide.KeyManagerType,
KeyManagerType@Deprecated KeyMetadata.Builder customerMasterKeySpec(String customerMasterKeySpec)
Instead, use the KeySpec field.
The KeySpec and CustomerMasterKeySpec fields have the same value. We recommend that
you use the KeySpec field in your code. However, to avoid breaking changes, KMS supports both
fields.
customerMasterKeySpec - Instead, use the KeySpec field.
The KeySpec and CustomerMasterKeySpec fields have the same value. We
recommend that you use the KeySpec field in your code. However, to avoid breaking
changes, KMS supports both fields.
CustomerMasterKeySpec,
CustomerMasterKeySpec@Deprecated KeyMetadata.Builder customerMasterKeySpec(CustomerMasterKeySpec customerMasterKeySpec)
Instead, use the KeySpec field.
The KeySpec and CustomerMasterKeySpec fields have the same value. We recommend that
you use the KeySpec field in your code. However, to avoid breaking changes, KMS supports both
fields.
customerMasterKeySpec - Instead, use the KeySpec field.
The KeySpec and CustomerMasterKeySpec fields have the same value. We
recommend that you use the KeySpec field in your code. However, to avoid breaking
changes, KMS supports both fields.
CustomerMasterKeySpec,
CustomerMasterKeySpecKeyMetadata.Builder keySpec(String keySpec)
Describes the type of key material in the KMS key.
KeyMetadata.Builder keySpec(KeySpec keySpec)
Describes the type of key material in the KMS key.
KeyMetadata.Builder encryptionAlgorithmsWithStrings(Collection<String> encryptionAlgorithms)
The encryption algorithms that the KMS key supports. You cannot use the KMS key with other encryption algorithms within KMS.
This value is present only when the KeyUsage of the KMS key is ENCRYPT_DECRYPT.
encryptionAlgorithms - The encryption algorithms that the KMS key supports. You cannot use the KMS key with other encryption
algorithms within KMS.
This value is present only when the KeyUsage of the KMS key is
ENCRYPT_DECRYPT.
KeyMetadata.Builder encryptionAlgorithmsWithStrings(String... encryptionAlgorithms)
The encryption algorithms that the KMS key supports. You cannot use the KMS key with other encryption algorithms within KMS.
This value is present only when the KeyUsage of the KMS key is ENCRYPT_DECRYPT.
encryptionAlgorithms - The encryption algorithms that the KMS key supports. You cannot use the KMS key with other encryption
algorithms within KMS.
This value is present only when the KeyUsage of the KMS key is
ENCRYPT_DECRYPT.
KeyMetadata.Builder encryptionAlgorithms(Collection<EncryptionAlgorithmSpec> encryptionAlgorithms)
The encryption algorithms that the KMS key supports. You cannot use the KMS key with other encryption algorithms within KMS.
This value is present only when the KeyUsage of the KMS key is ENCRYPT_DECRYPT.
encryptionAlgorithms - The encryption algorithms that the KMS key supports. You cannot use the KMS key with other encryption
algorithms within KMS.
This value is present only when the KeyUsage of the KMS key is
ENCRYPT_DECRYPT.
KeyMetadata.Builder encryptionAlgorithms(EncryptionAlgorithmSpec... encryptionAlgorithms)
The encryption algorithms that the KMS key supports. You cannot use the KMS key with other encryption algorithms within KMS.
This value is present only when the KeyUsage of the KMS key is ENCRYPT_DECRYPT.
encryptionAlgorithms - The encryption algorithms that the KMS key supports. You cannot use the KMS key with other encryption
algorithms within KMS.
This value is present only when the KeyUsage of the KMS key is
ENCRYPT_DECRYPT.
KeyMetadata.Builder signingAlgorithmsWithStrings(Collection<String> signingAlgorithms)
The signing algorithms that the KMS key supports. You cannot use the KMS key with other signing algorithms within KMS.
This field appears only when the KeyUsage of the KMS key is SIGN_VERIFY.
signingAlgorithms - The signing algorithms that the KMS key supports. You cannot use the KMS key with other signing
algorithms within KMS.
This field appears only when the KeyUsage of the KMS key is SIGN_VERIFY.
KeyMetadata.Builder signingAlgorithmsWithStrings(String... signingAlgorithms)
The signing algorithms that the KMS key supports. You cannot use the KMS key with other signing algorithms within KMS.
This field appears only when the KeyUsage of the KMS key is SIGN_VERIFY.
signingAlgorithms - The signing algorithms that the KMS key supports. You cannot use the KMS key with other signing
algorithms within KMS.
This field appears only when the KeyUsage of the KMS key is SIGN_VERIFY.
KeyMetadata.Builder signingAlgorithms(Collection<SigningAlgorithmSpec> signingAlgorithms)
The signing algorithms that the KMS key supports. You cannot use the KMS key with other signing algorithms within KMS.
This field appears only when the KeyUsage of the KMS key is SIGN_VERIFY.
signingAlgorithms - The signing algorithms that the KMS key supports. You cannot use the KMS key with other signing
algorithms within KMS.
This field appears only when the KeyUsage of the KMS key is SIGN_VERIFY.
KeyMetadata.Builder signingAlgorithms(SigningAlgorithmSpec... signingAlgorithms)
The signing algorithms that the KMS key supports. You cannot use the KMS key with other signing algorithms within KMS.
This field appears only when the KeyUsage of the KMS key is SIGN_VERIFY.
signingAlgorithms - The signing algorithms that the KMS key supports. You cannot use the KMS key with other signing
algorithms within KMS.
This field appears only when the KeyUsage of the KMS key is SIGN_VERIFY.
KeyMetadata.Builder multiRegion(Boolean multiRegion)
Indicates whether the KMS key is a multi-Region (True) or regional (False) key.
This value is True for multi-Region primary and replica keys and False for regional
KMS keys.
For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.
multiRegion - Indicates whether the KMS key is a multi-Region (True) or regional (False)
key. This value is True for multi-Region primary and replica keys and False
for regional KMS keys.
For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.
KeyMetadata.Builder multiRegionConfiguration(MultiRegionConfiguration multiRegionConfiguration)
Lists the primary and replica keys in same multi-Region key. This field is present only when the value of the
MultiRegion field is True.
For more information about any listed KMS key, use the DescribeKey operation.
MultiRegionKeyType indicates whether the KMS key is a PRIMARY or
REPLICA key.
PrimaryKey displays the key ARN and Region of the primary key. This field displays the current
KMS key if it is the primary key.
ReplicaKeys displays the key ARNs and Regions of all replica keys. This field includes the
current KMS key if it is a replica key.
multiRegionConfiguration - Lists the primary and replica keys in same multi-Region key. This field is present only when the value
of the MultiRegion field is True.
For more information about any listed KMS key, use the DescribeKey operation.
MultiRegionKeyType indicates whether the KMS key is a PRIMARY or
REPLICA key.
PrimaryKey displays the key ARN and Region of the primary key. This field displays the
current KMS key if it is the primary key.
ReplicaKeys displays the key ARNs and Regions of all replica keys. This field includes
the current KMS key if it is a replica key.
default KeyMetadata.Builder multiRegionConfiguration(Consumer<MultiRegionConfiguration.Builder> multiRegionConfiguration)
Lists the primary and replica keys in same multi-Region key. This field is present only when the value of the
MultiRegion field is True.
For more information about any listed KMS key, use the DescribeKey operation.
MultiRegionKeyType indicates whether the KMS key is a PRIMARY or
REPLICA key.
PrimaryKey displays the key ARN and Region of the primary key. This field displays the current
KMS key if it is the primary key.
ReplicaKeys displays the key ARNs and Regions of all replica keys. This field includes the
current KMS key if it is a replica key.
MultiRegionConfiguration.Builder
avoiding the need to create one manually via MultiRegionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to multiRegionConfiguration(MultiRegionConfiguration).
multiRegionConfiguration - a consumer that will call methods on MultiRegionConfiguration.BuildermultiRegionConfiguration(MultiRegionConfiguration)KeyMetadata.Builder pendingDeletionWindowInDays(Integer pendingDeletionWindowInDays)
The waiting period before the primary key in a multi-Region key is deleted. This waiting period begins when
the last of its replica keys is deleted. This value is present only when the KeyState of the KMS
key is PendingReplicaDeletion. That indicates that the KMS key is the primary key in a
multi-Region key, it is scheduled for deletion, and it still has existing replica keys.
When a single-Region KMS key or a multi-Region replica key is scheduled for deletion, its deletion date is
displayed in the DeletionDate field. However, when the primary key in a multi-Region key is
scheduled for deletion, its waiting period doesn't begin until all of its replica keys are deleted. This
value displays that waiting period. When the last replica key in the multi-Region key is deleted, the
KeyState of the scheduled primary key changes from PendingReplicaDeletion to
PendingDeletion and the deletion date appears in the DeletionDate field.
pendingDeletionWindowInDays - The waiting period before the primary key in a multi-Region key is deleted. This waiting period begins
when the last of its replica keys is deleted. This value is present only when the
KeyState of the KMS key is PendingReplicaDeletion. That indicates that the
KMS key is the primary key in a multi-Region key, it is scheduled for deletion, and it still has
existing replica keys.
When a single-Region KMS key or a multi-Region replica key is scheduled for deletion, its deletion
date is displayed in the DeletionDate field. However, when the primary key in a
multi-Region key is scheduled for deletion, its waiting period doesn't begin until all of its replica
keys are deleted. This value displays that waiting period. When the last replica key in the
multi-Region key is deleted, the KeyState of the scheduled primary key changes from
PendingReplicaDeletion to PendingDeletion and the deletion date appears in
the DeletionDate field.
KeyMetadata.Builder macAlgorithmsWithStrings(Collection<String> macAlgorithms)
The message authentication code (MAC) algorithm that the HMAC KMS key supports.
This value is present only when the KeyUsage of the KMS key is GENERATE_VERIFY_MAC.
macAlgorithms - The message authentication code (MAC) algorithm that the HMAC KMS key supports.
This value is present only when the KeyUsage of the KMS key is
GENERATE_VERIFY_MAC.
KeyMetadata.Builder macAlgorithmsWithStrings(String... macAlgorithms)
The message authentication code (MAC) algorithm that the HMAC KMS key supports.
This value is present only when the KeyUsage of the KMS key is GENERATE_VERIFY_MAC.
macAlgorithms - The message authentication code (MAC) algorithm that the HMAC KMS key supports.
This value is present only when the KeyUsage of the KMS key is
GENERATE_VERIFY_MAC.
KeyMetadata.Builder macAlgorithms(Collection<MacAlgorithmSpec> macAlgorithms)
The message authentication code (MAC) algorithm that the HMAC KMS key supports.
This value is present only when the KeyUsage of the KMS key is GENERATE_VERIFY_MAC.
macAlgorithms - The message authentication code (MAC) algorithm that the HMAC KMS key supports.
This value is present only when the KeyUsage of the KMS key is
GENERATE_VERIFY_MAC.
KeyMetadata.Builder macAlgorithms(MacAlgorithmSpec... macAlgorithms)
The message authentication code (MAC) algorithm that the HMAC KMS key supports.
This value is present only when the KeyUsage of the KMS key is GENERATE_VERIFY_MAC.
macAlgorithms - The message authentication code (MAC) algorithm that the HMAC KMS key supports.
This value is present only when the KeyUsage of the KMS key is
GENERATE_VERIFY_MAC.
KeyMetadata.Builder xksKeyConfiguration(XksKeyConfigurationType xksKeyConfiguration)
Information about the external key that is associated with a KMS key in an external key store.
For more information, see External key in the Key Management Service Developer Guide.
xksKeyConfiguration - Information about the external key that is associated with a KMS key in an external key store.
For more information, see External key in the Key Management Service Developer Guide.
default KeyMetadata.Builder xksKeyConfiguration(Consumer<XksKeyConfigurationType.Builder> xksKeyConfiguration)
Information about the external key that is associated with a KMS key in an external key store.
For more information, see External key in the Key Management Service Developer Guide.
This is a convenience method that creates an instance of theXksKeyConfigurationType.Builder avoiding
the need to create one manually via XksKeyConfigurationType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to xksKeyConfiguration(XksKeyConfigurationType).
xksKeyConfiguration - a consumer that will call methods on XksKeyConfigurationType.BuilderxksKeyConfiguration(XksKeyConfigurationType)Copyright © 2023. All rights reserved.