Interface GenerateMacResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GenerateMacResponse.Builder,GenerateMacResponse>,PaymentCryptographyDataResponse.Builder,SdkBuilder<GenerateMacResponse.Builder,GenerateMacResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GenerateMacResponse
public static interface GenerateMacResponse.Builder extends PaymentCryptographyDataResponse.Builder, SdkPojo, CopyableBuilder<GenerateMacResponse.Builder,GenerateMacResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenerateMacResponse.BuilderkeyArn(String keyArn)ThekeyARNof the encryption key that Amazon Web Services Payment Cryptography uses for MAC generation.GenerateMacResponse.BuilderkeyCheckValue(String keyCheckValue)The key check value (KCV) of the encryption key.GenerateMacResponse.Buildermac(String mac)The MAC cryptogram generated within Amazon Web Services Payment Cryptography.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
keyArn
GenerateMacResponse.Builder keyArn(String keyArn)
The
keyARNof the encryption key that Amazon Web Services Payment Cryptography uses for MAC generation.- Parameters:
keyArn- ThekeyARNof the encryption key that Amazon Web Services Payment Cryptography uses for MAC generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyCheckValue
GenerateMacResponse.Builder keyCheckValue(String keyCheckValue)
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
- Parameters:
keyCheckValue- The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mac
GenerateMacResponse.Builder mac(String mac)
The MAC cryptogram generated within Amazon Web Services Payment Cryptography.
- Parameters:
mac- The MAC cryptogram generated within Amazon Web Services Payment Cryptography.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-