Interface AssessmentSummary.Builder

  • Method Details

    • assessmentId

      AssessmentSummary.Builder assessmentId(String assessmentId)

      The unique identifier of the assessment.

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

      AssessmentSummary.Builder serviceArn(String serviceArn)
      Sets the value of the ServiceArn property for this object.
      Parameters:
      serviceArn - The new value for the ServiceArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assessmentStatus

      AssessmentSummary.Builder assessmentStatus(String assessmentStatus)

      The current status of the assessment.

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

      AssessmentSummary.Builder assessmentStatus(AssessmentStatus assessmentStatus)

      The current status of the assessment.

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

      AssessmentSummary.Builder assessmentStep(String assessmentStep)

      The current step of the assessment process.

      Parameters:
      assessmentStep - The current step of the assessment process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • assessmentStep

      AssessmentSummary.Builder assessmentStep(AssessmentStep assessmentStep)

      The current step of the assessment process.

      Parameters:
      assessmentStep - The current step of the assessment process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • totalFindings

      AssessmentSummary.Builder totalFindings(Integer totalFindings)

      The total number of findings generated by the assessment.

      Parameters:
      totalFindings - The total number of findings generated by the assessment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      AssessmentSummary.Builder startedAt(Instant startedAt)

      The timestamp when the assessment started.

      Parameters:
      startedAt - The timestamp when the assessment started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endedAt

      The timestamp when the assessment ended.

      Parameters:
      endedAt - The timestamp when the assessment ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      AssessmentSummary.Builder errorMessage(String errorMessage)

      A message describing the error if the assessment failed.

      Parameters:
      errorMessage - A message describing the error if the assessment failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      AssessmentSummary.Builder errorCode(String errorCode)

      The error code if the assessment failed.

      Parameters:
      errorCode - The error code if the assessment failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      The error code if the assessment failed.

      Parameters:
      errorCode - The error code if the assessment failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • assessmentCost

      AssessmentSummary.Builder assessmentCost(AssessmentCost assessmentCost)

      The cost of the assessment.

      Parameters:
      assessmentCost - The cost of the assessment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assessmentCost

      default AssessmentSummary.Builder assessmentCost(Consumer<AssessmentCost.Builder> assessmentCost)

      The cost of the assessment.

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

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

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

      AssessmentSummary.Builder billableAssessmentUnitCount(Integer billableAssessmentUnitCount)

      The number of billable assessment units consumed by the assessment.

      Parameters:
      billableAssessmentUnitCount - The number of billable assessment units consumed by the assessment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • achievability

      AssessmentSummary.Builder achievability(Achievability achievability)

      The achievability results from the assessment.

      Parameters:
      achievability - The achievability results from the assessment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • achievability

      default AssessmentSummary.Builder achievability(Consumer<Achievability.Builder> achievability)

      The achievability results from the assessment.

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

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

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