Interface ListSessionAnalyticsDataRequest.Builder

    • Method Detail

      • botId

        ListSessionAnalyticsDataRequest.Builder botId​(String botId)

        The identifier for the bot for which you want to retrieve session analytics.

        Parameters:
        botId - The identifier for the bot for which you want to retrieve session analytics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startDateTime

        ListSessionAnalyticsDataRequest.Builder startDateTime​(Instant startDateTime)

        The date and time that marks the beginning of the range of time for which you want to see session analytics.

        Parameters:
        startDateTime - The date and time that marks the beginning of the range of time for which you want to see session analytics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endDateTime

        ListSessionAnalyticsDataRequest.Builder endDateTime​(Instant endDateTime)

        The date and time that marks the end of the range of time for which you want to see session analytics.

        Parameters:
        endDateTime - The date and time that marks the end of the range of time for which you want to see session analytics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        ListSessionAnalyticsDataRequest.Builder sortBy​(SessionDataSortBy sortBy)

        An object specifying the measure and method by which to sort the session analytics data.

        Parameters:
        sortBy - An object specifying the measure and method by which to sort the session analytics data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListSessionAnalyticsDataRequest.Builder filters​(Collection<AnalyticsSessionFilter> filters)

        A list of objects, each of which describes a condition by which you want to filter the results.

        Parameters:
        filters - A list of objects, each of which describes a condition by which you want to filter the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListSessionAnalyticsDataRequest.Builder filters​(AnalyticsSessionFilter... filters)

        A list of objects, each of which describes a condition by which you want to filter the results.

        Parameters:
        filters - A list of objects, each of which describes a condition by which you want to filter the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListSessionAnalyticsDataRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.

        Parameters:
        maxResults - The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListSessionAnalyticsDataRequest.Builder nextToken​(String nextToken)

        If the response from the ListSessionAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.

        Use the returned token in the nextToken parameter of a ListSessionAnalyticsData request to return the next page of results. For a complete set of results, call the ListSessionAnalyticsData operation until the nextToken returned in the response is null.

        Parameters:
        nextToken - If the response from the ListSessionAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.

        Use the returned token in the nextToken parameter of a ListSessionAnalyticsData request to return the next page of results. For a complete set of results, call the ListSessionAnalyticsData operation until the nextToken returned in the response is null.

        Returns:
        Returns a reference to this object so that method calls can be chained together.