public static interface ImportKeyRequest.Builder extends PaymentCryptographyRequest.Builder, SdkPojo, CopyableBuilder<ImportKeyRequest.Builder,ImportKeyRequest>
| Modifier and Type | Method and Description |
|---|---|
ImportKeyRequest.Builder |
enabled(Boolean enabled)
Specifies whether import key is enabled.
|
ImportKeyRequest.Builder |
keyCheckValueAlgorithm(KeyCheckValueAlgorithm keyCheckValueAlgorithm)
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV) for
DES and AES keys.
|
ImportKeyRequest.Builder |
keyCheckValueAlgorithm(String keyCheckValueAlgorithm)
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV) for
DES and AES keys.
|
default ImportKeyRequest.Builder |
keyMaterial(Consumer<ImportKeyMaterial.Builder> keyMaterial)
The key or public key certificate type to use during key material import, for example TR-34 or
RootCertificatePublicKey.
|
ImportKeyRequest.Builder |
keyMaterial(ImportKeyMaterial keyMaterial)
The key or public key certificate type to use during key material import, for example TR-34 or
RootCertificatePublicKey.
|
ImportKeyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ImportKeyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ImportKeyRequest.Builder |
tags(Collection<Tag> tags)
The tags to attach to the key.
|
ImportKeyRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to attach to the key.
|
ImportKeyRequest.Builder |
tags(Tag... tags)
The tags to attach to the key.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildImportKeyRequest.Builder enabled(Boolean enabled)
Specifies whether import key is enabled.
enabled - Specifies whether import key is enabled.ImportKeyRequest.Builder keyCheckValueAlgorithm(String keyCheckValueAlgorithm)
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV) for DES and AES keys.
For DES key, the KCV is computed by encrypting 8 bytes, each with value '00', with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES key, the KCV is computed by encrypting 8 bytes, each with value '01', with the key to be checked 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) for DES and AES keys.
For DES key, the KCV is computed by encrypting 8 bytes, each with value '00', with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES key, the KCV is computed by encrypting 8 bytes, each with value '01', with the key to be checked and retaining the 3 highest order bytes of the encrypted result.
KeyCheckValueAlgorithm,
KeyCheckValueAlgorithmImportKeyRequest.Builder keyCheckValueAlgorithm(KeyCheckValueAlgorithm keyCheckValueAlgorithm)
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV) for DES and AES keys.
For DES key, the KCV is computed by encrypting 8 bytes, each with value '00', with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES key, the KCV is computed by encrypting 8 bytes, each with value '01', with the key to be checked 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) for DES and AES keys.
For DES key, the KCV is computed by encrypting 8 bytes, each with value '00', with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES key, the KCV is computed by encrypting 8 bytes, each with value '01', with the key to be checked and retaining the 3 highest order bytes of the encrypted result.
KeyCheckValueAlgorithm,
KeyCheckValueAlgorithmImportKeyRequest.Builder keyMaterial(ImportKeyMaterial keyMaterial)
The key or public key certificate type to use during key material import, for example TR-34 or RootCertificatePublicKey.
keyMaterial - The key or public key certificate type to use during key material import, for example TR-34 or
RootCertificatePublicKey.default ImportKeyRequest.Builder keyMaterial(Consumer<ImportKeyMaterial.Builder> keyMaterial)
The key or public key certificate type to use during key material import, for example TR-34 or RootCertificatePublicKey.
This is a convenience method that creates an instance of theImportKeyMaterial.Builder avoiding the
need to create one manually via ImportKeyMaterial.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to keyMaterial(ImportKeyMaterial).
keyMaterial - a consumer that will call methods on ImportKeyMaterial.BuilderkeyMaterial(ImportKeyMaterial)ImportKeyRequest.Builder tags(Collection<Tag> tags)
The tags to attach to the key. Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but the tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key.
You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the specified one.
To use this parameter, you must have TagResource permission.
Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.
tags - The tags to attach to the key. Each tag consists of a tag key and a tag value. Both the tag key and
the tag value are required, but the tag value can be an empty (null) string. You can't have more than
one tag on an Amazon Web Services Payment Cryptography key with the same tag key.
You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the specified one.
To use this parameter, you must have TagResource permission.
Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.
ImportKeyRequest.Builder tags(Tag... tags)
The tags to attach to the key. Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but the tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key.
You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the specified one.
To use this parameter, you must have TagResource permission.
Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.
tags - The tags to attach to the key. Each tag consists of a tag key and a tag value. Both the tag key and
the tag value are required, but the tag value can be an empty (null) string. You can't have more than
one tag on an Amazon Web Services Payment Cryptography key with the same tag key.
You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the specified one.
To use this parameter, you must have TagResource permission.
Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.
ImportKeyRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to attach to the key. Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but the tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key.
You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the specified one.
To use this parameter, you must have TagResource permission.
Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.
Tag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) ImportKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderImportKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.