Interface Summary.Builder

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

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

    • ruleSummaries

      Summary.Builder ruleSummaries(Collection<RuleSummary> ruleSummaries)

      An array of RuleSummary objects containing individual rule details that had been configured by the rulegroup's SummaryConfiguration.

      Parameters:
      ruleSummaries - An array of RuleSummary objects containing individual rule details that had been configured by the rulegroup's SummaryConfiguration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleSummaries

      Summary.Builder ruleSummaries(RuleSummary... ruleSummaries)

      An array of RuleSummary objects containing individual rule details that had been configured by the rulegroup's SummaryConfiguration.

      Parameters:
      ruleSummaries - An array of RuleSummary objects containing individual rule details that had been configured by the rulegroup's SummaryConfiguration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleSummaries

      Summary.Builder ruleSummaries(Consumer<RuleSummary.Builder>... ruleSummaries)

      An array of RuleSummary objects containing individual rule details that had been configured by the rulegroup's SummaryConfiguration.

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

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

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