#[non_exhaustive]pub struct ConfluenceBlogToIndexFieldMapping {
pub data_source_field_name: Option<ConfluenceBlogFieldName>,
pub date_field_format: Option<String>,
pub index_field_name: Option<String>,
}Expand description
Maps attributes or field names of Confluence blog to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data_source_field_name: Option<ConfluenceBlogFieldName>The name of the field in the data source.
date_field_format: Option<String>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.
index_field_name: Option<String>The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.
Implementations§
source§impl ConfluenceBlogToIndexFieldMapping
impl ConfluenceBlogToIndexFieldMapping
sourcepub fn data_source_field_name(&self) -> Option<&ConfluenceBlogFieldName>
pub fn data_source_field_name(&self) -> Option<&ConfluenceBlogFieldName>
The name of the field in the data source.
sourcepub fn date_field_format(&self) -> Option<&str>
pub fn date_field_format(&self) -> Option<&str>
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.
sourcepub fn index_field_name(&self) -> Option<&str>
pub fn index_field_name(&self) -> Option<&str>
The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.
source§impl ConfluenceBlogToIndexFieldMapping
impl ConfluenceBlogToIndexFieldMapping
sourcepub fn builder() -> ConfluenceBlogToIndexFieldMappingBuilder
pub fn builder() -> ConfluenceBlogToIndexFieldMappingBuilder
Creates a new builder-style object to manufacture ConfluenceBlogToIndexFieldMapping.
Trait Implementations§
source§impl Clone for ConfluenceBlogToIndexFieldMapping
impl Clone for ConfluenceBlogToIndexFieldMapping
source§fn clone(&self) -> ConfluenceBlogToIndexFieldMapping
fn clone(&self) -> ConfluenceBlogToIndexFieldMapping
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ConfluenceBlogToIndexFieldMapping
impl PartialEq for ConfluenceBlogToIndexFieldMapping
source§fn eq(&self, other: &ConfluenceBlogToIndexFieldMapping) -> bool
fn eq(&self, other: &ConfluenceBlogToIndexFieldMapping) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfluenceBlogToIndexFieldMapping
Auto Trait Implementations§
impl Freeze for ConfluenceBlogToIndexFieldMapping
impl RefUnwindSafe for ConfluenceBlogToIndexFieldMapping
impl Send for ConfluenceBlogToIndexFieldMapping
impl Sync for ConfluenceBlogToIndexFieldMapping
impl Unpin for ConfluenceBlogToIndexFieldMapping
impl UnwindSafe for ConfluenceBlogToIndexFieldMapping
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more