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 Summary
Modifier and TypeMethodDescriptionThe identifier of the actor for which to list events.default ListEventsRequest.Builderfilter(Consumer<FilterInput.Builder> filter) Filter criteria to apply when listing events.filter(FilterInput filter) Filter criteria to apply when listing events.includePayloads(Boolean includePayloads) Specifies whether to include event payloads in the response.maxResults(Integer maxResults) The maximum number of results to return in a single call.The identifier of the AgentCore Memory resource for which to list events.The token for the next set of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) The identifier of the session for which to list events.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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 theFilterInput.Builderavoiding the need to create one manually viaFilterInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(FilterInput).- Parameters:
filter- a consumer that will call methods onFilterInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-