Interface ListAgentCollaboratorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<ListAgentCollaboratorsResponse.Builder,,ListAgentCollaboratorsResponse> SdkBuilder<ListAgentCollaboratorsResponse.Builder,,ListAgentCollaboratorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAgentCollaboratorsResponse
@Mutable
@NotThreadSafe
public static interface ListAgentCollaboratorsResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListAgentCollaboratorsResponse.Builder,ListAgentCollaboratorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagentCollaboratorSummaries(Collection<AgentCollaboratorSummary> agentCollaboratorSummaries) A list of collaborator summaries.agentCollaboratorSummaries(Consumer<AgentCollaboratorSummary.Builder>... agentCollaboratorSummaries) A list of collaborator summaries.agentCollaboratorSummaries(AgentCollaboratorSummary... agentCollaboratorSummaries) A list of collaborator summaries.Specify the pagination token from a previous request to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.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
-
agentCollaboratorSummaries
ListAgentCollaboratorsResponse.Builder agentCollaboratorSummaries(Collection<AgentCollaboratorSummary> agentCollaboratorSummaries) A list of collaborator summaries.
- Parameters:
agentCollaboratorSummaries- A list of collaborator summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCollaboratorSummaries
ListAgentCollaboratorsResponse.Builder agentCollaboratorSummaries(AgentCollaboratorSummary... agentCollaboratorSummaries) A list of collaborator summaries.
- Parameters:
agentCollaboratorSummaries- A list of collaborator summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCollaboratorSummaries
ListAgentCollaboratorsResponse.Builder agentCollaboratorSummaries(Consumer<AgentCollaboratorSummary.Builder>... agentCollaboratorSummaries) A list of collaborator summaries.
This is a convenience method that creates an instance of theAgentCollaboratorSummary.Builderavoiding the need to create one manually viaAgentCollaboratorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentCollaboratorSummaries(List<AgentCollaboratorSummary>).- Parameters:
agentCollaboratorSummaries- a consumer that will call methods onAgentCollaboratorSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Specify the pagination token from a previous request to retrieve the next page of results.
- Parameters:
nextToken- Specify the pagination token from a previous request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-