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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IngestKnowledgeBaseDocumentsResponse.BuilderdocumentDetails(Collection<KnowledgeBaseDocumentDetail> documentDetails)A list of objects, each of which contains information about the documents that were ingested.IngestKnowledgeBaseDocumentsResponse.BuilderdocumentDetails(Consumer<KnowledgeBaseDocumentDetail.Builder>... documentDetails)A list of objects, each of which contains information about the documents that were ingested.IngestKnowledgeBaseDocumentsResponse.BuilderdocumentDetails(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, 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 to#documentDetails(List.) - 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:
#documentDetails(java.util.Collection)
-
-