@Generated(value="software.amazon.awssdk:codegen") public final class ThingIndexingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ThingIndexingConfiguration.Builder,ThingIndexingConfiguration>
The thing indexing configuration. For more information, see Managing Thing Indexing.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ThingIndexingConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ThingIndexingConfiguration.Builder |
builder() |
List<Field> |
customFields()
Contains custom field names and their data type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCustomFields()
Returns true if the CustomFields property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasManagedFields()
Returns true if the ManagedFields property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<Field> |
managedFields()
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ThingIndexingConfiguration.Builder> |
serializableBuilderClass() |
ThingConnectivityIndexingMode |
thingConnectivityIndexingMode()
Thing connectivity indexing mode.
|
String |
thingConnectivityIndexingModeAsString()
Thing connectivity indexing mode.
|
ThingIndexingMode |
thingIndexingMode()
Thing indexing mode.
|
String |
thingIndexingModeAsString()
Thing indexing mode.
|
ThingIndexingConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
If the service returns an enum value that is not available in the current SDK version, thingIndexingMode
will return ThingIndexingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from thingIndexingModeAsString().
REGISTRY – Your thing index contains registry data only.
REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data.
OFF - Thing indexing is disabled.
ThingIndexingModepublic String thingIndexingModeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, thingIndexingMode
will return ThingIndexingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from thingIndexingModeAsString().
REGISTRY – Your thing index contains registry data only.
REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data.
OFF - Thing indexing is disabled.
ThingIndexingModepublic 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.
If the service returns an enum value that is not available in the current SDK version,
thingConnectivityIndexingMode will return ThingConnectivityIndexingMode.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from thingConnectivityIndexingModeAsString().
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.
ThingConnectivityIndexingModepublic String thingConnectivityIndexingModeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
thingConnectivityIndexingMode will return ThingConnectivityIndexingMode.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from thingConnectivityIndexingModeAsString().
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.
ThingConnectivityIndexingModepublic boolean hasManagedFields()
public List<Field> managedFields()
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasManagedFields() to see if a value was sent in this field.
public boolean hasCustomFields()
public List<Field> customFields()
Contains custom field names and their data type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCustomFields() to see if a value was sent in this field.
public ThingIndexingConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ThingIndexingConfiguration.Builder,ThingIndexingConfiguration>public static ThingIndexingConfiguration.Builder builder()
public static Class<? extends ThingIndexingConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.