Interface IngestKnowledgeBaseDocumentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<IngestKnowledgeBaseDocumentsResponse.Builder,,IngestKnowledgeBaseDocumentsResponse> SdkBuilder<IngestKnowledgeBaseDocumentsResponse.Builder,,IngestKnowledgeBaseDocumentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
IngestKnowledgeBaseDocumentsResponse
@Mutable
@NotThreadSafe
public static interface IngestKnowledgeBaseDocumentsResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<IngestKnowledgeBaseDocumentsResponse.Builder,IngestKnowledgeBaseDocumentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentDetails(Collection<KnowledgeBaseDocumentDetail> documentDetails) A list of objects, each of which contains information about the documents that were ingested.documentDetails(Consumer<KnowledgeBaseDocumentDetail.Builder>... documentDetails) A list of objects, each of which contains information about the documents that were ingested.documentDetails(KnowledgeBaseDocumentDetail... documentDetails) A list of objects, each of which contains information about the documents that were ingested.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
-
documentDetails
IngestKnowledgeBaseDocumentsResponse.Builder documentDetails(Collection<KnowledgeBaseDocumentDetail> documentDetails) A list of objects, each of which contains information about the documents that were ingested.
- Parameters:
documentDetails- A list of objects, each of which contains information about the documents that were ingested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentDetails
IngestKnowledgeBaseDocumentsResponse.Builder documentDetails(KnowledgeBaseDocumentDetail... documentDetails) A list of objects, each of which contains information about the documents that were ingested.
- Parameters:
documentDetails- A list of objects, each of which contains information about the documents that were ingested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentDetails
IngestKnowledgeBaseDocumentsResponse.Builder documentDetails(Consumer<KnowledgeBaseDocumentDetail.Builder>... documentDetails) A list of objects, each of which contains information about the documents that were ingested.
This is a convenience method that creates an instance of theKnowledgeBaseDocumentDetail.Builderavoiding the need to create one manually viaKnowledgeBaseDocumentDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentDetails(List<KnowledgeBaseDocumentDetail>).- Parameters:
documentDetails- a consumer that will call methods onKnowledgeBaseDocumentDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-