Interface GenerateMacRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<GenerateMacRequest.Builder,,- GenerateMacRequest> - PaymentCryptographyDataRequest.Builder,- SdkBuilder<GenerateMacRequest.Builder,,- GenerateMacRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- GenerateMacRequest
@Mutable
@NotThreadSafe
public static interface GenerateMacRequest.Builder
extends PaymentCryptographyDataRequest.Builder, SdkPojo, CopyableBuilder<GenerateMacRequest.Builder,GenerateMacRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
keyIdentifierThe keyARNof the MAC generation encryption key.- Parameters:
- keyIdentifier- The- keyARNof the MAC generation encryption key.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
messageDataThe 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.
 
- 
generationAttributesThe 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.
 
- 
generationAttributesdefault 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 on- MacAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
macLengthThe 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.
 
- 
overrideConfigurationGenerateMacRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationGenerateMacRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-