Interface ListRetrievalInstructionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<ListRetrievalInstructionsResponse.Builder,,ListRetrievalInstructionsResponse> SdkBuilder<ListRetrievalInstructionsResponse.Builder,,ListRetrievalInstructionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRetrievalInstructionsResponse
@Mutable
@NotThreadSafe
public static interface ListRetrievalInstructionsResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListRetrievalInstructionsResponse.Builder,ListRetrievalInstructionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to pass to the next ListRetrievalInstructions call, absent on the last page.retrievalInstructionSummaries(Collection<RetrievalInstructionSummary> retrievalInstructionSummaries) The retrieval instruction summaries in this page.retrievalInstructionSummaries(Consumer<RetrievalInstructionSummary.Builder>... retrievalInstructionSummaries) The retrieval instruction summaries in this page.retrievalInstructionSummaries(RetrievalInstructionSummary... retrievalInstructionSummaries) The retrieval instruction summaries in this page.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
-
retrievalInstructionSummaries
ListRetrievalInstructionsResponse.Builder retrievalInstructionSummaries(Collection<RetrievalInstructionSummary> retrievalInstructionSummaries) The retrieval instruction summaries in this page.
- Parameters:
retrievalInstructionSummaries- The retrieval instruction summaries in this page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrievalInstructionSummaries
ListRetrievalInstructionsResponse.Builder retrievalInstructionSummaries(RetrievalInstructionSummary... retrievalInstructionSummaries) The retrieval instruction summaries in this page.
- Parameters:
retrievalInstructionSummaries- The retrieval instruction summaries in this page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrievalInstructionSummaries
ListRetrievalInstructionsResponse.Builder retrievalInstructionSummaries(Consumer<RetrievalInstructionSummary.Builder>... retrievalInstructionSummaries) The retrieval instruction summaries in this page.
This is a convenience method that creates an instance of theRetrievalInstructionSummary.Builderavoiding the need to create one manually viaRetrievalInstructionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretrievalInstructionSummaries(List<RetrievalInstructionSummary>).- Parameters:
retrievalInstructionSummaries- a consumer that will call methods onRetrievalInstructionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to pass to the next ListRetrievalInstructions call, absent on the last page.
- Parameters:
nextToken- The pagination token to pass to the next ListRetrievalInstructions call, absent on the last page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-