Interface InvestigationAction.Builder

  • Method Details

    • investigationId

      InvestigationAction.Builder investigationId(String investigationId)

      The unique identifier for this investigation action. This ID is used to track and reference the specific investigation throughout its lifecycle.

      Parameters:
      investigationId - The unique identifier for this investigation action. This ID is used to track and reference the specific investigation throughout its lifecycle.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionType

      InvestigationAction.Builder actionType(String actionType)

      The type of investigation action being performed. This categorizes the investigation method or approach used in the case.

      Parameters:
      actionType - The type of investigation action being performed. This categorizes the investigation method or approach used in the case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • actionType

      InvestigationAction.Builder actionType(ActionType actionType)

      The type of investigation action being performed. This categorizes the investigation method or approach used in the case.

      Parameters:
      actionType - The type of investigation action being performed. This categorizes the investigation method or approach used in the case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • title

      Human-readable summary of the investigation focus. This provides a brief description of what the investigation is examining or analyzing.

      Parameters:
      title - Human-readable summary of the investigation focus. This provides a brief description of what the investigation is examining or analyzing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      Detailed investigation results in rich markdown format. This field contains the comprehensive findings, analysis, and conclusions from the investigation.

      Parameters:
      content - Detailed investigation results in rich markdown format. This field contains the comprehensive findings, analysis, and conclusions from the investigation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current execution status of the investigation. This indicates whether the investigation is pending, in progress, completed, or failed.

      Parameters:
      status - The current execution status of the investigation. This indicates whether the investigation is pending, in progress, completed, or failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current execution status of the investigation. This indicates whether the investigation is pending, in progress, completed, or failed.

      Parameters:
      status - The current execution status of the investigation. This indicates whether the investigation is pending, in progress, completed, or failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdated

      InvestigationAction.Builder lastUpdated(Instant lastUpdated)

      ISO 8601 timestamp of the most recent status update. This indicates when the investigation was last modified or when its status last changed.

      Parameters:
      lastUpdated - ISO 8601 timestamp of the most recent status update. This indicates when the investigation was last modified or when its status last changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • feedback

      User feedback for this investigation result. This contains the user's assessment and comments about the quality and usefulness of the investigation findings.

      Parameters:
      feedback - User feedback for this investigation result. This contains the user's assessment and comments about the quality and usefulness of the investigation findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • feedback

      User feedback for this investigation result. This contains the user's assessment and comments about the quality and usefulness of the investigation findings.

      This is a convenience method that creates an instance of the InvestigationFeedback.Builder avoiding the need to create one manually via InvestigationFeedback.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to feedback(InvestigationFeedback).

      Parameters:
      feedback - a consumer that will call methods on InvestigationFeedback.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: