Package org.eclipse.ditto.things.model
Interface ThingBuilder
public interface ThingBuilder
Builder for instances of
Thing which uses Object Scoping and Method Chaining to provide a convenient usage
experience.-
Nested Class Summary
Nested Classes -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ThingIdGenerates a random Thing ID without namespace.static ThingIdgenerateRandomTypedThingId(String namespace) Generates a random Thing ID with a specified namespace
-
Method Details
-
generateRandomTypedThingId
Generates a random Thing ID without namespace.- Returns:
- the ID
-
generateRandomTypedThingId
Generates a random Thing ID with a specified namespace- Parameters:
namespace- the specified namespace- Returns:
- the ID
- Since:
- 3.0.0
-