Interface Investigation.Builder

  • Method Details

    • investigationId

      Investigation.Builder investigationId(String investigationId)

      The unique identifier of the investigation.

      Parameters:
      investigationId - The unique identifier of the investigation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Investigation.Builder status(String status)

      The current status of the investigation. Possible values are RUNNING, COMPLETED, and FAILED.

      Parameters:
      status - The current status of the investigation. Possible values are RUNNING, COMPLETED, and FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the investigation. Possible values are RUNNING, COMPLETED, and FAILED.

      Parameters:
      status - The current status of the investigation. Possible values are RUNNING, COMPLETED, and FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • triggerPrompt

      Investigation.Builder triggerPrompt(String triggerPrompt)

      The natural-language prompt that initiated this investigation.

      Parameters:
      triggerPrompt - The natural-language prompt that initiated this investigation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggeredBy

      Investigation.Builder triggeredBy(String triggeredBy)

      The account that initiated the investigation.

      Parameters:
      triggeredBy - The account that initiated the investigation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      Metadata about the product and version that produced the investigation.

      Parameters:
      metadata - Metadata about the product and version that produced the investigation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      Metadata about the product and version that produced the investigation.

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

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

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

      Details about the cloud environment in which the investigation was performed, including the provider, region, and account.

      Parameters:
      cloud - Details about the cloud environment in which the investigation was performed, including the provider, region, and account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloud

      Details about the cloud environment in which the investigation was performed, including the provider, region, and account.

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

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

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

      Investigation.Builder riskLevel(String riskLevel)

      The assessed risk level of the investigated threat. Possible values are Info, Low, Medium, High, and Critical.

      Parameters:
      riskLevel - The assessed risk level of the investigated threat. Possible values are Info, Low, Medium, High, and Critical.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • riskLevel

      Investigation.Builder riskLevel(RiskLevel riskLevel)

      The assessed risk level of the investigated threat. Possible values are Info, Low, Medium, High, and Critical.

      Parameters:
      riskLevel - The assessed risk level of the investigated threat. Possible values are Info, Low, Medium, High, and Critical.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • risk

      A human-readable description of the assessed risk.

      Parameters:
      risk - A human-readable description of the assessed risk.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • confidence

      Investigation.Builder confidence(String confidence)

      The confidence level of the investigation's assessment. Possible values are Unknown, Low, Medium, and High.

      Parameters:
      confidence - The confidence level of the investigation's assessment. Possible values are Unknown, Low, Medium, and High.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidence

      Investigation.Builder confidence(Confidence confidence)

      The confidence level of the investigation's assessment. Possible values are Unknown, Low, Medium, and High.

      Parameters:
      confidence - The confidence level of the investigation's assessment. Possible values are Unknown, Low, Medium, and High.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • summary

      Investigation.Builder summary(String summary)

      A structured summary of the investigation findings, including affected resources, threat assessment, and recommended remediation steps.

      Parameters:
      summary - A structured summary of the investigation findings, including affected resources, threat assessment, and recommended remediation steps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      Investigation.Builder startTime(Instant startTime)

      The timestamp at which the investigation started.

      Parameters:
      startTime - The timestamp at which the investigation started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      Investigation.Builder endTime(Instant endTime)

      The timestamp at which the investigation completed.

      Parameters:
      endTime - The timestamp at which the investigation completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      Details about the error if the investigation status is FAILED.

      Parameters:
      error - Details about the error if the investigation status is FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.