Package org.eclipse.ditto.model.things
Interface ThingBuilder
-
public interface ThingBuilder
Builder for instances ofThing
which uses Object Scoping and Method Chaining to provide a convenient usage experience.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ThingBuilder.FromCopy
A mutable builder with a fluent API for an immutableThing
.static interface
ThingBuilder.FromScratch
A mutable builder with a fluent API for an immutableThing
from scratch.
-
Method Summary
All Methods Static Methods Deprecated Methods Modifier and Type Method Description static String
generateRandomThingId()
Deprecated.static ThingId
generateRandomTypedThingId()
-
-
-
Method Detail
-
generateRandomThingId
@Deprecated static String generateRandomThingId()
Deprecated.Generates a random Thing ID without namespace.- Returns:
- the ID
-
generateRandomTypedThingId
static ThingId generateRandomTypedThingId()
-
-