primaryRegion
- Returns:
- The value of the PrimaryRegion property for this object.
Serializable
, SdkPojo
, ToCopyableBuilder<Key.Builder,Key>
Metadata about an Amazon Web Services Payment Cryptography key.
static Key.Builder
builder()
final Instant
final Instant
final Instant
final DeriveKeyUsage
final String
final Boolean
enabled()
final boolean
final boolean
equalsBySdkFields(Object obj)
final Boolean
final <T> Optional<T>
getValueForField(String fieldName,
Class<T> clazz)
final int
hashCode()
final boolean
final String
keyArn()
final KeyAttributes
final String
final KeyCheckValueAlgorithm
final String
final KeyOrigin
final String
final KeyState
keyState()
final String
final MultiRegionKeyType
final String
final String
final Map<String,ReplicationStatusType>
static Class<? extends Key.Builder>
final String
toString()
final Instant
final Instant
final Boolean
copy
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.
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.
If the service returns an enum value that is not available in the current SDK version,
keyCheckValueAlgorithm
will return KeyCheckValueAlgorithm.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from keyCheckValueAlgorithmAsString()
.
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.
If the service returns an enum value that is not available in the current SDK version,
keyCheckValueAlgorithm
will return KeyCheckValueAlgorithm.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from keyCheckValueAlgorithmAsString()
.
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.
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.
If the service returns an enum value that is not available in the current SDK version, keyState
will
return KeyState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
keyStateAsString()
.
The state of key that is being created or deleted.
If the service returns an enum value that is not available in the current SDK version, keyState
will
return KeyState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
keyStateAsString()
.
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
.
If the service returns an enum value that is not available in the current SDK version, keyOrigin
will
return KeyOrigin.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
keyOriginAsString()
.
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
.
If the service returns an enum value that is not available in the current SDK version, keyOrigin
will
return KeyOrigin.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
keyOriginAsString()
.
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.
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.
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.
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.
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.
If the service returns an enum value that is not available in the current SDK version, deriveKeyUsage
will return DeriveKeyUsage.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deriveKeyUsageAsString()
.
The cryptographic usage of an ECDH derived key as defined in section A.5.2 of the TR-31 spec.
If the service returns an enum value that is not available in the current SDK version, deriveKeyUsage
will return DeriveKeyUsage.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deriveKeyUsageAsString()
.
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).
If the service returns an enum value that is not available in the current SDK version,
multiRegionKeyType
will return MultiRegionKeyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from multiRegionKeyTypeAsString()
.
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).
If the service returns an enum value that is not available in the current SDK version,
multiRegionKeyType
will return MultiRegionKeyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from multiRegionKeyTypeAsString()
.
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).
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasReplicationStatus()
method.
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.
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.
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Key.Builder,Key>
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withsdkFieldNameToField
in interface SdkPojo