Class CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.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 CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty.Builder dataSourceFieldName(String dataSourceFieldName) Sets the value ofCfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty.getDataSourceFieldName()- Parameters:
dataSourceFieldName- The name of the field in the data source. You must first create the index field using theUpdateIndexAPI.- Returns:
this
-
dateFieldFormat
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty.Builder dateFieldFormat(String dateFieldFormat) Sets the value ofCfnDataSourcePropsMixin.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
-
indexFieldName
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty.Builder indexFieldName(String indexFieldName) Sets the value ofCfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty.getIndexFieldName()- Parameters:
indexFieldName- The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.- Returns:
this
-
build
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.ConfluenceAttachmentToIndexFieldMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-