Interface DescribeDataSourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDataSourceResponse.Builder,,DescribeDataSourceResponse> KendraResponse.Builder,SdkBuilder<DescribeDataSourceResponse.Builder,,DescribeDataSourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDataSourceResponse
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(Consumer<DataSourceConfiguration.Builder> configuration) Configuration details for the data source connector.configuration(DataSourceConfiguration configuration) Configuration details for the data source connector.The Unix timestamp when the data source connector was created.customDocumentEnrichmentConfiguration(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration) Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration) Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.description(String description) The description for the data source connector.errorMessage(String errorMessage) When theStatusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source to fail.The identifier of the data source connector.The identifier of the index used with the data source connector.languageCode(String languageCode) The code for a language.The name for the data source connector.The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.The schedule for Amazon Kendra to update the index.The current status of the data source connector.status(DataSourceStatus status) The current status of the data source connector.The type of the data source.type(DataSourceType type) The type of the data source.The Unix timestamp when the data source connector was last updated.vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your data source.vpcConfiguration(DataSourceVpcConfiguration vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The identifier of the data source connector.
- Parameters:
id- The identifier of the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexId
The identifier of the index used with the data source connector.
- Parameters:
indexId- The identifier of the index used with the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name for the data source connector.
- Parameters:
name- The name for the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the data source. For example,
SHAREPOINT.- Parameters:
type- The type of the data source. For example,SHAREPOINT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the data source. For example,
SHAREPOINT.- Parameters:
type- The type of the data source. For example,SHAREPOINT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configuration
Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.
- Parameters:
configuration- Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default DescribeDataSourceResponse.Builder configuration(Consumer<DataSourceConfiguration.Builder> configuration) Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.
This is a convenience method that creates an instance of theDataSourceConfiguration.Builderavoiding the need to create one manually viaDataSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(DataSourceConfiguration).- Parameters:
configuration- a consumer that will call methods onDataSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfiguration
Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
- Parameters:
vpcConfiguration- Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default DescribeDataSourceResponse.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
This is a convenience method that creates an instance of theDataSourceVpcConfiguration.Builderavoiding the need to create one manually viaDataSourceVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(DataSourceVpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onDataSourceVpcConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The Unix timestamp when the data source connector was created.
- Parameters:
createdAt- The Unix timestamp when the data source connector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The Unix timestamp when the data source connector was last updated.
- Parameters:
updatedAt- The Unix timestamp when the data source connector was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the data source connector.
- Parameters:
description- The description for the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the data source connector. When the status is
ACTIVEthe data source is ready to use. When the status isFAILED, theErrorMessagefield contains the reason that the data source failed.- Parameters:
status- The current status of the data source connector. When the status isACTIVEthe data source is ready to use. When the status isFAILED, theErrorMessagefield contains the reason that the data source failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the data source connector. When the status is
ACTIVEthe data source is ready to use. When the status isFAILED, theErrorMessagefield contains the reason that the data source failed.- Parameters:
status- The current status of the data source connector. When the status isACTIVEthe data source is ready to use. When the status isFAILED, theErrorMessagefield contains the reason that the data source failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedule
The schedule for Amazon Kendra to update the index.
- Parameters:
schedule- The schedule for Amazon Kendra to update the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
When the
Statusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source to fail.- Parameters:
errorMessage- When theStatusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source to fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageCode
The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
- Parameters:
languageCode- The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDocumentEnrichmentConfiguration
DescribeDataSourceResponse.Builder customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration) Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
- Parameters:
customDocumentEnrichmentConfiguration- Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDocumentEnrichmentConfiguration
default DescribeDataSourceResponse.Builder customDocumentEnrichmentConfiguration(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration) Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
This is a convenience method that creates an instance of theCustomDocumentEnrichmentConfiguration.Builderavoiding the need to create one manually viaCustomDocumentEnrichmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration).- Parameters:
customDocumentEnrichmentConfiguration- a consumer that will call methods onCustomDocumentEnrichmentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-