Interface ListDocumentsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListDocumentsRequest.Builder,ListDocumentsRequest>,QBusinessRequest.Builder,SdkBuilder<ListDocumentsRequest.Builder,ListDocumentsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListDocumentsRequest
public static interface ListDocumentsRequest.Builder extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<ListDocumentsRequest.Builder,ListDocumentsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDocumentsRequest.BuilderapplicationId(String applicationId)The identifier of the application id the documents are attached to.ListDocumentsRequest.BuilderdataSourceIds(String... dataSourceIds)The identifier of the data sources the documents are attached to.ListDocumentsRequest.BuilderdataSourceIds(Collection<String> dataSourceIds)The identifier of the data sources the documents are attached to.ListDocumentsRequest.BuilderindexId(String indexId)The identifier of the index the documents are attached to.ListDocumentsRequest.BuildermaxResults(Integer maxResults)The maximum number of documents to return.ListDocumentsRequest.BuildernextToken(String nextToken)If themaxResultsresponse was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response.ListDocumentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListDocumentsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFields
-
-
-
-
Method Detail
-
applicationId
ListDocumentsRequest.Builder applicationId(String 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.
-
dataSourceIds
ListDocumentsRequest.Builder dataSourceIds(Collection<String> 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
ListDocumentsRequest.Builder dataSourceIds(String... 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.
-
indexId
ListDocumentsRequest.Builder indexId(String 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.
-
maxResults
ListDocumentsRequest.Builder maxResults(Integer 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.
-
nextToken
ListDocumentsRequest.Builder nextToken(String nextToken)
If the
maxResultsresponse was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.- Parameters:
nextToken- If themaxResultsresponse was incomplete because there is more data to retrieve, Amazon Q 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.
-
overrideConfiguration
ListDocumentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListDocumentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-