Interface AssessmentOutcomeDataPoint.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssessmentOutcomeDataPoint.Builder,,AssessmentOutcomeDataPoint> SdkBuilder<AssessmentOutcomeDataPoint.Builder,,AssessmentOutcomeDataPoint> SdkPojo
- Enclosing class:
AssessmentOutcomeDataPoint
-
Method Summary
Modifier and TypeMethodDescriptionoutcomes(Collection<AssessmentOutcomeEntry> outcomes) The scores in the bucket.outcomes(Consumer<AssessmentOutcomeEntry.Builder>... outcomes) The scores in the bucket.outcomes(AssessmentOutcomeEntry... outcomes) The scores in the bucket.The start of the bucket that the point covers.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
FRAMEWORKaggregation, this list contains one entry with nocontrolId. AtCONTROLaggregation, 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. AtFRAMEWORKaggregation, this list contains one entry with nocontrolId. AtCONTROLaggregation, 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
FRAMEWORKaggregation, this list contains one entry with nocontrolId. AtCONTROLaggregation, 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. AtFRAMEWORKaggregation, this list contains one entry with nocontrolId. AtCONTROLaggregation, 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
This is a convenience method that creates an instance of theFRAMEWORKaggregation, this list contains one entry with nocontrolId. AtCONTROLaggregation, 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.AssessmentOutcomeEntry.Builderavoiding the need to create one manually viaAssessmentOutcomeEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutcomes(List<AssessmentOutcomeEntry>).- Parameters:
outcomes- a consumer that will call methods onAssessmentOutcomeEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-