Interface ThingIndexingConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ThingIndexingConfiguration.Builder,ThingIndexingConfiguration>,SdkBuilder<ThingIndexingConfiguration.Builder,ThingIndexingConfiguration>,SdkPojo
- Enclosing class:
- ThingIndexingConfiguration
public static interface ThingIndexingConfiguration.Builder extends SdkPojo, CopyableBuilder<ThingIndexingConfiguration.Builder,ThingIndexingConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ThingIndexingConfiguration.BuildercustomFields(Collection<Field> customFields)Contains custom field names and their data type.ThingIndexingConfiguration.BuildercustomFields(Consumer<Field.Builder>... customFields)Contains custom field names and their data type.ThingIndexingConfiguration.BuildercustomFields(Field... customFields)Contains custom field names and their data type.ThingIndexingConfiguration.BuilderdeviceDefenderIndexingMode(String deviceDefenderIndexingMode)Device Defender indexing mode.ThingIndexingConfiguration.BuilderdeviceDefenderIndexingMode(DeviceDefenderIndexingMode deviceDefenderIndexingMode)Device Defender indexing mode.default ThingIndexingConfiguration.Builderfilter(Consumer<IndexingFilter.Builder> filter)Provides additional selections for named shadows and geolocation data.ThingIndexingConfiguration.Builderfilter(IndexingFilter filter)Provides additional selections for named shadows and geolocation data.ThingIndexingConfiguration.BuildermanagedFields(Collection<Field> managedFields)Contains fields that are indexed and whose types are already known by the Fleet Indexing service.ThingIndexingConfiguration.BuildermanagedFields(Consumer<Field.Builder>... managedFields)Contains fields that are indexed and whose types are already known by the Fleet Indexing service.ThingIndexingConfiguration.BuildermanagedFields(Field... managedFields)Contains fields that are indexed and whose types are already known by the Fleet Indexing service.ThingIndexingConfiguration.BuildernamedShadowIndexingMode(String namedShadowIndexingMode)Named shadow indexing mode.ThingIndexingConfiguration.BuildernamedShadowIndexingMode(NamedShadowIndexingMode namedShadowIndexingMode)Named shadow indexing mode.ThingIndexingConfiguration.BuilderthingConnectivityIndexingMode(String thingConnectivityIndexingMode)Thing connectivity indexing mode.ThingIndexingConfiguration.BuilderthingConnectivityIndexingMode(ThingConnectivityIndexingMode thingConnectivityIndexingMode)Thing connectivity indexing mode.ThingIndexingConfiguration.BuilderthingIndexingMode(String thingIndexingMode)Thing indexing mode.ThingIndexingConfiguration.BuilderthingIndexingMode(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 Detail
-
thingIndexingMode
ThingIndexingConfiguration.Builder thingIndexingMode(String 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,ThingIndexingMode
-
-
thingIndexingMode
ThingIndexingConfiguration.Builder thingIndexingMode(ThingIndexingMode 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,ThingIndexingMode
-
-
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,ThingConnectivityIndexingMode
-
-
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:
ThingConnectivityIndexingMode,ThingConnectivityIndexingMode
-
-
deviceDefenderIndexingMode
ThingIndexingConfiguration.Builder deviceDefenderIndexingMode(String 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,DeviceDefenderIndexingMode
-
-
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:
DeviceDefenderIndexingMode,DeviceDefenderIndexingMode
-
-
namedShadowIndexingMode
ThingIndexingConfiguration.Builder namedShadowIndexingMode(String 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,NamedShadowIndexingMode
-
-
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:
NamedShadowIndexingMode,NamedShadowIndexingMode
-
-
managedFields
ThingIndexingConfiguration.Builder managedFields(Collection<Field> 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
ThingIndexingConfiguration.Builder managedFields(Field... 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
ThingIndexingConfiguration.Builder managedFields(Consumer<Field.Builder>... 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.
This is a convenience method that creates an instance of theYou can't modify managed fields by updating fleet indexing configuration.
Field.Builderavoiding the need to create one manually viaField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#managedFields(List.) - 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:
#managedFields(java.util.Collection)
-
customFields
ThingIndexingConfiguration.Builder customFields(Collection<Field> 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
ThingIndexingConfiguration.Builder customFields(Field... 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
ThingIndexingConfiguration.Builder customFields(Consumer<Field.Builder>... customFields)
Contains custom field names and their data type.
This is a convenience method that creates an instance of theField.Builderavoiding the need to create one manually viaField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customFields(List.) - 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:
#customFields(java.util.Collection)
-
filter
ThingIndexingConfiguration.Builder filter(IndexingFilter filter)
Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set
namedShadowIndexingModeto be ON and specify your shadow names innamedShadowNamesfilter.To add geolocation data to your fleet indexing configuration:
-
If you store geolocation data in a class/unnamed shadow, set
thingIndexingModeto beREGISTRY_AND_SHADOWand specify your geolocation data ingeoLocationsfilter. -
If you store geolocation data in a named shadow, set
namedShadowIndexingModeto beON, add the shadow name innamedShadowNamesfilter, and specify your geolocation data ingeoLocationsfilter. 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
namedShadowIndexingModeto be ON and specify your shadow names innamedShadowNamesfilter.To add geolocation data to your fleet indexing configuration:
-
If you store geolocation data in a class/unnamed shadow, set
thingIndexingModeto beREGISTRY_AND_SHADOWand specify your geolocation data ingeoLocationsfilter. -
If you store geolocation data in a named shadow, set
namedShadowIndexingModeto beON, add the shadow name innamedShadowNamesfilter, and specify your geolocation data ingeoLocationsfilter. For more information, see Managing fleet indexing.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filter
default ThingIndexingConfiguration.Builder filter(Consumer<IndexingFilter.Builder> filter)
Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set
namedShadowIndexingModeto be ON and specify your shadow names innamedShadowNamesfilter.To add geolocation data to your fleet indexing configuration:
-
If you store geolocation data in a class/unnamed shadow, set
thingIndexingModeto beREGISTRY_AND_SHADOWand specify your geolocation data ingeoLocationsfilter. -
If you store geolocation data in a named shadow, set
namedShadowIndexingModeto beON, add the shadow name innamedShadowNamesfilter, and specify your geolocation data ingeoLocationsfilter. For more information, see Managing fleet indexing.
IndexingFilter.Builderavoiding the need to create one manually viaIndexingFilter.builder().When the
Consumercompletes,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:
filter(IndexingFilter)
-
-
-