Struct aws_sdk_kendra::types::ConfluencePageConfiguration
source · #[non_exhaustive]pub struct ConfluencePageConfiguration {
pub page_field_mappings: Option<Vec<ConfluencePageToIndexFieldMapping>>,
}Expand description
Configuration of the page settings for the Confluence data source.
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.page_field_mappings: Option<Vec<ConfluencePageToIndexFieldMapping>>Maps attributes or field names of Confluence pages 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.
If you specify the PageFieldMappings parameter, you must specify at least one field mapping.
Implementations§
source§impl ConfluencePageConfiguration
impl ConfluencePageConfiguration
sourcepub fn page_field_mappings(&self) -> &[ConfluencePageToIndexFieldMapping]
pub fn page_field_mappings(&self) -> &[ConfluencePageToIndexFieldMapping]
Maps attributes or field names of Confluence pages 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.
If you specify the PageFieldMappings parameter, you must specify at least one field mapping.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .page_field_mappings.is_none().
source§impl ConfluencePageConfiguration
impl ConfluencePageConfiguration
sourcepub fn builder() -> ConfluencePageConfigurationBuilder
pub fn builder() -> ConfluencePageConfigurationBuilder
Creates a new builder-style object to manufacture ConfluencePageConfiguration.
Trait Implementations§
source§impl Clone for ConfluencePageConfiguration
impl Clone for ConfluencePageConfiguration
source§fn clone(&self) -> ConfluencePageConfiguration
fn clone(&self) -> ConfluencePageConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConfluencePageConfiguration
impl Debug for ConfluencePageConfiguration
source§impl PartialEq for ConfluencePageConfiguration
impl PartialEq for ConfluencePageConfiguration
source§fn eq(&self, other: &ConfluencePageConfiguration) -> bool
fn eq(&self, other: &ConfluencePageConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfluencePageConfiguration
Auto Trait Implementations§
impl Freeze for ConfluencePageConfiguration
impl RefUnwindSafe for ConfluencePageConfiguration
impl Send for ConfluencePageConfiguration
impl Sync for ConfluencePageConfiguration
impl Unpin for ConfluencePageConfiguration
impl UnwindSafe for ConfluencePageConfiguration
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