Interface VerifyMacRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<VerifyMacRequest.Builder,
,VerifyMacRequest> PaymentCryptographyDataRequest.Builder
,SdkBuilder<VerifyMacRequest.Builder,
,VerifyMacRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
VerifyMacRequest
public static interface VerifyMacRequest.Builder
extends PaymentCryptographyDataRequest.Builder, SdkPojo, CopyableBuilder<VerifyMacRequest.Builder,VerifyMacRequest>
-
Method Summary
Modifier and TypeMethodDescriptionkeyIdentifier
(String keyIdentifier) ThekeyARN
of the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.The MAC being verified.The length of the MAC.messageData
(String messageData) The data on for which MAC is under verification.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default VerifyMacRequest.Builder
verificationAttributes
(Consumer<MacAttributes.Builder> verificationAttributes) The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.verificationAttributes
(MacAttributes verificationAttributes) The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
keyIdentifier
The
keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.- Parameters:
keyIdentifier
- ThekeyARN
of the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mac
The MAC being verified.
- Parameters:
mac
- The MAC being verified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macLength
The length of the MAC.
- Parameters:
macLength
- The length of the MAC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageData
The data on for which MAC is under verification. This value must be hexBinary.
- Parameters:
messageData
- The data on for which MAC is under verification. This value must be hexBinary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verificationAttributes
The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.
- Parameters:
verificationAttributes
- The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verificationAttributes
default VerifyMacRequest.Builder verificationAttributes(Consumer<MacAttributes.Builder> verificationAttributes) The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.
This is a convenience method that creates an instance of theMacAttributes.Builder
avoiding the need to create one manually viaMacAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toverificationAttributes(MacAttributes)
.- Parameters:
verificationAttributes
- a consumer that will call methods onMacAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
VerifyMacRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
VerifyMacRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-