Package org.eclipse.ditto.things.model
Interface FeatureBuilder.FromJsonBuildable
- Enclosing interface:
- FeatureBuilder
public static interface FeatureBuilder.FromJsonBuildable
This interface enables the creation of a
Feature object from JSON.-
Method Summary
Modifier and TypeMethodDescriptionSets the provided Feature ID.
-
Method Details
-
useId
Sets the provided Feature ID.- Parameters:
featureId- the ID to use for the Feature to be created.- Returns:
- this builder to allow method chaining.
- Throws:
NullPointerException- iffeatureIdisnull.IllegalArgumentException- iffeatureIdis empty.
-