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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VerifyMacRequest.BuilderkeyIdentifier(String keyIdentifier)ThekeyARNof the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.VerifyMacRequest.Buildermac(String mac)The MAC being verified.VerifyMacRequest.BuildermacLength(Integer macLength)The length of the MAC.VerifyMacRequest.BuildermessageData(String messageData)The data on for which MAC is under verification.VerifyMacRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)VerifyMacRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default VerifyMacRequest.BuilderverificationAttributes(Consumer<MacAttributes.Builder> verificationAttributes)The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.VerifyMacRequest.BuilderverificationAttributes(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 Detail
-
keyIdentifier
VerifyMacRequest.Builder keyIdentifier(String 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.
-
mac
VerifyMacRequest.Builder mac(String 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
VerifyMacRequest.Builder macLength(Integer 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
VerifyMacRequest.Builder messageData(String messageData)
The data on for which MAC is under verification.
- Parameters:
messageData- The data on for which MAC is under verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verificationAttributes
VerifyMacRequest.Builder verificationAttributes(MacAttributes 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:
verificationAttributes(MacAttributes)
-
overrideConfiguration
VerifyMacRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
VerifyMacRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-