Class CfnDataSource.ConfluencePageToIndexFieldMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.ConfluencePageToIndexFieldMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.ConfluencePageToIndexFieldMappingProperty>
- Enclosing interface:
CfnDataSource.ConfluencePageToIndexFieldMappingProperty
@Stability(Stable)
public static final class CfnDataSource.ConfluencePageToIndexFieldMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.ConfluencePageToIndexFieldMappingProperty>
A builder for
CfnDataSource.ConfluencePageToIndexFieldMappingProperty
-
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.ConfluencePageToIndexFieldMappingProperty.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.ConfluencePageToIndexFieldMappingProperty.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.ConfluencePageToIndexFieldMappingProperty.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.ConfluencePageToIndexFieldMappingProperty>
- Returns:
- a new instance of
CfnDataSource.ConfluencePageToIndexFieldMappingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-