Class CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty>
- Enclosing interface:
- CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty
@Stability(Stable)
public static final class CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty>
-
Constructor Summary
Constructors -
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.ConfluenceAttachmentToIndexFieldMappingProperty.Builder dataSourceFieldName(String dataSourceFieldName) Sets the value ofCfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.getDataSourceFieldName()- Parameters:
dataSourceFieldName- The name of the field in the data source. This parameter is required. You must first create the index field using theUpdateIndexAPI.- Returns:
this
-
indexFieldName
@Stability(Stable) public CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.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.ConfluenceAttachmentToIndexFieldMappingProperty.Builder dateFieldFormat(String dateFieldFormat) Sets the value ofCfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.getDateFieldFormat()- Parameters:
dateFieldFormat- The format for date fields in the data source. If the field specified inDataSourceFieldNameis 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty>- Returns:
- a new instance of
CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-