Interface VerifyMacResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<VerifyMacResponse.Builder,VerifyMacResponse>, KmsResponse.Builder, SdkBuilder<VerifyMacResponse.Builder,VerifyMacResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
VerifyMacResponse

public static interface VerifyMacResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<VerifyMacResponse.Builder,VerifyMacResponse>
  • 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

      VerifyMacResponse.Builder macValid(Boolean macValid)

      A Boolean value that indicates whether the HMAC was verified. A value of True indicates that the HMAC (Mac) was generated with the specified Message, HMAC KMS key ( KeyID) and MacAlgorithm..

      If the HMAC is not verified, the VerifyMac operation fails with a KMSInvalidMacException 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 of True indicates that the HMAC (Mac) was generated with the specified Message, HMAC KMS key ( KeyID) and MacAlgorithm..

      If the HMAC is not verified, the VerifyMac operation fails with a KMSInvalidMacException 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

      VerifyMacResponse.Builder macAlgorithm(String 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

      VerifyMacResponse.Builder macAlgorithm(MacAlgorithmSpec 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: