static ThingBuilder.FromCopy |
ThingsModelFactory.newThingBuilder(java.lang.String jsonString) |
Returns a mutable builder with a fluent API for an immutable Thing based on the given JSON string.
|
static ThingBuilder.FromCopy |
ThingsModelFactory.newThingBuilder(org.eclipse.ditto.json.JsonObject jsonObject) |
Returns a mutable builder with a fluent API for an immutable Thing based on the given JSON object.
|
static ThingBuilder.FromCopy |
ThingsModelFactory.newThingBuilder(Thing thing) |
Returns a mutable builder with a fluent API for an immutable Thing.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeAllAttributes() |
Removes all attributes from this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeAllAttributes(java.util.function.Predicate<Attributes> existingAttributesPredicate) |
Removes all attributes from this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeAllFeatures() |
Removes all features from this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeAllFeatures(java.util.function.Predicate<Features> existingFeaturesPredicate) |
Removes all features from this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeAttribute(java.util.function.Predicate<Attributes> existingAttributesPredicate,
org.eclipse.ditto.json.JsonPointer attributePath) |
Removes the attribute at the given path from this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeAttribute(org.eclipse.ditto.json.JsonPointer attributePath) |
Removes the attribute at the given path from this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeDefinition() |
Removes the ThingDefinition from this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeature(java.lang.String featureId) |
Removes the Feature with the given ID from this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeature(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.String featureId) |
Removes the Feature with the given ID from this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeatureDefinition(java.lang.String featureId) |
Removes the definition from Feature with the given identifier on this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeatureDesiredProperties(java.lang.CharSequence featureId) |
Removes all desired properties from the Feature with the given ID on this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeatureDesiredProperties(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.CharSequence featureId) |
Removes all desired properties from the Feature with the given ID on this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeatureDesiredProperty(java.lang.CharSequence featureId,
org.eclipse.ditto.json.JsonPointer desiredPropertyPath) |
Removes the given desired property from the Feature with the given ID on this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeatureDesiredProperty(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.CharSequence featureId,
org.eclipse.ditto.json.JsonPointer desiredPropertyPath) |
Removes the given desired property from the Feature with the given ID on this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeatureProperties(java.lang.String featureId) |
Removes all properties from the Feature with the given ID on this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeatureProperties(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.String featureId) |
Removes all properties from the Feature with the given ID on this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeatureProperty(java.lang.String featureId,
org.eclipse.ditto.json.JsonPointer propertyPath) |
Removes the given property from the Feature with the given ID on this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removeFeatureProperty(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.String featureId,
org.eclipse.ditto.json.JsonPointer propertyPath) |
Removes the given property from the Feature with the given ID on this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.removePolicyId() |
Removes the Policy ID from this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setAttribute(java.util.function.Predicate<Attributes> existingAttributesPredicate,
org.eclipse.ditto.json.JsonPointer attributePath,
org.eclipse.ditto.json.JsonValue attributeValue) |
Sets the given attribute to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setAttribute(org.eclipse.ditto.json.JsonPointer attributePath,
org.eclipse.ditto.json.JsonValue attributeValue) |
Sets the given attribute to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setAttributes(java.lang.String attributesJsonString) |
Sets the attributes to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setAttributes(java.util.function.Predicate<Attributes> existingAttributesPredicate,
java.lang.String attributesJsonString) |
Sets the attributes to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setAttributes(java.util.function.Predicate<Attributes> existingAttributesPredicate,
org.eclipse.ditto.json.JsonObject attributesJsonObject) |
Sets the attributes to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setAttributes(java.util.function.Predicate<Attributes> existingAttributesPredicate,
Attributes attributes) |
Sets the given attributes to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setAttributes(org.eclipse.ditto.json.JsonObject attributesJsonObject) |
Sets the attributes to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setAttributes(Attributes attributes) |
Sets the given attributes to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setCreated(java.time.Instant created) |
Sets the given created timestamp to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setCreated(java.util.function.Predicate<java.time.Instant> existingCreatedPredicate,
java.time.Instant created) |
Sets the given created timestamp to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setDefinition(ThingDefinition definition) |
Sets the given definition to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeature(java.lang.CharSequence featureId,
FeatureDefinition featureDefinition,
FeatureProperties featureProperties,
FeatureProperties featureDesiredProperties) |
Sets a Feature with the given ID and properties to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeature(java.lang.String featureId) |
Sets a Feature with the given ID to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeature(java.lang.String featureId,
FeatureDefinition featureDefinition,
FeatureProperties featureProperties) |
Sets a Feature with the given ID and properties to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeature(java.lang.String featureId,
FeatureProperties featureProperties) |
Sets a Feature with the given ID and properties to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeature(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.CharSequence featureId,
FeatureDefinition featureDefinition,
FeatureProperties featureProperties,
FeatureProperties featureDesiredProperties) |
Sets a Feature with the given ID and properties to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeature(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.String featureId) |
Sets a Feature with the given ID to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeature(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.String featureId,
FeatureDefinition featureDefinition,
FeatureProperties featureProperties) |
Sets a Feature with the given ID and properties to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeature(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.String featureId,
FeatureProperties featureProperties) |
Sets a Feature with the given ID and properties to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeature(java.util.function.Predicate<Features> existingFeaturesPredicate,
Feature feature) |
Sets the given Feature to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeature(Feature feature) |
Sets the given Feature to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatureDefinition(java.lang.String featureId,
FeatureDefinition featureDefinition) |
Sets the given definition to the Feature with the given ID on this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatureDefinition(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.String featureId,
FeatureDefinition featureDefinition) |
Sets the given definition to the Feature with the given ID on this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatureDesiredProperties(java.lang.CharSequence featureId,
FeatureProperties desiredFeatureProperties) |
Sets the given desired properties to the Feature with the given ID on this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatureDesiredProperties(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.CharSequence featureId,
FeatureProperties desiredFeatureProperties) |
Sets the given desired properties to the Feature with the given ID on this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatureDesiredProperty(java.lang.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.FromCopy |
ThingBuilder.FromCopy.setFeatureDesiredProperty(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.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.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatureProperties(java.lang.String featureId,
FeatureProperties featureProperties) |
Sets the given properties to the Feature with the given ID on this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatureProperties(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.String featureId,
FeatureProperties featureProperties) |
Sets the given properties to the Feature with the given ID on this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatureProperty(java.lang.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.FromCopy |
ThingBuilder.FromCopy.setFeatureProperty(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.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.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatures(java.lang.Iterable<Feature> features) |
Sets the given Features to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatures(java.lang.String featuresJsonString) |
Sets the Features of the Thing based on the given JSON object.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatures(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.Iterable<Feature> features) |
Sets the given Features to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatures(java.util.function.Predicate<Features> existingFeaturesPredicate,
java.lang.String featuresJsonString) |
Sets the Features of the Thing based on the given JSON object.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatures(java.util.function.Predicate<Features> existingFeaturesPredicate,
org.eclipse.ditto.json.JsonObject featuresJsonObject) |
Sets the features to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setFeatures(org.eclipse.ditto.json.JsonObject featuresJsonObject) |
Sets the features to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setGeneratedId() |
Sets a generated Thing ID to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setGeneratedId(java.util.function.Predicate<ThingId> existingIdPredicate) |
Sets a generated Thing ID to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setId(java.util.function.Predicate<ThingId> existingIdPredicate,
ThingId thingId) |
Sets the given Thing ID to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setId(ThingId thingId) |
Sets the given Thing ID to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setLifecycle(java.util.function.Predicate<ThingLifecycle> existingLifecyclePredicate,
ThingLifecycle lifecycle) |
Sets the given lifecycle to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setLifecycle(ThingLifecycle lifecycle) |
Sets the given lifecycle to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setMetadata(java.util.function.Predicate<org.eclipse.ditto.base.model.entity.metadata.Metadata> existingMetadataPredicate,
org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) |
Sets the given metadata to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setMetadata(org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) |
Sets the given metadata to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setModified(java.time.Instant modified) |
Sets the given modified to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setModified(java.util.function.Predicate<java.time.Instant> existingModifiedPredicate,
java.time.Instant modified) |
Sets the given modified timestamp to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setNullAttributes() |
Sets attributes to this builder which represent semantically null.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setNullDefinition() |
Sets the ThingDefinition to this builder which represent semantically null.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setNullFeatures() |
Sets features to this builder which represents semantically null.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setPolicyId(org.eclipse.ditto.policies.model.PolicyId policyId) |
Sets the given Policy ID to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setRevision(long revisionNumber) |
Sets the given revision number to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setRevision(java.util.function.Predicate<ThingRevision> existingRevisionPredicate,
long revisionNumber) |
Sets the given revision number to this builder.
|
ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setRevision(java.util.function.Predicate<ThingRevision> existingRevisionPredicate,
ThingRevision revision) |
Sets the given revision to this builder.
|
default ThingBuilder.FromCopy |
ThingBuilder.FromCopy.setRevision(ThingRevision revision) |
Sets the given revision to this builder.
|
default ThingBuilder.FromCopy |
Thing.toBuilder() |
Returns a mutable builder with a fluent API for immutable Thing.
|