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.Builder
generationAttributes
(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) ThekeyARN
of 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
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
-
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.Builder
avoiding the need to create one manually viaMacAttributes.builder()
.When the
Consumer
completes,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:
-
keyIdentifier
The
keyARN
of the MAC generation encryption key.- Parameters:
keyIdentifier
- ThekeyARN
of the MAC generation encryption key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
overrideConfiguration
GenerateMacRequest.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
GenerateMacRequest.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.
-