Interface BaseKpiResult.Builder

    • Method Detail

      • rows

        BaseKpiResult.Builder rows​(Collection<ResultRow> rows)

        An array of objects that provides the results of a query that retrieved the data for a standard metric that applies to an application, campaign, or journey.

        Parameters:
        rows - An array of objects that provides the results of a query that retrieved the data for a standard metric that applies to an application, campaign, or journey.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rows

        BaseKpiResult.Builder rows​(ResultRow... rows)

        An array of objects that provides the results of a query that retrieved the data for a standard metric that applies to an application, campaign, or journey.

        Parameters:
        rows - An array of objects that provides the results of a query that retrieved the data for a standard metric that applies to an application, campaign, or journey.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rows

        BaseKpiResult.Builder rows​(Consumer<ResultRow.Builder>... rows)

        An array of objects that provides the results of a query that retrieved the data for a standard metric that applies to an application, campaign, or journey.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #rows(List).

        Parameters:
        rows - a consumer that will call methods on ResultRow.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #rows(java.util.Collection)