Interface ListDocumentsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListDocumentsResponse.Builder,,- ListDocumentsResponse> - QBusinessResponse.Builder,- SdkBuilder<ListDocumentsResponse.Builder,,- ListDocumentsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListDocumentsResponse
@Mutable
@NotThreadSafe
public static interface ListDocumentsResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListDocumentsResponse.Builder,ListDocumentsResponse> 
- 
Method SummaryModifier and TypeMethodDescriptiondocumentDetailList(Collection<DocumentDetails> documentDetailList) A list of document details.documentDetailList(Consumer<DocumentDetails.Builder>... documentDetailList) A list of document details.documentDetailList(DocumentDetails... documentDetailList) A list of document details.If themaxResultsresponse was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
documentDetailListA list of document details. - Parameters:
- documentDetailList- A list of document details.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
documentDetailListA list of document details. - Parameters:
- documentDetailList- A list of document details.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
documentDetailListListDocumentsResponse.Builder documentDetailList(Consumer<DocumentDetails.Builder>... documentDetailList) A list of document details. This is a convenience method that creates an instance of theDocumentDetails.Builderavoiding the need to create one manually viaDocumentDetails.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentDetailList(List<DocumentDetails>).- Parameters:
- documentDetailList- a consumer that will call methods on- DocumentDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenIf the maxResultsresponse was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.- Parameters:
- nextToken- If the- maxResultsresponse was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-