Interface RetrievalResultLocation.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RetrievalResultLocation.Builder,,- RetrievalResultLocation> - SdkBuilder<RetrievalResultLocation.Builder,,- RetrievalResultLocation> - SdkPojo
- Enclosing class:
- RetrievalResultLocation
- 
Method SummaryModifier and TypeMethodDescriptiondefault RetrievalResultLocation.BuilderconfluenceLocation(Consumer<RetrievalResultConfluenceLocation.Builder> confluenceLocation) The Confluence data source location.confluenceLocation(RetrievalResultConfluenceLocation confluenceLocation) The Confluence data source location.default RetrievalResultLocation.BuildercustomDocumentLocation(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.BuilderkendraDocumentLocation(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.Builders3Location(Consumer<RetrievalResultS3Location.Builder> s3Location) The S3 data source location.s3Location(RetrievalResultS3Location s3Location) The S3 data source location.default RetrievalResultLocation.BuildersalesforceLocation(Consumer<RetrievalResultSalesforceLocation.Builder> salesforceLocation) The Salesforce data source location.salesforceLocation(RetrievalResultSalesforceLocation salesforceLocation) The Salesforce data source location.default RetrievalResultLocation.BuildersharePointLocation(Consumer<RetrievalResultSharePointLocation.Builder> sharePointLocation) The SharePoint data source location.sharePointLocation(RetrievalResultSharePointLocation sharePointLocation) The SharePoint data source location.default RetrievalResultLocation.BuildersqlLocation(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.BuilderwebLocation(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
typeThe 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:
 
- 
typeThe 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:
 
- 
s3LocationThe 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.
 
- 
s3Locationdefault RetrievalResultLocation.Builder s3Location(Consumer<RetrievalResultS3Location.Builder> s3Location) The S3 data source location. This is a convenience method that creates an instance of theRetrievalResultS3Location.Builderavoiding the need to create one manually viaRetrievalResultS3Location.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Location(RetrievalResultS3Location).- Parameters:
- s3Location- a consumer that will call methods on- RetrievalResultS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
webLocationThe 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.
 
- 
webLocationdefault 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.Builderavoiding the need to create one manually viaRetrievalResultWebLocation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebLocation(RetrievalResultWebLocation).- Parameters:
- webLocation- a consumer that will call methods on- RetrievalResultWebLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
confluenceLocationRetrievalResultLocation.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.
 
- 
confluenceLocationdefault RetrievalResultLocation.Builder confluenceLocation(Consumer<RetrievalResultConfluenceLocation.Builder> confluenceLocation) The Confluence data source location. This is a convenience method that creates an instance of theRetrievalResultConfluenceLocation.Builderavoiding the need to create one manually viaRetrievalResultConfluenceLocation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfluenceLocation(RetrievalResultConfluenceLocation).- Parameters:
- confluenceLocation- a consumer that will call methods on- RetrievalResultConfluenceLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
salesforceLocationRetrievalResultLocation.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.
 
- 
salesforceLocationdefault RetrievalResultLocation.Builder salesforceLocation(Consumer<RetrievalResultSalesforceLocation.Builder> salesforceLocation) The Salesforce data source location. This is a convenience method that creates an instance of theRetrievalResultSalesforceLocation.Builderavoiding the need to create one manually viaRetrievalResultSalesforceLocation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosalesforceLocation(RetrievalResultSalesforceLocation).- Parameters:
- salesforceLocation- a consumer that will call methods on- RetrievalResultSalesforceLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
customDocumentLocationRetrievalResultLocation.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.
 
- 
customDocumentLocationdefault 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.Builderavoiding the need to create one manually viaRetrievalResultCustomDocumentLocation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomDocumentLocation(RetrievalResultCustomDocumentLocation).- Parameters:
- customDocumentLocation- a consumer that will call methods on- RetrievalResultCustomDocumentLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
kendraDocumentLocationRetrievalResultLocation.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.
 
- 
kendraDocumentLocationdefault 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.Builderavoiding the need to create one manually viaRetrievalResultKendraDocumentLocation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokendraDocumentLocation(RetrievalResultKendraDocumentLocation).- Parameters:
- kendraDocumentLocation- a consumer that will call methods on- RetrievalResultKendraDocumentLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sqlLocationSpecifies 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.
 
- 
sqlLocationdefault 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.Builderavoiding the need to create one manually viaRetrievalResultSqlLocation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosqlLocation(RetrievalResultSqlLocation).- Parameters:
- sqlLocation- a consumer that will call methods on- RetrievalResultSqlLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-