Interface RetrievalResultLocation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>,SdkBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>,SdkPojo
- Enclosing class:
- RetrievalResultLocation
@Mutable @NotThreadSafe public static interface RetrievalResultLocation.Builder extends SdkPojo, CopyableBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>
-
-
Method Summary
-
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 Detail
-
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.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 onRetrievalResultConfluenceLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
confluenceLocation(RetrievalResultConfluenceLocation)
-
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.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 onRetrievalResultCustomDocumentLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
customDocumentLocation(RetrievalResultCustomDocumentLocation)
-
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.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 onRetrievalResultKendraDocumentLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
kendraDocumentLocation(RetrievalResultKendraDocumentLocation)
-
s3Location
RetrievalResultLocation.Builder s3Location(RetrievalResultS3Location 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.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 onRetrievalResultS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Location(RetrievalResultS3Location)
-
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.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 onRetrievalResultSalesforceLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
salesforceLocation(RetrievalResultSalesforceLocation)
-
sharePointLocation
RetrievalResultLocation.Builder sharePointLocation(RetrievalResultSharePointLocation sharePointLocation)
The SharePoint data source location.
- Parameters:
sharePointLocation- The SharePoint data source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharePointLocation
default RetrievalResultLocation.Builder sharePointLocation(Consumer<RetrievalResultSharePointLocation.Builder> sharePointLocation)
The SharePoint data source location.
This is a convenience method that creates an instance of theRetrievalResultSharePointLocation.Builderavoiding the need to create one manually viaRetrievalResultSharePointLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosharePointLocation(RetrievalResultSharePointLocation).- Parameters:
sharePointLocation- a consumer that will call methods onRetrievalResultSharePointLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sharePointLocation(RetrievalResultSharePointLocation)
-
sqlLocation
RetrievalResultLocation.Builder sqlLocation(RetrievalResultSqlLocation 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.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 onRetrievalResultSqlLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sqlLocation(RetrievalResultSqlLocation)
-
type
RetrievalResultLocation.Builder type(String 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:
RetrievalResultLocationType,RetrievalResultLocationType
-
type
RetrievalResultLocation.Builder type(RetrievalResultLocationType 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:
RetrievalResultLocationType,RetrievalResultLocationType
-
webLocation
RetrievalResultLocation.Builder webLocation(RetrievalResultWebLocation 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.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 onRetrievalResultWebLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
webLocation(RetrievalResultWebLocation)
-
-