Interface AssessmentOutcomeDataPoint.Builder

  • Method Details

    • timestamp

      The start of the bucket that the point covers. When the response is the most recent score, this is the time of the assessment that produced the score.

      Parameters:
      timestamp - The start of the bucket that the point covers. When the response is the most recent score, this is the time of the assessment that produced the score.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outcomes

      The scores in the bucket. At FRAMEWORK aggregation, this list contains one entry with no controlId. At CONTROL aggregation, it contains one entry for each control that has a score in the bucket, in ascending order of control ID. The list is never empty.

      Parameters:
      outcomes - The scores in the bucket. At FRAMEWORK aggregation, this list contains one entry with no controlId. At CONTROL aggregation, it contains one entry for each control that has a score in the bucket, in ascending order of control ID. The list is never empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outcomes

      The scores in the bucket. At FRAMEWORK aggregation, this list contains one entry with no controlId. At CONTROL aggregation, it contains one entry for each control that has a score in the bucket, in ascending order of control ID. The list is never empty.

      Parameters:
      outcomes - The scores in the bucket. At FRAMEWORK aggregation, this list contains one entry with no controlId. At CONTROL aggregation, it contains one entry for each control that has a score in the bucket, in ascending order of control ID. The list is never empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outcomes

      The scores in the bucket. At FRAMEWORK aggregation, this list contains one entry with no controlId. At CONTROL aggregation, it contains one entry for each control that has a score in the bucket, in ascending order of control ID. The list is never empty.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outcomes(List<AssessmentOutcomeEntry>).

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