Interface WebhookCredential.Builder

  • Method Details

    • staticTokenSecretValue

      WebhookCredential.Builder staticTokenSecretValue(String staticTokenSecretValue)

      The new token for static token authentication.

      Parameters:
      staticTokenSecretValue - The new token for static token authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • basicHttpPassword

      WebhookCredential.Builder basicHttpPassword(String basicHttpPassword)

      The new password for HTTP Basic authentication. The username does not change.

      Parameters:
      basicHttpPassword - The new password for HTTP Basic authentication. The username does not change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hmacSecretValue

      WebhookCredential.Builder hmacSecretValue(String hmacSecretValue)

      The new HMAC secret, in the SecretEncoding of the EventSource. With BASE64, EventBridge removes a leading "whsec_". The key must be 16 to 512 bytes; with BASE64 SecretEncoding, this is measured after decoding.

      Parameters:
      hmacSecretValue - The new HMAC secret, in the SecretEncoding of the EventSource. With BASE64, EventBridge removes a leading "whsec_". The key must be 16 to 512 bytes; with BASE64 SecretEncoding, this is measured after decoding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.