Interface IssueSummary.Builder

  • Method Details

    • issueId

      IssueSummary.Builder issueId(String issueId)

      The unique identifier of the issue.

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

      IssueSummary.Builder issueArn(String issueArn)

      The ARN of the issue.

      Parameters:
      issueArn - The ARN of the issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the issue.

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

      IssueSummary.Builder severity(String severity)

      Scanner-derived severity assigned to the issue.

      Parameters:
      severity - Scanner-derived severity assigned to the issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • severity

      IssueSummary.Builder severity(IssueSeverity severity)

      Scanner-derived severity assigned to the issue.

      Parameters:
      severity - Scanner-derived severity assigned to the issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidence

      IssueSummary.Builder confidence(Integer confidence)

      The likelihood that this issue is a true positive, expressed as a percentage (0-100).

      Parameters:
      confidence - The likelihood that this issue is a true positive, expressed as a percentage (0-100).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      IssueSummary.Builder status(String status)

      The current lifecycle status of the issue.

      Parameters:
      status - The current lifecycle status of the issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current lifecycle status of the issue.

      Parameters:
      status - The current lifecycle status of the issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • phase

      The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.

      Parameters:
      phase - The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • phase

      The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.

      Parameters:
      phase - The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      IssueSummary.Builder statusReason(String statusReason)

      Why the issue failed. Present only when status is FAILED.

      Parameters:
      statusReason - Why the issue failed. Present only when status is FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      IssueSummary.Builder statusReason(IssueStatusReason statusReason)

      Why the issue failed. Present only when status is FAILED.

      Parameters:
      statusReason - Why the issue failed. Present only when status is FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      IssueSummary.Builder statusMessage(String statusMessage)

      Customer-facing explanation of statusReason. Present only when status is FAILED.

      Parameters:
      statusMessage - Customer-facing explanation of statusReason. Present only when status is FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusUpdatedAt

      IssueSummary.Builder statusUpdatedAt(Instant statusUpdatedAt)

      The timestamp when the status or phase last changed.

      Parameters:
      statusUpdatedAt - The timestamp when the status or phase last changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      IssueSummary.Builder createdAt(Instant createdAt)

      The timestamp when the issue was created.

      Parameters:
      createdAt - The timestamp when the issue was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      IssueSummary.Builder updatedAt(Instant updatedAt)

      The timestamp when any field of the issue last changed. Advances on every mutation (including score-only updates that do not transition status), so it is greater than or equal to statusUpdatedAt.

      Parameters:
      updatedAt - The timestamp when any field of the issue last changed. Advances on every mutation (including score-only updates that do not transition status), so it is greater than or equal to statusUpdatedAt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.