Uses of Interface
org.eclipse.ditto.things.model.ThingBuilder.FromScratch
Packages that use ThingBuilder.FromScratch
-
Uses of ThingBuilder.FromScratch in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return ThingBuilder.FromScratchModifier and TypeMethodDescriptionstatic ThingBuilder.FromScratchThing.newBuilder()Returns a mutable builder with a fluent API for an immutableThingfrom scratch.static ThingBuilder.FromScratchThingsModelFactory.newThingBuilder()Returns a mutable builder with a fluent API for an immutableThingfrom scratch.ThingBuilder.FromScratch.removeAllAttributes()Removes all attributes from this builder.ThingBuilder.FromScratch.removeAllFeatures()Removes all features from this builder.ThingBuilder.FromScratch.removeAttribute(org.eclipse.ditto.json.JsonPointer attributePath) Removes the attribute at the given path from this builder.ThingBuilder.FromScratch.removeDefinition()Removes the Definition from this builder.ThingBuilder.FromScratch.removeFeature(String featureId) Removes the Feature with the given ID from this builder.ThingBuilder.FromScratch.removeFeatureDefinition(String featureId) Removes the definition from Feature with the given identifier on this builder.ThingBuilder.FromScratch.removeFeatureDesiredProperties(CharSequence featureId) Removes all desired properties from the Feature with the given ID on this builder.ThingBuilder.FromScratch.removeFeatureDesiredProperty(CharSequence featureId, org.eclipse.ditto.json.JsonPointer desiredPropertyPath) Removes the given desired property from the Feature with the given ID on this builder.ThingBuilder.FromScratch.removeFeatureProperties(String featureId) Removes all properties from the Feature with the given ID on this builder.ThingBuilder.FromScratch.removeFeatureProperty(String featureId, org.eclipse.ditto.json.JsonPointer propertyPath) Removes the given property from the Feature with the given ID on this builder.ThingBuilder.FromScratch.removePolicyId()Removes the Policy ID from this builder.ThingBuilder.FromScratch.setAttribute(org.eclipse.ditto.json.JsonPointer attributePath, org.eclipse.ditto.json.JsonValue attributeValue) Sets the given attribute to this builder.ThingBuilder.FromScratch.setAttributes(String attributesJsonString) Sets the attributes to this builder.ThingBuilder.FromScratch.setAttributes(org.eclipse.ditto.json.JsonObject attributesJsonObject) Sets the attributes to this builder.ThingBuilder.FromScratch.setAttributes(Attributes attributes) Sets the given attributes to this builder.ThingBuilder.FromScratch.setCreated(Instant created) Sets the given created timestamp to this builder.ThingBuilder.FromScratch.setDefinition(ThingDefinition definition) Sets the given ThingDefinition to this builder.ThingBuilder.FromScratch.setEmptyAttributes()Sets empty attributes to this builder.ThingBuilder.FromScratch.setEmptyFeatures()Sets empty features to this builder.ThingBuilder.FromScratch.setFeature(CharSequence featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties, FeatureProperties featureDesiredProperties) Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromScratch.setFeature(String featureId) Sets a Feature with the given ID to this builder.ThingBuilder.FromScratch.setFeature(String featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties) Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromScratch.setFeature(String featureId, FeatureProperties featureProperties) Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromScratch.setFeature(Feature feature) Sets the given Feature to this builder.ThingBuilder.FromScratch.setFeatureDefinition(String featureId, FeatureDefinition featureDefinition) Sets the given definition to the Feature with the given ID on this builder.ThingBuilder.FromScratch.setFeatureDesiredProperties(CharSequence featureId, FeatureProperties desiredFeatureProperties) Sets the given desired properties to the Feature with the given ID on this builder.ThingBuilder.FromScratch.setFeatureDesiredProperty(CharSequence featureId, org.eclipse.ditto.json.JsonPointer desiredPropertyPath, org.eclipse.ditto.json.JsonValue desiredPropertyValue) Sets the given desired property to the Feature with the given ID on this builder.ThingBuilder.FromScratch.setFeatureProperties(String featureId, FeatureProperties featureProperties) Sets the given properties to the Feature with the given ID on this builder.ThingBuilder.FromScratch.setFeatureProperty(String featureId, org.eclipse.ditto.json.JsonPointer propertyPath, org.eclipse.ditto.json.JsonValue propertyValue) Sets the given property to the Feature with the given ID on this builder.ThingBuilder.FromScratch.setFeatures(Iterable<Feature> features) Sets the given Features to this builder.ThingBuilder.FromScratch.setFeatures(String featuresJsonString) Sets the Features of the Thing based on the given JSON object.ThingBuilder.FromScratch.setFeatures(org.eclipse.ditto.json.JsonObject featuresJsonObject) Sets the features to this builder.ThingBuilder.FromScratch.setGeneratedId()Sets a generated Thing ID to this builder.Sets the given Thing ID to this builder.ThingBuilder.FromScratch.setLifecycle(ThingLifecycle lifecycle) Sets the given lifecycle to this builder.ThingBuilder.FromScratch.setMetadata(org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Sets the given Metadata to this builder.ThingBuilder.FromScratch.setModified(Instant modified) Sets the given modified timestamp to this builder.ThingBuilder.FromScratch.setNullAttributes()Sets attributes to this builder which represent semanticallynull.ThingBuilder.FromScratch.setNullDefinition()Sets the ThingDefinition to this builder which represent semanticallynull.ThingBuilder.FromScratch.setNullFeatures()Sets features to this builder which represents semanticallynull.ThingBuilder.FromScratch.setPolicyId(org.eclipse.ditto.policies.model.PolicyId policyId) Sets the given Policy ID to this builder.ThingBuilder.FromScratch.setRevision(long revisionNumber) Sets the given revision number to this builder.ThingBuilder.FromScratch.setRevision(ThingRevision revision) Sets the given revision to this builder.