#[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.
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.
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.
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.
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) -> ThingGroupIndexingConfiguration
pub fn build(self) -> ThingGroupIndexingConfiguration
Consumes the builder and constructs a ThingGroupIndexingConfiguration
.
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 ==
.