Interface VerifyMacResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<VerifyMacResponse.Builder,
,VerifyMacResponse> KmsResponse.Builder
,SdkBuilder<VerifyMacResponse.Builder,
,VerifyMacResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
VerifyMacResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe HMAC KMS key used in the verification.macAlgorithm
(String macAlgorithm) The MAC algorithm used in the verification.macAlgorithm
(MacAlgorithmSpec macAlgorithm) The MAC algorithm used in the verification.A Boolean value that indicates whether the HMAC was verified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
keyId
The HMAC KMS key used in the verification.
- Parameters:
keyId
- The HMAC KMS key used in the verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macValid
A Boolean value that indicates whether the HMAC was verified. A value of
True
indicates that the HMAC (Mac
) was generated with the specifiedMessage
, HMAC KMS key (KeyID
) andMacAlgorithm.
.If the HMAC is not verified, the
VerifyMac
operation fails with aKMSInvalidMacException
exception. This exception indicates that one or more of the inputs changed since the HMAC was computed.- Parameters:
macValid
- A Boolean value that indicates whether the HMAC was verified. A value ofTrue
indicates that the HMAC (Mac
) was generated with the specifiedMessage
, HMAC KMS key (KeyID
) andMacAlgorithm.
.If the HMAC is not verified, the
VerifyMac
operation fails with aKMSInvalidMacException
exception. This exception indicates that one or more of the inputs changed since the HMAC was computed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macAlgorithm
The MAC algorithm used in the verification.
- Parameters:
macAlgorithm
- The MAC algorithm used in the verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
macAlgorithm
The MAC algorithm used in the verification.
- Parameters:
macAlgorithm
- The MAC algorithm used in the verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-