@Stability(value=Stable) public static final class CfnDataSourceProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSourceProps>
CfnDataSourceProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDataSourceProps.Builder indexId(String indexId)
CfnDataSourceProps.getIndexId()indexId - The identifier of the index that should be associated with this data source. This parameter is required.this@Stability(value=Stable) public CfnDataSourceProps.Builder name(String name)
CfnDataSourceProps.getName()name - The name of the data source. This parameter is required.this@Stability(value=Stable) public CfnDataSourceProps.Builder type(String type)
CfnDataSourceProps.getType()type - The type of the data source. This parameter is required.this@Stability(value=Stable) public CfnDataSourceProps.Builder customDocumentEnrichmentConfiguration(CfnDataSource.CustomDocumentEnrichmentConfigurationProperty customDocumentEnrichmentConfiguration)
CfnDataSourceProps.getCustomDocumentEnrichmentConfiguration()customDocumentEnrichmentConfiguration - Configuration information for altering document metadata and content during the document ingestion process.this@Stability(value=Stable) public CfnDataSourceProps.Builder customDocumentEnrichmentConfiguration(IResolvable customDocumentEnrichmentConfiguration)
CfnDataSourceProps.getCustomDocumentEnrichmentConfiguration()customDocumentEnrichmentConfiguration - Configuration information for altering document metadata and content during the document ingestion process.this@Stability(value=Stable) public CfnDataSourceProps.Builder dataSourceConfiguration(CfnDataSource.DataSourceConfigurationProperty dataSourceConfiguration)
CfnDataSourceProps.getDataSourceConfiguration()dataSourceConfiguration - Configuration information for an Amazon Kendra data source.
The contents of the configuration depend on the type of data source. You can only specify one type of data source in the configuration. Choose from one of the following data sources.
You can't specify the Configuration parameter when the Type parameter is set to CUSTOM .
The Configuration parameter is required for all other data sources.
this@Stability(value=Stable) public CfnDataSourceProps.Builder dataSourceConfiguration(IResolvable dataSourceConfiguration)
CfnDataSourceProps.getDataSourceConfiguration()dataSourceConfiguration - Configuration information for an Amazon Kendra data source.
The contents of the configuration depend on the type of data source. You can only specify one type of data source in the configuration. Choose from one of the following data sources.
You can't specify the Configuration parameter when the Type parameter is set to CUSTOM .
The Configuration parameter is required for all other data sources.
this@Stability(value=Stable) public CfnDataSourceProps.Builder description(String description)
CfnDataSourceProps.getDescription()description - A description of the data source.this@Stability(value=Stable) public CfnDataSourceProps.Builder roleArn(String roleArn)
CfnDataSourceProps.getRoleArn()roleArn - The Amazon Resource Name (ARN) of a role with permission to access the data source.
You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM .
The RoleArn parameter is required for all other data sources.
this@Stability(value=Stable) public CfnDataSourceProps.Builder schedule(String schedule)
CfnDataSourceProps.getSchedule()schedule - Sets the frequency that Amazon Kendra checks the documents in your data source and updates the index.
If you don't set a schedule, Amazon Kendra doesn't periodically update the index.this@Stability(value=Stable) public CfnDataSourceProps.Builder tags(List<? extends CfnTag> tags)
CfnDataSourceProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnDataSourceProps build()
build in interface software.amazon.jsii.Builder<CfnDataSourceProps>CfnDataSourcePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.