public static interface CreateKeyRequest.Builder extends PaymentCryptographyRequest.Builder, SdkPojo, CopyableBuilder<CreateKeyRequest.Builder,CreateKeyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateKeyRequest.Builder |
enabled(Boolean enabled)
Specifies whether to enable the key.
|
CreateKeyRequest.Builder |
exportable(Boolean exportable)
Specifies whether the key is exportable from the service.
|
default CreateKeyRequest.Builder |
keyAttributes(Consumer<KeyAttributes.Builder> keyAttributes)
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
|
CreateKeyRequest.Builder |
keyAttributes(KeyAttributes keyAttributes)
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
|
CreateKeyRequest.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.
|
CreateKeyRequest.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.
|
CreateKeyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateKeyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateKeyRequest.Builder |
tags(Collection<Tag> tags)
The tags to attach to the key.
|
CreateKeyRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to attach to the key.
|
CreateKeyRequest.Builder |
tags(Tag... tags)
The tags to attach to the key.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateKeyRequest.Builder enabled(Boolean enabled)
Specifies whether to enable the key. If the key is enabled, it is activated for use within the service. If the key not enabled, then it is created but not activated. The default value is enabled.
enabled - Specifies whether to enable the key. If the key is enabled, it is activated for use within the
service. If the key not enabled, then it is created but not activated. The default value is enabled.CreateKeyRequest.Builder exportable(Boolean exportable)
Specifies whether the key is exportable from the service.
exportable - Specifies whether the key is exportable from the service.CreateKeyRequest.Builder keyAttributes(KeyAttributes 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.
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.default CreateKeyRequest.Builder keyAttributes(Consumer<KeyAttributes.Builder> 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.
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.BuilderkeyAttributes(KeyAttributes)CreateKeyRequest.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,
KeyCheckValueAlgorithmCreateKeyRequest.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,
KeyCheckValueAlgorithmCreateKeyRequest.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.
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.
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.
CreateKeyRequest.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.
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.
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.
CreateKeyRequest.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.
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) CreateKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.