Interface MacAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MacAttributes.Builder,MacAttributes>,SdkBuilder<MacAttributes.Builder,MacAttributes>,SdkPojo
- Enclosing class:
- MacAttributes
public static interface MacAttributes.Builder extends SdkPojo, CopyableBuilder<MacAttributes.Builder,MacAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MacAttributes.Builderalgorithm(String algorithm)The encryption algorithm for MAC generation or verification.MacAttributes.Builderalgorithm(MacAlgorithm algorithm)The encryption algorithm for MAC generation or verification.default MacAttributes.BuilderdukptCmac(Consumer<MacAlgorithmDukpt.Builder> dukptCmac)Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.MacAttributes.BuilderdukptCmac(MacAlgorithmDukpt dukptCmac)Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.default MacAttributes.BuilderdukptIso9797Algorithm1(Consumer<MacAlgorithmDukpt.Builder> dukptIso9797Algorithm1)Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm1.MacAttributes.BuilderdukptIso9797Algorithm1(MacAlgorithmDukpt dukptIso9797Algorithm1)Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm1.default MacAttributes.BuilderdukptIso9797Algorithm3(Consumer<MacAlgorithmDukpt.Builder> dukptIso9797Algorithm3)Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm3.MacAttributes.BuilderdukptIso9797Algorithm3(MacAlgorithmDukpt dukptIso9797Algorithm3)Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm3.default MacAttributes.BuilderemvMac(Consumer<MacAlgorithmEmv.Builder> emvMac)Parameters that are required for MAC generation or verification using EMV MAC algorithm.MacAttributes.BuilderemvMac(MacAlgorithmEmv emvMac)Parameters that are required for MAC generation or verification using EMV MAC algorithm.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
algorithm
MacAttributes.Builder algorithm(String algorithm)
The encryption algorithm for MAC generation or verification.
- Parameters:
algorithm- The encryption algorithm for MAC generation or verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MacAlgorithm,MacAlgorithm
-
algorithm
MacAttributes.Builder algorithm(MacAlgorithm algorithm)
The encryption algorithm for MAC generation or verification.
- Parameters:
algorithm- The encryption algorithm for MAC generation or verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MacAlgorithm,MacAlgorithm
-
dukptCmac
MacAttributes.Builder dukptCmac(MacAlgorithmDukpt dukptCmac)
Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.
- Parameters:
dukptCmac- Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dukptCmac
default MacAttributes.Builder dukptCmac(Consumer<MacAlgorithmDukpt.Builder> dukptCmac)
Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.
This is a convenience method that creates an instance of theMacAlgorithmDukpt.Builderavoiding the need to create one manually viaMacAlgorithmDukpt.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todukptCmac(MacAlgorithmDukpt).- Parameters:
dukptCmac- a consumer that will call methods onMacAlgorithmDukpt.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dukptCmac(MacAlgorithmDukpt)
-
dukptIso9797Algorithm1
MacAttributes.Builder dukptIso9797Algorithm1(MacAlgorithmDukpt dukptIso9797Algorithm1)
Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm1.
- Parameters:
dukptIso9797Algorithm1- Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dukptIso9797Algorithm1
default MacAttributes.Builder dukptIso9797Algorithm1(Consumer<MacAlgorithmDukpt.Builder> dukptIso9797Algorithm1)
Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm1.
This is a convenience method that creates an instance of theMacAlgorithmDukpt.Builderavoiding the need to create one manually viaMacAlgorithmDukpt.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todukptIso9797Algorithm1(MacAlgorithmDukpt).- Parameters:
dukptIso9797Algorithm1- a consumer that will call methods onMacAlgorithmDukpt.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dukptIso9797Algorithm1(MacAlgorithmDukpt)
-
dukptIso9797Algorithm3
MacAttributes.Builder dukptIso9797Algorithm3(MacAlgorithmDukpt dukptIso9797Algorithm3)
Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm3.
- Parameters:
dukptIso9797Algorithm3- Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dukptIso9797Algorithm3
default MacAttributes.Builder dukptIso9797Algorithm3(Consumer<MacAlgorithmDukpt.Builder> dukptIso9797Algorithm3)
Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm3.
This is a convenience method that creates an instance of theMacAlgorithmDukpt.Builderavoiding the need to create one manually viaMacAlgorithmDukpt.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todukptIso9797Algorithm3(MacAlgorithmDukpt).- Parameters:
dukptIso9797Algorithm3- a consumer that will call methods onMacAlgorithmDukpt.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dukptIso9797Algorithm3(MacAlgorithmDukpt)
-
emvMac
MacAttributes.Builder emvMac(MacAlgorithmEmv emvMac)
Parameters that are required for MAC generation or verification using EMV MAC algorithm.
- Parameters:
emvMac- Parameters that are required for MAC generation or verification using EMV MAC algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emvMac
default MacAttributes.Builder emvMac(Consumer<MacAlgorithmEmv.Builder> emvMac)
Parameters that are required for MAC generation or verification using EMV MAC algorithm.
This is a convenience method that creates an instance of theMacAlgorithmEmv.Builderavoiding the need to create one manually viaMacAlgorithmEmv.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemvMac(MacAlgorithmEmv).- Parameters:
emvMac- a consumer that will call methods onMacAlgorithmEmv.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
emvMac(MacAlgorithmEmv)
-
-