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) ThekeyARNof 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.BuilderverificationAttributes(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
keyIdentifier
The
keyARNof the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.- Parameters:
keyIdentifier- ThekeyARNof 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.
-
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.
-
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.
-
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.Builderavoiding the need to create one manually viaMacAttributes.builder().When the
Consumercompletes,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:
-
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.
-
overrideConfiguration
VerifyMacRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-