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