public static final class CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty |
build()
Builds the configured instance.
|
CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.Builder |
dataSourceFieldName(java.lang.String dataSourceFieldName)
|
CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.Builder |
dateFieldFormat(java.lang.String dateFieldFormat)
|
CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.Builder |
indexFieldName(java.lang.String indexFieldName)
|
public CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.Builder dataSourceFieldName(java.lang.String dataSourceFieldName)
CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.getDataSourceFieldName()
dataSourceFieldName
- The name of the field in the data source. This parameter is required.
You must first create the index field using the UpdateIndex
API.this
public CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.Builder indexFieldName(java.lang.String indexFieldName)
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.this
public CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.Builder dateFieldFormat(java.lang.String dateFieldFormat)
CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty.getDateFieldFormat()
dateFieldFormat
- The format for date fields in the data source.
If the field specified in DataSourceFieldName
is a date field you must specify the date format. If the field is not a date field, an exception is thrown.this
public CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty build()
CfnDataSource.ConfluenceAttachmentToIndexFieldMappingProperty
java.lang.NullPointerException
- if any required attribute was not provided