#[non_exhaustive]pub struct ConfluenceSpaceToIndexFieldMapping {
pub data_source_field_name: Option<ConfluenceSpaceFieldName>,
pub date_field_format: Option<String>,
pub index_field_name: Option<String>,
}Expand description
Maps attributes or field names of Confluence spaces 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<ConfluenceSpaceFieldName>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 ConfluenceSpaceToIndexFieldMapping
impl ConfluenceSpaceToIndexFieldMapping
sourcepub fn data_source_field_name(&self) -> Option<&ConfluenceSpaceFieldName>
pub fn data_source_field_name(&self) -> Option<&ConfluenceSpaceFieldName>
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 ConfluenceSpaceToIndexFieldMapping
impl ConfluenceSpaceToIndexFieldMapping
sourcepub fn builder() -> ConfluenceSpaceToIndexFieldMappingBuilder
pub fn builder() -> ConfluenceSpaceToIndexFieldMappingBuilder
Creates a new builder-style object to manufacture ConfluenceSpaceToIndexFieldMapping.
Trait Implementations§
source§impl Clone for ConfluenceSpaceToIndexFieldMapping
impl Clone for ConfluenceSpaceToIndexFieldMapping
source§fn clone(&self) -> ConfluenceSpaceToIndexFieldMapping
fn clone(&self) -> ConfluenceSpaceToIndexFieldMapping
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ConfluenceSpaceToIndexFieldMapping
impl PartialEq for ConfluenceSpaceToIndexFieldMapping
source§fn eq(&self, other: &ConfluenceSpaceToIndexFieldMapping) -> bool
fn eq(&self, other: &ConfluenceSpaceToIndexFieldMapping) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfluenceSpaceToIndexFieldMapping
Auto Trait Implementations§
impl Freeze for ConfluenceSpaceToIndexFieldMapping
impl RefUnwindSafe for ConfluenceSpaceToIndexFieldMapping
impl Send for ConfluenceSpaceToIndexFieldMapping
impl Sync for ConfluenceSpaceToIndexFieldMapping
impl Unpin for ConfluenceSpaceToIndexFieldMapping
impl UnwindSafe for ConfluenceSpaceToIndexFieldMapping
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