Class CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty>
- Enclosing interface:
CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty
@Stability(Stable)
public static final class CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty>
A builder for
CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataSourceFieldName
(String dataSourceFieldName) dateFieldFormat
(String dateFieldFormat) indexFieldName
(String indexFieldName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSourceFieldName
@Stability(Stable) public CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty.Builder dataSourceFieldName(String dataSourceFieldName) - Parameters:
dataSourceFieldName
- The name of the field in the data source. This parameter is required.- Returns:
this
-
indexFieldName
@Stability(Stable) public CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty.Builder indexFieldName(String indexFieldName) - Parameters:
indexFieldName
- The name of the index field to map to the Confluence data source field. This parameter is required. The index field type must match the Confluence field type.- Returns:
this
-
dateFieldFormat
@Stability(Stable) public CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty.Builder dateFieldFormat(String dateFieldFormat) - Parameters:
dateFieldFormat
- The format for date fields in the data source. If the field specified inDataSourceFieldName
is a date field you must specify the date format. If the field is not a date field, an exception is thrown.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty>
- Returns:
- a new instance of
CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-