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