Interface RetrievalResultLocation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RetrievalResultLocation.Builder,
,RetrievalResultLocation> SdkBuilder<RetrievalResultLocation.Builder,
,RetrievalResultLocation> SdkPojo
- Enclosing class:
RetrievalResultLocation
-
Method Summary
Modifier and TypeMethodDescriptiondefault RetrievalResultLocation.Builder
confluenceLocation
(Consumer<RetrievalResultConfluenceLocation.Builder> confluenceLocation) The Confluence data source location.confluenceLocation
(RetrievalResultConfluenceLocation confluenceLocation) The Confluence data source location.default RetrievalResultLocation.Builder
customDocumentLocation
(Consumer<RetrievalResultCustomDocumentLocation.Builder> customDocumentLocation) Specifies the location of a document in a custom data source.customDocumentLocation
(RetrievalResultCustomDocumentLocation customDocumentLocation) Specifies the location of a document in a custom data source.default RetrievalResultLocation.Builder
kendraDocumentLocation
(Consumer<RetrievalResultKendraDocumentLocation.Builder> kendraDocumentLocation) The location of a document in Amazon Kendra.kendraDocumentLocation
(RetrievalResultKendraDocumentLocation kendraDocumentLocation) The location of a document in Amazon Kendra.default RetrievalResultLocation.Builder
s3Location
(Consumer<RetrievalResultS3Location.Builder> s3Location) The S3 data source location.s3Location
(RetrievalResultS3Location s3Location) The S3 data source location.default RetrievalResultLocation.Builder
salesforceLocation
(Consumer<RetrievalResultSalesforceLocation.Builder> salesforceLocation) The Salesforce data source location.salesforceLocation
(RetrievalResultSalesforceLocation salesforceLocation) The Salesforce data source location.default RetrievalResultLocation.Builder
sharePointLocation
(Consumer<RetrievalResultSharePointLocation.Builder> sharePointLocation) The SharePoint data source location.sharePointLocation
(RetrievalResultSharePointLocation sharePointLocation) The SharePoint data source location.default RetrievalResultLocation.Builder
sqlLocation
(Consumer<RetrievalResultSqlLocation.Builder> sqlLocation) Specifies information about the SQL query used to retrieve the result.sqlLocation
(RetrievalResultSqlLocation sqlLocation) Specifies information about the SQL query used to retrieve the result.The type of data source location.The type of data source location.default RetrievalResultLocation.Builder
webLocation
(Consumer<RetrievalResultWebLocation.Builder> webLocation) The web URL/URLs data source location.webLocation
(RetrievalResultWebLocation webLocation) The web URL/URLs data source location.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
-
Method Details
-
confluenceLocation
RetrievalResultLocation.Builder confluenceLocation(RetrievalResultConfluenceLocation confluenceLocation) The Confluence data source location.
- Parameters:
confluenceLocation
- The Confluence data source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confluenceLocation
default RetrievalResultLocation.Builder confluenceLocation(Consumer<RetrievalResultConfluenceLocation.Builder> confluenceLocation) The Confluence data source location.
This is a convenience method that creates an instance of theRetrievalResultConfluenceLocation.Builder
avoiding the need to create one manually viaRetrievalResultConfluenceLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfluenceLocation(RetrievalResultConfluenceLocation)
.- Parameters:
confluenceLocation
- a consumer that will call methods onRetrievalResultConfluenceLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customDocumentLocation
RetrievalResultLocation.Builder customDocumentLocation(RetrievalResultCustomDocumentLocation customDocumentLocation) Specifies the location of a document in a custom data source.
- Parameters:
customDocumentLocation
- Specifies the location of a document in a custom data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDocumentLocation
default RetrievalResultLocation.Builder customDocumentLocation(Consumer<RetrievalResultCustomDocumentLocation.Builder> customDocumentLocation) Specifies the location of a document in a custom data source.
This is a convenience method that creates an instance of theRetrievalResultCustomDocumentLocation.Builder
avoiding the need to create one manually viaRetrievalResultCustomDocumentLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomDocumentLocation(RetrievalResultCustomDocumentLocation)
.- Parameters:
customDocumentLocation
- a consumer that will call methods onRetrievalResultCustomDocumentLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kendraDocumentLocation
RetrievalResultLocation.Builder kendraDocumentLocation(RetrievalResultKendraDocumentLocation kendraDocumentLocation) The location of a document in Amazon Kendra.
- Parameters:
kendraDocumentLocation
- The location of a document in Amazon Kendra.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kendraDocumentLocation
default RetrievalResultLocation.Builder kendraDocumentLocation(Consumer<RetrievalResultKendraDocumentLocation.Builder> kendraDocumentLocation) The location of a document in Amazon Kendra.
This is a convenience method that creates an instance of theRetrievalResultKendraDocumentLocation.Builder
avoiding the need to create one manually viaRetrievalResultKendraDocumentLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokendraDocumentLocation(RetrievalResultKendraDocumentLocation)
.- Parameters:
kendraDocumentLocation
- a consumer that will call methods onRetrievalResultKendraDocumentLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Location
The S3 data source location.
- Parameters:
s3Location
- The S3 data source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
default RetrievalResultLocation.Builder s3Location(Consumer<RetrievalResultS3Location.Builder> s3Location) The S3 data source location.
This is a convenience method that creates an instance of theRetrievalResultS3Location.Builder
avoiding the need to create one manually viaRetrievalResultS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Location(RetrievalResultS3Location)
.- Parameters:
s3Location
- a consumer that will call methods onRetrievalResultS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
salesforceLocation
RetrievalResultLocation.Builder salesforceLocation(RetrievalResultSalesforceLocation salesforceLocation) The Salesforce data source location.
- Parameters:
salesforceLocation
- The Salesforce data source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
salesforceLocation
default RetrievalResultLocation.Builder salesforceLocation(Consumer<RetrievalResultSalesforceLocation.Builder> salesforceLocation) The Salesforce data source location.
This is a convenience method that creates an instance of theRetrievalResultSalesforceLocation.Builder
avoiding the need to create one manually viaRetrievalResultSalesforceLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosalesforceLocation(RetrievalResultSalesforceLocation)
.- Parameters:
salesforceLocation
- a consumer that will call methods onRetrievalResultSalesforceLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sqlLocation
Specifies information about the SQL query used to retrieve the result.
- Parameters:
sqlLocation
- Specifies information about the SQL query used to retrieve the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqlLocation
default RetrievalResultLocation.Builder sqlLocation(Consumer<RetrievalResultSqlLocation.Builder> sqlLocation) Specifies information about the SQL query used to retrieve the result.
This is a convenience method that creates an instance of theRetrievalResultSqlLocation.Builder
avoiding the need to create one manually viaRetrievalResultSqlLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosqlLocation(RetrievalResultSqlLocation)
.- Parameters:
sqlLocation
- a consumer that will call methods onRetrievalResultSqlLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of data source location.
- Parameters:
type
- The type of data source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of data source location.
- Parameters:
type
- The type of data source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
webLocation
The web URL/URLs data source location.
- Parameters:
webLocation
- The web URL/URLs data source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webLocation
default RetrievalResultLocation.Builder webLocation(Consumer<RetrievalResultWebLocation.Builder> webLocation) The web URL/URLs data source location.
This is a convenience method that creates an instance of theRetrievalResultWebLocation.Builder
avoiding the need to create one manually viaRetrievalResultWebLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebLocation(RetrievalResultWebLocation)
.- Parameters:
webLocation
- a consumer that will call methods onRetrievalResultWebLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-