@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThingIndexingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The thing indexing configuration. For more information, see Managing Thing Indexing.
Constructor and Description |
---|
ThingIndexingConfiguration() |
Modifier and Type | Method and Description |
---|---|
ThingIndexingConfiguration |
clone() |
boolean |
equals(Object obj) |
List<Field> |
getCustomFields()
Contains custom field names and their data type.
|
String |
getDeviceDefenderIndexingMode()
Device Defender indexing mode.
|
IndexingFilter |
getFilter()
Provides additional filters for specific data sources.
|
List<Field> |
getManagedFields()
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
|
String |
getNamedShadowIndexingMode()
Named shadow indexing mode.
|
String |
getThingConnectivityIndexingMode()
Thing connectivity indexing mode.
|
String |
getThingIndexingMode()
Thing indexing mode.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomFields(Collection<Field> customFields)
Contains custom field names and their data type.
|
void |
setDeviceDefenderIndexingMode(String deviceDefenderIndexingMode)
Device Defender indexing mode.
|
void |
setFilter(IndexingFilter filter)
Provides additional filters for specific data sources.
|
void |
setManagedFields(Collection<Field> managedFields)
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
|
void |
setNamedShadowIndexingMode(String namedShadowIndexingMode)
Named shadow indexing mode.
|
void |
setThingConnectivityIndexingMode(String thingConnectivityIndexingMode)
Thing connectivity indexing mode.
|
void |
setThingIndexingMode(String thingIndexingMode)
Thing indexing mode.
|
String |
toString()
Returns a string representation of this object.
|
ThingIndexingConfiguration |
withCustomFields(Collection<Field> customFields)
Contains custom field names and their data type.
|
ThingIndexingConfiguration |
withCustomFields(Field... customFields)
Contains custom field names and their data type.
|
ThingIndexingConfiguration |
withDeviceDefenderIndexingMode(DeviceDefenderIndexingMode deviceDefenderIndexingMode)
Device Defender indexing mode.
|
ThingIndexingConfiguration |
withDeviceDefenderIndexingMode(String deviceDefenderIndexingMode)
Device Defender indexing mode.
|
ThingIndexingConfiguration |
withFilter(IndexingFilter filter)
Provides additional filters for specific data sources.
|
ThingIndexingConfiguration |
withManagedFields(Collection<Field> managedFields)
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
|
ThingIndexingConfiguration |
withManagedFields(Field... managedFields)
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
|
ThingIndexingConfiguration |
withNamedShadowIndexingMode(NamedShadowIndexingMode namedShadowIndexingMode)
Named shadow indexing mode.
|
ThingIndexingConfiguration |
withNamedShadowIndexingMode(String namedShadowIndexingMode)
Named shadow indexing mode.
|
ThingIndexingConfiguration |
withThingConnectivityIndexingMode(String thingConnectivityIndexingMode)
Thing connectivity indexing mode.
|
ThingIndexingConfiguration |
withThingConnectivityIndexingMode(ThingConnectivityIndexingMode thingConnectivityIndexingMode)
Thing connectivity indexing mode.
|
ThingIndexingConfiguration |
withThingIndexingMode(String thingIndexingMode)
Thing indexing mode.
|
ThingIndexingConfiguration |
withThingIndexingMode(ThingIndexingMode thingIndexingMode)
Thing indexing mode.
|
public void setThingIndexingMode(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.
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.
ThingIndexingMode
public String getThingIndexingMode()
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.
REGISTRY – Your thing index contains registry data only.
REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data.
OFF - Thing indexing is disabled.
ThingIndexingMode
public ThingIndexingConfiguration withThingIndexingMode(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.
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.
ThingIndexingMode
public ThingIndexingConfiguration withThingIndexingMode(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.
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.
ThingIndexingMode
public void setThingConnectivityIndexingMode(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.
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.
ThingConnectivityIndexingMode
public String getThingConnectivityIndexingMode()
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.
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.
ThingConnectivityIndexingMode
public ThingIndexingConfiguration withThingConnectivityIndexingMode(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.
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.
ThingConnectivityIndexingMode
public ThingIndexingConfiguration withThingConnectivityIndexingMode(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.
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.
ThingConnectivityIndexingMode
public void setDeviceDefenderIndexingMode(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.
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.
DeviceDefenderIndexingMode
public String getDeviceDefenderIndexingMode()
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.
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.
DeviceDefenderIndexingMode
public ThingIndexingConfiguration withDeviceDefenderIndexingMode(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.
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.
DeviceDefenderIndexingMode
public ThingIndexingConfiguration withDeviceDefenderIndexingMode(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.
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.
DeviceDefenderIndexingMode
public void setNamedShadowIndexingMode(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.
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.
NamedShadowIndexingMode
public String getNamedShadowIndexingMode()
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.
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.
NamedShadowIndexingMode
public ThingIndexingConfiguration withNamedShadowIndexingMode(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.
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.
NamedShadowIndexingMode
public ThingIndexingConfiguration withNamedShadowIndexingMode(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.
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.
NamedShadowIndexingMode
public List<Field> getManagedFields()
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
public void setManagedFields(Collection<Field> managedFields)
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
managedFields
- Contains fields that are indexed and whose types are already known by the Fleet Indexing service.public ThingIndexingConfiguration withManagedFields(Field... managedFields)
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
NOTE: This method appends the values to the existing list (if any). Use
setManagedFields(java.util.Collection)
or withManagedFields(java.util.Collection)
if you want
to override the existing values.
managedFields
- Contains fields that are indexed and whose types are already known by the Fleet Indexing service.public ThingIndexingConfiguration withManagedFields(Collection<Field> managedFields)
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
managedFields
- Contains fields that are indexed and whose types are already known by the Fleet Indexing service.public List<Field> getCustomFields()
Contains custom field names and their data type.
public void setCustomFields(Collection<Field> customFields)
Contains custom field names and their data type.
customFields
- Contains custom field names and their data type.public ThingIndexingConfiguration withCustomFields(Field... customFields)
Contains custom field names and their data type.
NOTE: This method appends the values to the existing list (if any). Use
setCustomFields(java.util.Collection)
or withCustomFields(java.util.Collection)
if you want to
override the existing values.
customFields
- Contains custom field names and their data type.public ThingIndexingConfiguration withCustomFields(Collection<Field> customFields)
Contains custom field names and their data type.
customFields
- Contains custom field names and their data type.public void setFilter(IndexingFilter filter)
Provides additional filters for specific data sources. Named shadow is the only data source that currently
supports and requires a filter. To add named shadows to your fleet indexing configuration, set
namedShadowIndexingMode
to be ON
and specify your shadow names in filter
.
filter
- Provides additional filters for specific data sources. Named shadow is the only data source that currently
supports and requires a filter. To add named shadows to your fleet indexing configuration, set
namedShadowIndexingMode
to be ON
and specify your shadow names in
filter
.public IndexingFilter getFilter()
Provides additional filters for specific data sources. Named shadow is the only data source that currently
supports and requires a filter. To add named shadows to your fleet indexing configuration, set
namedShadowIndexingMode
to be ON
and specify your shadow names in filter
.
namedShadowIndexingMode
to be ON
and specify your shadow names in
filter
.public ThingIndexingConfiguration withFilter(IndexingFilter filter)
Provides additional filters for specific data sources. Named shadow is the only data source that currently
supports and requires a filter. To add named shadows to your fleet indexing configuration, set
namedShadowIndexingMode
to be ON
and specify your shadow names in filter
.
filter
- Provides additional filters for specific data sources. Named shadow is the only data source that currently
supports and requires a filter. To add named shadows to your fleet indexing configuration, set
namedShadowIndexingMode
to be ON
and specify your shadow names in
filter
.public String toString()
toString
in class Object
Object.toString()
public ThingIndexingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.