pub struct Builder { /* private fields */ }
Expand description
A builder for ThingGroupIndexingConfiguration
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> ThingGroupIndexingConfiguration
pub fn build(self) -> ThingGroupIndexingConfiguration
Consumes the builder and constructs a ThingGroupIndexingConfiguration
.