Interface HarnessHookEvent.Builder

  • Method Details

    • hookEventId

      HarnessHookEvent.Builder hookEventId(String hookEventId)

      The unique identifier for this hook event.

      Parameters:
      hookEventId - The unique identifier for this hook event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the hook that ran.

      Parameters:
      name - The name of the hook that ran.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of lifecycle hook event.

      Parameters:
      type - The type of lifecycle hook event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of lifecycle hook event.

      Parameters:
      type - The type of lifecycle hook event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • decision

      HarnessHookEvent.Builder decision(String decision)

      The decision applied to the hook event. This field is present only for blocking Lambda targets.

      Parameters:
      decision - The decision applied to the hook event. This field is present only for blocking Lambda targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • decision

      The decision applied to the hook event. This field is present only for blocking Lambda targets.

      Parameters:
      decision - The decision applied to the hook event. This field is present only for blocking Lambda targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reason

      The optional reason for the applied decision.

      Parameters:
      reason - The optional reason for the applied decision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.