Interface GenerateMacRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GenerateMacRequest.Builder,,GenerateMacRequest> PaymentCryptographyDataRequest.Builder,SdkBuilder<GenerateMacRequest.Builder,,GenerateMacRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GenerateMacRequest
public static interface GenerateMacRequest.Builder
extends PaymentCryptographyDataRequest.Builder, SdkPojo, CopyableBuilder<GenerateMacRequest.Builder,GenerateMacRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GenerateMacRequest.BuildergenerationAttributes(Consumer<MacAttributes.Builder> generationAttributes) The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.generationAttributes(MacAttributes generationAttributes) The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.keyIdentifier(String keyIdentifier) ThekeyARNof the MAC generation encryption key.The length of a MAC under generation.messageData(String messageData) The data for which a MAC is under generation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 MAC generation encryption key.- Parameters:
keyIdentifier- ThekeyARNof the MAC generation encryption key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageData
The data for which a MAC is under generation. This value must be hexBinary.
- Parameters:
messageData- The data for which a MAC is under generation. This value must be hexBinary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationAttributes
The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.
- Parameters:
generationAttributes- The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationAttributes
default GenerateMacRequest.Builder generationAttributes(Consumer<MacAttributes.Builder> generationAttributes) The attributes and data values to use for MAC generation 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 togenerationAttributes(MacAttributes).- Parameters:
generationAttributes- 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 a MAC under generation.
- Parameters:
macLength- The length of a MAC under generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GenerateMacRequest.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
GenerateMacRequest.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.
-