Class CfnDataSource.DataSourceToIndexFieldMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.DataSourceToIndexFieldMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.DataSourceToIndexFieldMappingProperty>
- Enclosing interface:
- CfnDataSource.DataSourceToIndexFieldMappingProperty
@Stability(Stable)
public static final class CfnDataSource.DataSourceToIndexFieldMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.DataSourceToIndexFieldMappingProperty>
A builder for
CfnDataSource.DataSourceToIndexFieldMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataSourceFieldName(String dataSourceFieldName) dateFieldFormat(String dateFieldFormat) Sets the value ofCfnDataSource.DataSourceToIndexFieldMappingProperty.getDateFieldFormat()indexFieldName(String indexFieldName) Sets the value ofCfnDataSource.DataSourceToIndexFieldMappingProperty.getIndexFieldName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSourceFieldName
@Stability(Stable) public CfnDataSource.DataSourceToIndexFieldMappingProperty.Builder dataSourceFieldName(String dataSourceFieldName) - Parameters:
dataSourceFieldName- The name of the column or attribute in the data source. This parameter is required.- Returns:
this
-
indexFieldName
@Stability(Stable) public CfnDataSource.DataSourceToIndexFieldMappingProperty.Builder indexFieldName(String indexFieldName) Sets the value ofCfnDataSource.DataSourceToIndexFieldMappingProperty.getIndexFieldName()- Parameters:
indexFieldName- The name of the field in the index. This parameter is required.- Returns:
this
-
dateFieldFormat
@Stability(Stable) public CfnDataSource.DataSourceToIndexFieldMappingProperty.Builder dateFieldFormat(String dateFieldFormat) Sets the value ofCfnDataSource.DataSourceToIndexFieldMappingProperty.getDateFieldFormat()- Parameters:
dateFieldFormat- The type of data stored in the column or attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.DataSourceToIndexFieldMappingProperty>- Returns:
- a new instance of
CfnDataSource.DataSourceToIndexFieldMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-