Interface ThingIndexingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ThingIndexingConfiguration.Builder,
,ThingIndexingConfiguration> SdkBuilder<ThingIndexingConfiguration.Builder,
,ThingIndexingConfiguration> SdkPojo
- Enclosing class:
ThingIndexingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncustomFields
(Collection<Field> customFields) Contains custom field names and their data type.customFields
(Consumer<Field.Builder>... customFields) Contains custom field names and their data type.customFields
(Field... customFields) Contains custom field names and their data type.deviceDefenderIndexingMode
(String deviceDefenderIndexingMode) Device Defender indexing mode.deviceDefenderIndexingMode
(DeviceDefenderIndexingMode deviceDefenderIndexingMode) Device Defender indexing mode.filter
(Consumer<IndexingFilter.Builder> filter) Provides additional selections for named shadows and geolocation data.filter
(IndexingFilter filter) Provides additional selections for named shadows and geolocation data.managedFields
(Collection<Field> managedFields) Contains fields that are indexed and whose types are already known by the Fleet Indexing service.managedFields
(Consumer<Field.Builder>... managedFields) Contains fields that are indexed and whose types are already known by the Fleet Indexing service.managedFields
(Field... managedFields) Contains fields that are indexed and whose types are already known by the Fleet Indexing service.namedShadowIndexingMode
(String namedShadowIndexingMode) Named shadow indexing mode.namedShadowIndexingMode
(NamedShadowIndexingMode namedShadowIndexingMode) Named shadow indexing mode.thingConnectivityIndexingMode
(String thingConnectivityIndexingMode) Thing connectivity indexing mode.thingConnectivityIndexingMode
(ThingConnectivityIndexingMode thingConnectivityIndexingMode) Thing connectivity indexing mode.thingIndexingMode
(String thingIndexingMode) Thing indexing mode.thingIndexingMode
(ThingIndexingMode thingIndexingMode) Thing indexing mode.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
thingIndexingMode
Thing indexing mode. Valid values are:
-
REGISTRY – Your thing index contains registry data only.
-
REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data.
-
OFF - Thing indexing is disabled.
- Parameters:
thingIndexingMode
- Thing indexing mode. Valid values are:-
REGISTRY – Your thing index contains registry data only.
-
REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data.
-
OFF - Thing indexing is disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
thingIndexingMode
Thing indexing mode. Valid values are:
-
REGISTRY – Your thing index contains registry data only.
-
REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data.
-
OFF - Thing indexing is disabled.
- Parameters:
thingIndexingMode
- Thing indexing mode. Valid values are:-
REGISTRY – Your thing index contains registry data only.
-
REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data.
-
OFF - Thing indexing is disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
thingConnectivityIndexingMode
ThingIndexingConfiguration.Builder thingConnectivityIndexingMode(String thingConnectivityIndexingMode) Thing connectivity indexing mode. Valid values are:
-
STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, thingIndexMode must not be set to OFF.
-
OFF - Thing connectivity status indexing is disabled.
- Parameters:
thingConnectivityIndexingMode
- Thing connectivity indexing mode. Valid values are:-
STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, thingIndexMode must not be set to OFF.
-
OFF - Thing connectivity status indexing is disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
thingConnectivityIndexingMode
ThingIndexingConfiguration.Builder thingConnectivityIndexingMode(ThingConnectivityIndexingMode thingConnectivityIndexingMode) Thing connectivity indexing mode. Valid values are:
-
STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, thingIndexMode must not be set to OFF.
-
OFF - Thing connectivity status indexing is disabled.
- Parameters:
thingConnectivityIndexingMode
- Thing connectivity indexing mode. Valid values are:-
STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, thingIndexMode must not be set to OFF.
-
OFF - Thing connectivity status indexing is disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
deviceDefenderIndexingMode
Device Defender indexing mode. Valid values are:
-
VIOLATIONS – Your thing index contains Device Defender violations. To enable Device Defender indexing, deviceDefenderIndexingMode must not be set to OFF.
-
OFF - Device Defender indexing is disabled.
For more information about Device Defender violations, see Device Defender Detect.
- Parameters:
deviceDefenderIndexingMode
- Device Defender indexing mode. Valid values are:-
VIOLATIONS – Your thing index contains Device Defender violations. To enable Device Defender indexing, deviceDefenderIndexingMode must not be set to OFF.
-
OFF - Device Defender indexing is disabled.
For more information about Device Defender violations, see Device Defender Detect.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
deviceDefenderIndexingMode
ThingIndexingConfiguration.Builder deviceDefenderIndexingMode(DeviceDefenderIndexingMode deviceDefenderIndexingMode) Device Defender indexing mode. Valid values are:
-
VIOLATIONS – Your thing index contains Device Defender violations. To enable Device Defender indexing, deviceDefenderIndexingMode must not be set to OFF.
-
OFF - Device Defender indexing is disabled.
For more information about Device Defender violations, see Device Defender Detect.
- Parameters:
deviceDefenderIndexingMode
- Device Defender indexing mode. Valid values are:-
VIOLATIONS – Your thing index contains Device Defender violations. To enable Device Defender indexing, deviceDefenderIndexingMode must not be set to OFF.
-
OFF - Device Defender indexing is disabled.
For more information about Device Defender violations, see Device Defender Detect.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
namedShadowIndexingMode
Named shadow indexing mode. Valid values are:
-
ON – Your thing index contains named shadow. To enable thing named shadow indexing, namedShadowIndexingMode must not be set to OFF.
-
OFF - Named shadow indexing is disabled.
For more information about Shadows, see IoT Device Shadow service.
- Parameters:
namedShadowIndexingMode
- Named shadow indexing mode. Valid values are:-
ON – Your thing index contains named shadow. To enable thing named shadow indexing, namedShadowIndexingMode must not be set to OFF.
-
OFF - Named shadow indexing is disabled.
For more information about Shadows, see IoT Device Shadow service.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
namedShadowIndexingMode
ThingIndexingConfiguration.Builder namedShadowIndexingMode(NamedShadowIndexingMode namedShadowIndexingMode) Named shadow indexing mode. Valid values are:
-
ON – Your thing index contains named shadow. To enable thing named shadow indexing, namedShadowIndexingMode must not be set to OFF.
-
OFF - Named shadow indexing is disabled.
For more information about Shadows, see IoT Device Shadow service.
- Parameters:
namedShadowIndexingMode
- Named shadow indexing mode. Valid values are:-
ON – Your thing index contains named shadow. To enable thing named shadow indexing, namedShadowIndexingMode must not be set to OFF.
-
OFF - Named shadow indexing is disabled.
For more information about Shadows, see IoT Device Shadow service.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
managedFields
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.
- Parameters:
managedFields
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedFields
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.
- Parameters:
managedFields
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedFields
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.
Field.Builder
avoiding the need to create one manually viaField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomanagedFields(List<Field>)
.- Parameters:
managedFields
- a consumer that will call methods onField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customFields
Contains custom field names and their data type.
- Parameters:
customFields
- Contains custom field names and their data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customFields
Contains custom field names and their data type.
- Parameters:
customFields
- Contains custom field names and their data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customFields
Contains custom field names and their data type.
This is a convenience method that creates an instance of theField.Builder
avoiding the need to create one manually viaField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomFields(List<Field>)
.- Parameters:
customFields
- a consumer that will call methods onField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filter
Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set
namedShadowIndexingMode
to be ON and specify your shadow names innamedShadowNames
filter.To add geolocation data to your fleet indexing configuration:
-
If you store geolocation data in a class/unnamed shadow, set
thingIndexingMode
to beREGISTRY_AND_SHADOW
and specify your geolocation data ingeoLocations
filter. -
If you store geolocation data in a named shadow, set
namedShadowIndexingMode
to beON
, add the shadow name innamedShadowNames
filter, and specify your geolocation data ingeoLocations
filter. For more information, see Managing fleet indexing.
- Parameters:
filter
- Provides additional selections for named shadows and geolocation data.To add named shadows to your fleet indexing configuration, set
namedShadowIndexingMode
to be ON and specify your shadow names innamedShadowNames
filter.To add geolocation data to your fleet indexing configuration:
-
If you store geolocation data in a class/unnamed shadow, set
thingIndexingMode
to beREGISTRY_AND_SHADOW
and specify your geolocation data ingeoLocations
filter. -
If you store geolocation data in a named shadow, set
namedShadowIndexingMode
to beON
, add the shadow name innamedShadowNames
filter, and specify your geolocation data ingeoLocations
filter. For more information, see Managing fleet indexing.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filter
Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set
namedShadowIndexingMode
to be ON and specify your shadow names innamedShadowNames
filter.To add geolocation data to your fleet indexing configuration:
-
If you store geolocation data in a class/unnamed shadow, set
thingIndexingMode
to beREGISTRY_AND_SHADOW
and specify your geolocation data ingeoLocations
filter. -
If you store geolocation data in a named shadow, set
namedShadowIndexingMode
to beON
, add the shadow name innamedShadowNames
filter, and specify your geolocation data ingeoLocations
filter. For more information, see Managing fleet indexing.
IndexingFilter.Builder
avoiding the need to create one manually viaIndexingFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(IndexingFilter)
.- Parameters:
filter
- a consumer that will call methods onIndexingFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-