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 Summary
Modifier 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 themaxResults
response 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.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The 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.
-
indexId
The 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.
-
dataSourceIds
The 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.
-
dataSourceIds
The 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.
-
nextToken
If the
maxResults
response 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 themaxResults
response 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.
-
maxResults
The 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.
-
overrideConfiguration
ListDocumentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListDocumentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-