@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IndexingFilter extends Object implements Serializable, Cloneable, StructuredPojo
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 in namedShadowNames
filter.
To add geolocation data to your fleet indexing configuration:
If you store geolocation data in a class/unnamed shadow, set thingIndexingMode
to be
REGISTRY_AND_SHADOW
and specify your geolocation data in geoLocations
filter.
If you store geolocation data in a named shadow, set namedShadowIndexingMode
to be ON
, add
the shadow name in namedShadowNames
filter, and specify your geolocation data in
geoLocations
filter. For more information, see Managing fleet indexing.
Constructor and Description |
---|
IndexingFilter() |
Modifier and Type | Method and Description |
---|---|
IndexingFilter |
clone() |
boolean |
equals(Object obj) |
List<GeoLocationTarget> |
getGeoLocations()
The list of geolocation targets that you select to index.
|
List<String> |
getNamedShadowNames()
The shadow names that you select to index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGeoLocations(Collection<GeoLocationTarget> geoLocations)
The list of geolocation targets that you select to index.
|
void |
setNamedShadowNames(Collection<String> namedShadowNames)
The shadow names that you select to index.
|
String |
toString()
Returns a string representation of this object.
|
IndexingFilter |
withGeoLocations(Collection<GeoLocationTarget> geoLocations)
The list of geolocation targets that you select to index.
|
IndexingFilter |
withGeoLocations(GeoLocationTarget... geoLocations)
The list of geolocation targets that you select to index.
|
IndexingFilter |
withNamedShadowNames(Collection<String> namedShadowNames)
The shadow names that you select to index.
|
IndexingFilter |
withNamedShadowNames(String... namedShadowNames)
The shadow names that you select to index.
|
public List<String> getNamedShadowNames()
The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
public void setNamedShadowNames(Collection<String> namedShadowNames)
The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
namedShadowNames
- The shadow names that you select to index. The default maximum number of shadow names for indexing is 10.
To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.public IndexingFilter withNamedShadowNames(String... namedShadowNames)
The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
NOTE: This method appends the values to the existing list (if any). Use
setNamedShadowNames(java.util.Collection)
or withNamedShadowNames(java.util.Collection)
if you
want to override the existing values.
namedShadowNames
- The shadow names that you select to index. The default maximum number of shadow names for indexing is 10.
To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.public IndexingFilter withNamedShadowNames(Collection<String> namedShadowNames)
The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
namedShadowNames
- The shadow names that you select to index. The default maximum number of shadow names for indexing is 10.
To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.public List<GeoLocationTarget> getGeoLocations()
The list of geolocation targets that you select to index. The default maximum number of geolocation targets for
indexing is 1
. To increase the limit, see Amazon Web
Services IoT Device Management Quotas in the Amazon Web Services General Reference.
1
. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General
Reference.public void setGeoLocations(Collection<GeoLocationTarget> geoLocations)
The list of geolocation targets that you select to index. The default maximum number of geolocation targets for
indexing is 1
. To increase the limit, see Amazon Web
Services IoT Device Management Quotas in the Amazon Web Services General Reference.
geoLocations
- The list of geolocation targets that you select to index. The default maximum number of geolocation
targets for indexing is 1
. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.public IndexingFilter withGeoLocations(GeoLocationTarget... geoLocations)
The list of geolocation targets that you select to index. The default maximum number of geolocation targets for
indexing is 1
. To increase the limit, see Amazon Web
Services IoT Device Management Quotas in the Amazon Web Services General Reference.
NOTE: This method appends the values to the existing list (if any). Use
setGeoLocations(java.util.Collection)
or withGeoLocations(java.util.Collection)
if you want to
override the existing values.
geoLocations
- The list of geolocation targets that you select to index. The default maximum number of geolocation
targets for indexing is 1
. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.public IndexingFilter withGeoLocations(Collection<GeoLocationTarget> geoLocations)
The list of geolocation targets that you select to index. The default maximum number of geolocation targets for
indexing is 1
. To increase the limit, see Amazon Web
Services IoT Device Management Quotas in the Amazon Web Services General Reference.
geoLocations
- The list of geolocation targets that you select to index. The default maximum number of geolocation
targets for indexing is 1
. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.public String toString()
toString
in class Object
Object.toString()
public IndexingFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.