Package org.eclipse.ditto.things.model
Interface FeatureBuilder.FromJsonBuildable
-
- Enclosing interface:
- FeatureBuilder
public static interface FeatureBuilder.FromJsonBuildableThis interface enables the creation of aFeatureobject from JSON.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeatureBuilder.FeatureBuildableuseId(java.lang.String featureId)Sets the provided Feature ID.
-
-
-
Method Detail
-
useId
FeatureBuilder.FeatureBuildable useId(java.lang.String featureId)
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:
java.lang.NullPointerException- iffeatureIdisnull.java.lang.IllegalArgumentException- iffeatureIdis empty.
-
-