Interface ListActorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<ListActorsResponse.Builder,,ListActorsResponse> SdkBuilder<ListActorsResponse.Builder,,ListActorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListActorsResponse
@Mutable
@NotThreadSafe
public static interface ListActorsResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<ListActorsResponse.Builder,ListActorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionactorSummaries(Collection<ActorSummary> actorSummaries) The list of actor summaries.actorSummaries(Consumer<ActorSummary.Builder>... actorSummaries) The list of actor summaries.actorSummaries(ActorSummary... actorSummaries) The list of actor summaries.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
-
actorSummaries
The list of actor summaries.
- Parameters:
actorSummaries- The list of actor summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actorSummaries
The list of actor summaries.
- Parameters:
actorSummaries- The list of actor summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actorSummaries
The list of actor summaries.
This is a convenience method that creates an instance of theActorSummary.Builderavoiding the need to create one manually viaActorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactorSummaries(List<ActorSummary>).- Parameters:
actorSummaries- a consumer that will call methods onActorSummary.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.
-