Class IndexDefinition.Builder
java.lang.Object
com.here.platform.data.client.model.IndexDefinition.Builder
- Enclosing class:
IndexDefinition
Builds
IndexDefinitions.
Note that you must provide the IndexDefinition.Builder with an indexName and indexType. Otherwise,
the method
will throw an
invalid reference
Builder.buildIllegalArgumentException.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds anIndexDefinition, or throws anIllegalArgumentExceptionif either anindexNameorindexTypehas not been provided.withDuration(long duration) withIndexType(IndexType indexType) withZoomLevel(int zoomLevel)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Builds anIndexDefinition, or throws anIllegalArgumentExceptionif either anindexNameorindexTypehas not been provided. -
withDuration
-
withIndexType
-
withName
-
withZoomLevel
-