primaryRegion
- Parameters:
primaryRegion
- The new value for the PrimaryRegion property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
Buildable
, CopyableBuilder<Key.Builder,Key>
, SdkBuilder<Key.Builder,Key>
, SdkPojo
Key
createTimestamp(Instant createTimestamp)
deletePendingTimestamp(Instant deletePendingTimestamp)
deleteTimestamp(Instant deleteTimestamp)
deriveKeyUsage(String deriveKeyUsage)
deriveKeyUsage(DeriveKeyUsage deriveKeyUsage)
exportable(Boolean exportable)
default Key.Builder
keyAttributes(Consumer<KeyAttributes.Builder> keyAttributes)
keyAttributes(KeyAttributes keyAttributes)
keyCheckValue(String keyCheckValue)
keyCheckValueAlgorithm(String keyCheckValueAlgorithm)
keyCheckValueAlgorithm(KeyCheckValueAlgorithm keyCheckValueAlgorithm)
multiRegionKeyType(String multiRegionKeyType)
multiRegionKeyType(MultiRegionKeyType multiRegionKeyType)
primaryRegion(String primaryRegion)
replicationStatus(Map<String,ReplicationStatusType> replicationStatus)
usageStartTimestamp(Instant usageStartTimestamp)
usageStopTimestamp(Instant usageStopTimestamp)
usingDefaultReplicationRegions(Boolean usingDefaultReplicationRegions)
copy
applyMutation, build
equalsBySdkFields, sdkFieldNameToField, sdkFields
The Amazon Resource Name (ARN) of the key.
keyArn
- The Amazon Resource Name (ARN) of the key.The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
keyAttributes
- The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
This data is immutable after the key is created.The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
This is a convenience method that creates an instance of theKeyAttributes.Builder
avoiding the need
to create one manually via KeyAttributes.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to keyAttributes(KeyAttributes)
.
keyAttributes
- a consumer that will call methods on KeyAttributes.Builder
The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
keyCheckValue
- The key check value (KCV) is used to check if all parties holding a given key have the same key or to
detect that a key has changed.The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
keyCheckValueAlgorithm
- The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value
(KCV). It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
keyCheckValueAlgorithm
- The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value
(KCV). It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
Specifies whether the key is enabled.
enabled
- Specifies whether the key is enabled.Specifies whether the key is exportable. This data is immutable after the key is created.
exportable
- Specifies whether the key is exportable. This data is immutable after the key is created.The state of key that is being created or deleted.
keyState
- The state of key that is being created or deleted.The state of key that is being created or deleted.
keyState
- The state of key that is being created or deleted.
The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the value
is AWS_PAYMENT_CRYPTOGRAPHY
. For keys imported into Amazon Web Services Payment Cryptography,
the value is EXTERNAL
.
keyOrigin
- The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the
value is AWS_PAYMENT_CRYPTOGRAPHY
. For keys imported into Amazon Web Services Payment
Cryptography, the value is EXTERNAL
.
The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the value
is AWS_PAYMENT_CRYPTOGRAPHY
. For keys imported into Amazon Web Services Payment Cryptography,
the value is EXTERNAL
.
keyOrigin
- The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the
value is AWS_PAYMENT_CRYPTOGRAPHY
. For keys imported into Amazon Web Services Payment
Cryptography, the value is EXTERNAL
.The date and time when the key was created.
createTimestamp
- The date and time when the key was created.The date and time after which Amazon Web Services Payment Cryptography will start using the key material for cryptographic operations.
usageStartTimestamp
- The date and time after which Amazon Web Services Payment Cryptography will start using the key
material for cryptographic operations.The date and time after which Amazon Web Services Payment Cryptography will stop using the key material for cryptographic operations.
usageStopTimestamp
- The date and time after which Amazon Web Services Payment Cryptography will stop using the key
material for cryptographic operations.
The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is
present only when KeyState
is DELETE_PENDING
and the key is scheduled for deletion.
deletePendingTimestamp
- The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value
is present only when KeyState
is DELETE_PENDING
and the key is scheduled for
deletion.
The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is
present only when when the KeyState
is DELETE_COMPLETE
and the Amazon Web Services
Payment Cryptography key is deleted.
deleteTimestamp
- The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value
is present only when when the KeyState
is DELETE_COMPLETE
and the Amazon Web
Services Payment Cryptography key is deleted.The cryptographic usage of an ECDH derived key as defined in section A.5.2 of the TR-31 spec.
deriveKeyUsage
- The cryptographic usage of an ECDH derived key as defined in section A.5.2 of the TR-31 spec.The cryptographic usage of an ECDH derived key as defined in section A.5.2 of the TR-31 spec.
deriveKeyUsage
- The cryptographic usage of an ECDH derived key as defined in section A.5.2 of the TR-31 spec.Indicates whether this key is a multi-region key and its role in the multi-region key hierarchy.
Multi-region keys allow the same key material to be used across multiple Amazon Web Services Regions. This field specifies whether the key is a primary key (which can be replicated to other regions) or a replica key (which is a copy of a primary key in another region).
multiRegionKeyType
- Indicates whether this key is a multi-region key and its role in the multi-region key hierarchy.
Multi-region keys allow the same key material to be used across multiple Amazon Web Services Regions. This field specifies whether the key is a primary key (which can be replicated to other regions) or a replica key (which is a copy of a primary key in another region).
Indicates whether this key is a multi-region key and its role in the multi-region key hierarchy.
Multi-region keys allow the same key material to be used across multiple Amazon Web Services Regions. This field specifies whether the key is a primary key (which can be replicated to other regions) or a replica key (which is a copy of a primary key in another region).
multiRegionKeyType
- Indicates whether this key is a multi-region key and its role in the multi-region key hierarchy.
Multi-region keys allow the same key material to be used across multiple Amazon Web Services Regions. This field specifies whether the key is a primary key (which can be replicated to other regions) or a replica key (which is a copy of a primary key in another region).
primaryRegion
- The new value for the PrimaryRegion property for this object.Information about the replication status of the key across different regions.
This field provides details about the current state of key replication, including any status messages or operational information. It helps track the progress and health of key replication operations.
replicationStatus
- Information about the replication status of the key across different regions.
This field provides details about the current state of key replication, including any status messages or operational information. It helps track the progress and health of key replication operations.
Indicates whether this key is using the account's default replication regions configuration.
When set to true
, the key automatically replicates to the regions specified in the account's
default replication settings. When set to false
, the key has a custom replication configuration
that overrides the account defaults.
usingDefaultReplicationRegions
- Indicates whether this key is using the account's default replication regions configuration.
When set to true
, the key automatically replicates to the regions specified in the
account's default replication settings. When set to false
, the key has a custom
replication configuration that overrides the account defaults.