Interface ListSessionAnalyticsDataResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListSessionAnalyticsDataResponse.Builder,ListSessionAnalyticsDataResponse>, LexModelsV2Response.Builder, SdkBuilder<ListSessionAnalyticsDataResponse.Builder,ListSessionAnalyticsDataResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListSessionAnalyticsDataResponse

  • Method Details

    • botId

      The unique identifier of the bot that the sessions belong to.

      Parameters:
      botId - The unique identifier of the bot that the sessions belong to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • sessions

      A list of objects, each of which contains information about a session with the bot.

      Parameters:
      sessions - A list of objects, each of which contains information about a session with the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessions

      A list of objects, each of which contains information about a session with the bot.

      Parameters:
      sessions - A list of objects, each of which contains information about a session with the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessions

      A list of objects, each of which contains information about a session with the bot.

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

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

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