Interface ListAiAgentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAiAgentsResponse.Builder,ListAiAgentsResponse>,QConnectResponse.Builder,SdkBuilder<ListAiAgentsResponse.Builder,ListAiAgentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAiAgentsResponse
public static interface ListAiAgentsResponse.Builder extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<ListAiAgentsResponse.Builder,ListAiAgentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAiAgentsResponse.BuilderaiAgentSummaries(Collection<AIAgentSummary> aiAgentSummaries)The summaries of AI Agents.ListAiAgentsResponse.BuilderaiAgentSummaries(Consumer<AIAgentSummary.Builder>... aiAgentSummaries)The summaries of AI Agents.ListAiAgentsResponse.BuilderaiAgentSummaries(AIAgentSummary... aiAgentSummaries)The summaries of AI Agents.ListAiAgentsResponse.BuildernextToken(String nextToken)The token for the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
aiAgentSummaries
ListAiAgentsResponse.Builder aiAgentSummaries(Collection<AIAgentSummary> aiAgentSummaries)
The summaries of AI Agents.
- Parameters:
aiAgentSummaries- The summaries of AI Agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiAgentSummaries
ListAiAgentsResponse.Builder aiAgentSummaries(AIAgentSummary... aiAgentSummaries)
The summaries of AI Agents.
- Parameters:
aiAgentSummaries- The summaries of AI Agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiAgentSummaries
ListAiAgentsResponse.Builder aiAgentSummaries(Consumer<AIAgentSummary.Builder>... aiAgentSummaries)
The summaries of AI Agents.
This is a convenience method that creates an instance of theAIAgentSummary.Builderavoiding the need to create one manually viaAIAgentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#aiAgentSummaries(List.) - Parameters:
aiAgentSummaries- a consumer that will call methods onAIAgentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#aiAgentSummaries(java.util.Collection)
-
nextToken
ListAiAgentsResponse.Builder nextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-