Interface ListAgentActionGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<ListAgentActionGroupsResponse.Builder,ListAgentActionGroupsResponse>,SdkBuilder<ListAgentActionGroupsResponse.Builder,ListAgentActionGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAgentActionGroupsResponse
public static interface ListAgentActionGroupsResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListAgentActionGroupsResponse.Builder,ListAgentActionGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAgentActionGroupsResponse.BuilderactionGroupSummaries(Collection<ActionGroupSummary> actionGroupSummaries)A list of objects, each of which contains information about an action group.ListAgentActionGroupsResponse.BuilderactionGroupSummaries(Consumer<ActionGroupSummary.Builder>... actionGroupSummaries)A list of objects, each of which contains information about an action group.ListAgentActionGroupsResponse.BuilderactionGroupSummaries(ActionGroupSummary... actionGroupSummaries)A list of objects, each of which contains information about an action group.ListAgentActionGroupsResponse.BuildernextToken(String nextToken)If the total number of results is greater than themaxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
actionGroupSummaries
ListAgentActionGroupsResponse.Builder actionGroupSummaries(Collection<ActionGroupSummary> actionGroupSummaries)
A list of objects, each of which contains information about an action group.
- Parameters:
actionGroupSummaries- A list of objects, each of which contains information about an action group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionGroupSummaries
ListAgentActionGroupsResponse.Builder actionGroupSummaries(ActionGroupSummary... actionGroupSummaries)
A list of objects, each of which contains information about an action group.
- Parameters:
actionGroupSummaries- A list of objects, each of which contains information about an action group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionGroupSummaries
ListAgentActionGroupsResponse.Builder actionGroupSummaries(Consumer<ActionGroupSummary.Builder>... actionGroupSummaries)
A list of objects, each of which contains information about an action group.
This is a convenience method that creates an instance of theActionGroupSummary.Builderavoiding the need to create one manually viaActionGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actionGroupSummaries(List.) - Parameters:
actionGroupSummaries- a consumer that will call methods onActionGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actionGroupSummaries(java.util.Collection)
-
nextToken
ListAgentActionGroupsResponse.Builder nextToken(String nextToken)
If the total number of results is greater than the
maxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.- Parameters:
nextToken- If the total number of results is greater than themaxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-