Interface ListEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<ListEventsResponse.Builder,,ListEventsResponse> SdkBuilder<ListEventsResponse.Builder,,ListEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEventsResponse
@Mutable
@NotThreadSafe
public static interface ListEventsResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<ListEventsResponse.Builder,ListEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevents(Collection<Event> events) The list of events that match the specified criteria.events(Consumer<Event.Builder>... events) The list of events that match the specified criteria.The list of events that match the specified criteria.The token to use in a subsequent request to get the next set of results.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
events
The list of events that match the specified criteria.
- Parameters:
events- The list of events that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The list of events that match the specified criteria.
- Parameters:
events- The list of events that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The list of events that match the specified criteria.
This is a convenience method that creates an instance of theEvent.Builderavoiding the need to create one manually viaEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevents(List<Event>).- Parameters:
events- a consumer that will call methods onEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in a subsequent request to get the next set of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use in a subsequent request to get the next set of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-