Interface GenerateMacResponse.Builder

  • Method Details

    • mac

      The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.

      This is the standard, raw HMAC defined in RFC 2104.

      Parameters:
      mac - The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.

      This is the standard, raw HMAC defined in RFC 2104.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • macAlgorithm

      GenerateMacResponse.Builder macAlgorithm(String macAlgorithm)

      The MAC algorithm that was used to generate the HMAC.

      Parameters:
      macAlgorithm - The MAC algorithm that was used to generate the HMAC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • macAlgorithm

      GenerateMacResponse.Builder macAlgorithm(MacAlgorithmSpec macAlgorithm)

      The MAC algorithm that was used to generate the HMAC.

      Parameters:
      macAlgorithm - The MAC algorithm that was used to generate the HMAC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • keyId

      The HMAC KMS key used in the operation.

      Parameters:
      keyId - The HMAC KMS key used in the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.