Interface ListEventsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, BedrockAgentCoreRequest.Builder, Buildable, CopyableBuilder<ListEventsRequest.Builder,ListEventsRequest>, SdkBuilder<ListEventsRequest.Builder,ListEventsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListEventsRequest

  • Method Details

    • memoryId

      ListEventsRequest.Builder memoryId(String memoryId)

      The identifier of the AgentCore Memory resource for which to list events.

      Parameters:
      memoryId - The identifier of the AgentCore Memory resource for which to list events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionId

      ListEventsRequest.Builder sessionId(String sessionId)

      The identifier of the session for which to list events.

      Parameters:
      sessionId - The identifier of the session for which to list events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actorId

      The identifier of the actor for which to list events.

      Parameters:
      actorId - The identifier of the actor for which to list events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includePayloads

      ListEventsRequest.Builder includePayloads(Boolean includePayloads)

      Specifies whether to include event payloads in the response. Set to true to include payloads, or false to exclude them.

      Parameters:
      includePayloads - Specifies whether to include event payloads in the response. Set to true to include payloads, or false to exclude them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      Filter criteria to apply when listing events.

      Parameters:
      filter - Filter criteria to apply when listing events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      Filter criteria to apply when listing events.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filter(FilterInput).

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

      ListEventsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return in a single call. The default value is 20.

      Parameters:
      maxResults - The maximum number of results to return in a single call. The default value is 20.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListEventsRequest.Builder nextToken(String nextToken)

      The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

      Parameters:
      nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder