Interface ListAgentAliasesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<ListAgentAliasesResponse.Builder,ListAgentAliasesResponse>,SdkBuilder<ListAgentAliasesResponse.Builder,ListAgentAliasesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAgentAliasesResponse
public static interface ListAgentAliasesResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListAgentAliasesResponse.Builder,ListAgentAliasesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAgentAliasesResponse.BuilderagentAliasSummaries(Collection<AgentAliasSummary> agentAliasSummaries)A list of objects, each of which contains information about an alias of the agent.ListAgentAliasesResponse.BuilderagentAliasSummaries(Consumer<AgentAliasSummary.Builder>... agentAliasSummaries)A list of objects, each of which contains information about an alias of the agent.ListAgentAliasesResponse.BuilderagentAliasSummaries(AgentAliasSummary... agentAliasSummaries)A list of objects, each of which contains information about an alias of the agent.ListAgentAliasesResponse.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
-
agentAliasSummaries
ListAgentAliasesResponse.Builder agentAliasSummaries(Collection<AgentAliasSummary> agentAliasSummaries)
A list of objects, each of which contains information about an alias of the agent.
- Parameters:
agentAliasSummaries- A list of objects, each of which contains information about an alias of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasSummaries
ListAgentAliasesResponse.Builder agentAliasSummaries(AgentAliasSummary... agentAliasSummaries)
A list of objects, each of which contains information about an alias of the agent.
- Parameters:
agentAliasSummaries- A list of objects, each of which contains information about an alias of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasSummaries
ListAgentAliasesResponse.Builder agentAliasSummaries(Consumer<AgentAliasSummary.Builder>... agentAliasSummaries)
A list of objects, each of which contains information about an alias of the agent.
This is a convenience method that creates an instance of theAgentAliasSummary.Builderavoiding the need to create one manually viaAgentAliasSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#agentAliasSummaries(List.) - Parameters:
agentAliasSummaries- a consumer that will call methods onAgentAliasSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#agentAliasSummaries(java.util.Collection)
-
nextToken
ListAgentAliasesResponse.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.
-
-