Interface Summary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Summary.Builder,Summary>, SdkBuilder<Summary.Builder,Summary>, SdkPojo
Enclosing class:
Summary

public static interface Summary.Builder extends SdkPojo, CopyableBuilder<Summary.Builder,Summary>
  • Method Details

    • name

      Summary.Builder name(String name)

      The finding classification of the recommendation.

      Parameters:
      name - The finding classification of the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The finding classification of the recommendation.

      Parameters:
      name - The finding classification of the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • value

      Summary.Builder value(Double value)

      The value of the recommendation summary.

      Parameters:
      value - The value of the recommendation summary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasonCodeSummaries

      Summary.Builder reasonCodeSummaries(Collection<ReasonCodeSummary> reasonCodeSummaries)

      An array of objects that summarize a finding reason code.

      Parameters:
      reasonCodeSummaries - An array of objects that summarize a finding reason code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasonCodeSummaries

      Summary.Builder reasonCodeSummaries(ReasonCodeSummary... reasonCodeSummaries)

      An array of objects that summarize a finding reason code.

      Parameters:
      reasonCodeSummaries - An array of objects that summarize a finding reason code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasonCodeSummaries

      Summary.Builder reasonCodeSummaries(Consumer<ReasonCodeSummary.Builder>... reasonCodeSummaries)

      An array of objects that summarize a finding reason code.

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

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

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