Interface AssessmentSummary.Builder

  • Method Details

    • assessmentId

      AssessmentSummary.Builder assessmentId(String assessmentId)

      The identifier of the assessment.

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

      AssessmentSummary.Builder framework(String framework)

      The name of the compliance framework.

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

      AssessmentSummary.Builder frameworkVersion(String frameworkVersion)

      The version of the compliance framework.

      Parameters:
      frameworkVersion - The version of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlId

      AssessmentSummary.Builder controlId(String controlId)

      The control identifier. Optional. If omitted, the operation applies to the full framework.

      Parameters:
      controlId - The control identifier. Optional. If omitted, the operation applies to the full framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • project

      The name of the project.

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

      The canonical state of the assessment.

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

      The canonical state of the assessment.

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

      AssessmentSummary.Builder outcomePercentage(Float outcomePercentage)

      The numeric percentage score of the assessment outcome.

      Parameters:
      outcomePercentage - The numeric percentage score of the assessment outcome.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      AssessmentSummary.Builder createdAt(Instant createdAt)

      The timestamp when the assessment was created.

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

      AssessmentSummary.Builder updatedAt(Instant updatedAt)

      The timestamp when the assessment was last updated.

      Parameters:
      updatedAt - The timestamp when the assessment was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trigger

      The event that started the assessment: SCHEDULE, DETECTED_CHANGE, or USER_ACTION. This field is empty for assessments that ran before this value was available, or if the value isn't available for your account.

      Parameters:
      trigger - The event that started the assessment: SCHEDULE, DETECTED_CHANGE, or USER_ACTION. This field is empty for assessments that ran before this value was available, or if the value isn't available for your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trigger

      The event that started the assessment: SCHEDULE, DETECTED_CHANGE, or USER_ACTION. This field is empty for assessments that ran before this value was available, or if the value isn't available for your account.

      Parameters:
      trigger - The event that started the assessment: SCHEDULE, DETECTED_CHANGE, or USER_ACTION. This field is empty for assessments that ran before this value was available, or if the value isn't available for your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: