Interface DeleteKnowledgeBaseDocumentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentResponse.Builder
,Buildable
,CopyableBuilder<DeleteKnowledgeBaseDocumentsResponse.Builder,
,DeleteKnowledgeBaseDocumentsResponse> SdkBuilder<DeleteKnowledgeBaseDocumentsResponse.Builder,
,DeleteKnowledgeBaseDocumentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteKnowledgeBaseDocumentsResponse
@Mutable
@NotThreadSafe
public static interface DeleteKnowledgeBaseDocumentsResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<DeleteKnowledgeBaseDocumentsResponse.Builder,DeleteKnowledgeBaseDocumentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentDetails
(Collection<KnowledgeBaseDocumentDetail> documentDetails) A list of objects, each of which contains information about the documents that were deleted.documentDetails
(Consumer<KnowledgeBaseDocumentDetail.Builder>... documentDetails) A list of objects, each of which contains information about the documents that were deleted.documentDetails
(KnowledgeBaseDocumentDetail... documentDetails) A list of objects, each of which contains information about the documents that were deleted.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 Details
-
documentDetails
DeleteKnowledgeBaseDocumentsResponse.Builder documentDetails(Collection<KnowledgeBaseDocumentDetail> documentDetails) A list of objects, each of which contains information about the documents that were deleted.
- Parameters:
documentDetails
- A list of objects, each of which contains information about the documents that were deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentDetails
DeleteKnowledgeBaseDocumentsResponse.Builder documentDetails(KnowledgeBaseDocumentDetail... documentDetails) A list of objects, each of which contains information about the documents that were deleted.
- Parameters:
documentDetails
- A list of objects, each of which contains information about the documents that were deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentDetails
DeleteKnowledgeBaseDocumentsResponse.Builder documentDetails(Consumer<KnowledgeBaseDocumentDetail.Builder>... documentDetails) A list of objects, each of which contains information about the documents that were deleted.
This is a convenience method that creates an instance of theKnowledgeBaseDocumentDetail.Builder
avoiding the need to create one manually viaKnowledgeBaseDocumentDetail.builder()
.When the
Consumer
completes,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:
-