Interface ListDocumentsRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<ListDocumentsRequest.Builder,,- ListDocumentsRequest> - QBusinessRequest.Builder,- SdkBuilder<ListDocumentsRequest.Builder,,- ListDocumentsRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- ListDocumentsRequest
@Mutable
@NotThreadSafe
public static interface ListDocumentsRequest.Builder
extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<ListDocumentsRequest.Builder,ListDocumentsRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionapplicationId(String applicationId) The identifier of the application id the documents are attached to.dataSourceIds(String... dataSourceIds) The identifier of the data sources the documents are attached to.dataSourceIds(Collection<String> dataSourceIds) The identifier of the data sources the documents are attached to.The identifier of the index the documents are attached to.maxResults(Integer maxResults) The maximum number of documents to return.If themaxResultsresponse was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
applicationIdThe identifier of the application id the documents are attached to. - Parameters:
- applicationId- The identifier of the application id the documents are attached to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
indexIdThe identifier of the index the documents are attached to. - Parameters:
- indexId- The identifier of the index the documents are attached to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSourceIdsThe identifier of the data sources the documents are attached to. - Parameters:
- dataSourceIds- The identifier of the data sources the documents are attached to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSourceIdsThe identifier of the data sources the documents are attached to. - Parameters:
- dataSourceIds- The identifier of the data sources the documents are attached to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
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.
 
- 
maxResultsThe maximum number of documents to return. - Parameters:
- maxResults- The maximum number of documents to return.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationListDocumentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationListDocumentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-