#[non_exhaustive]pub struct ThingGroupIndexingConfigurationBuilder { /* private fields */ }
Expand description
A builder for ThingGroupIndexingConfiguration
.
Implementations§
source§impl ThingGroupIndexingConfigurationBuilder
impl ThingGroupIndexingConfigurationBuilder
sourcepub fn thing_group_indexing_mode(self, input: ThingGroupIndexingMode) -> Self
pub fn thing_group_indexing_mode(self, input: ThingGroupIndexingMode) -> Self
Thing group indexing mode.
This field is required.sourcepub fn set_thing_group_indexing_mode(
self,
input: Option<ThingGroupIndexingMode>
) -> Self
pub fn set_thing_group_indexing_mode( self, input: Option<ThingGroupIndexingMode> ) -> Self
Thing group indexing mode.
sourcepub fn get_thing_group_indexing_mode(&self) -> &Option<ThingGroupIndexingMode>
pub fn get_thing_group_indexing_mode(&self) -> &Option<ThingGroupIndexingMode>
Thing group indexing mode.
sourcepub fn managed_fields(self, input: Field) -> Self
pub fn managed_fields(self, input: Field) -> Self
Appends an item to managed_fields
.
To override the contents of this collection use set_managed_fields
.
Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
You can't modify managed fields by updating fleet indexing configuration.
sourcepub fn set_managed_fields(self, input: Option<Vec<Field>>) -> Self
pub fn set_managed_fields(self, input: Option<Vec<Field>>) -> Self
Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
You can't modify managed fields by updating fleet indexing configuration.
sourcepub fn get_managed_fields(&self) -> &Option<Vec<Field>>
pub fn get_managed_fields(&self) -> &Option<Vec<Field>>
Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
You can't modify managed fields by updating fleet indexing configuration.
sourcepub fn custom_fields(self, input: Field) -> Self
pub fn custom_fields(self, input: Field) -> Self
Appends an item to custom_fields
.
To override the contents of this collection use set_custom_fields
.
A list of thing group fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.
Contains custom field names and their data type.
sourcepub fn set_custom_fields(self, input: Option<Vec<Field>>) -> Self
pub fn set_custom_fields(self, input: Option<Vec<Field>>) -> Self
A list of thing group fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.
Contains custom field names and their data type.
sourcepub fn get_custom_fields(&self) -> &Option<Vec<Field>>
pub fn get_custom_fields(&self) -> &Option<Vec<Field>>
A list of thing group fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.
Contains custom field names and their data type.
sourcepub fn build(self) -> Result<ThingGroupIndexingConfiguration, BuildError>
pub fn build(self) -> Result<ThingGroupIndexingConfiguration, BuildError>
Consumes the builder and constructs a ThingGroupIndexingConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ThingGroupIndexingConfigurationBuilder
impl Clone for ThingGroupIndexingConfigurationBuilder
source§fn clone(&self) -> ThingGroupIndexingConfigurationBuilder
fn clone(&self) -> ThingGroupIndexingConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ThingGroupIndexingConfigurationBuilder
impl Default for ThingGroupIndexingConfigurationBuilder
source§fn default() -> ThingGroupIndexingConfigurationBuilder
fn default() -> ThingGroupIndexingConfigurationBuilder
source§impl PartialEq for ThingGroupIndexingConfigurationBuilder
impl PartialEq for ThingGroupIndexingConfigurationBuilder
source§fn eq(&self, other: &ThingGroupIndexingConfigurationBuilder) -> bool
fn eq(&self, other: &ThingGroupIndexingConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ThingGroupIndexingConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ThingGroupIndexingConfigurationBuilder
impl RefUnwindSafe for ThingGroupIndexingConfigurationBuilder
impl Send for ThingGroupIndexingConfigurationBuilder
impl Sync for ThingGroupIndexingConfigurationBuilder
impl Unpin for ThingGroupIndexingConfigurationBuilder
impl UnwindSafe for ThingGroupIndexingConfigurationBuilder
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