static AttributesBuilder |
AttributesModelFactory.newAttributesBuilder() |
|
static AttributesBuilder |
AttributesModelFactory.newAttributesBuilder(org.eclipse.ditto.json.JsonObject jsonObject) |
Returns a new builder for a Attributes which is initialised with the values of the given JSON object.
|
static AttributesBuilder |
ThingsModelFactory.newAttributesBuilder() |
|
static AttributesBuilder |
ThingsModelFactory.newAttributesBuilder(org.eclipse.ditto.json.JsonObject jsonObject) |
Returns a new builder for a Attributes which is initialised with the values of the given JSON object.
|
static AttributesBuilder |
Attributes.newBuilder() |
Returns a new empty builder for a Attributes.
|
AttributesBuilder |
AttributesBuilder.remove(java.lang.CharSequence key) |
Removes the attribute from the Attributes to be built which is associated with the given name.
|
AttributesBuilder |
AttributesBuilder.remove(org.eclipse.ditto.json.JsonFieldDefinition<?> fieldDefinition) |
Removes the attribute from the Attributes to be built which is associated with the pointer of the
specified JSON field definition.
|
AttributesBuilder |
AttributesBuilder.removeAll() |
Removes all fields from the Attributes to be built.
|
default AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
boolean value) |
Sets a new boolean value attribute to the Attributes to be built.
|
AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
boolean value,
java.util.function.Predicate<org.eclipse.ditto.json.JsonField> predicate) |
Sets a new boolean value attribute to the Attributes to be built if the specified predicate
evaluates to true.
|
default AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
double value) |
Sets a new double value attribute to the Attributes to be built.
|
AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
double value,
java.util.function.Predicate<org.eclipse.ditto.json.JsonField> predicate) |
Sets a new double value attribute to the Attributes to be built if the specified predicate
evaluates to true.
|
default AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
int value) |
Sets a new int attribute to the Attributes to be built.
|
AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
int value,
java.util.function.Predicate<org.eclipse.ditto.json.JsonField> predicate) |
Sets a new int attribute to the Attributes to be built if the specified predicate evaluates to
true.
|
default AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
long value) |
Sets a new long attribute to the Attributes to be built.
|
AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
long value,
java.util.function.Predicate<org.eclipse.ditto.json.JsonField> predicate) |
Sets a new long attribute to the Attributes to be built if the specified predicate evaluates to
true.
|
default AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
java.lang.String value) |
Sets a new string value attribute to the Attributes to be built.
|
AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
java.lang.String value,
java.util.function.Predicate<org.eclipse.ditto.json.JsonField> predicate) |
Sets a new string value attribute to the Attributes to be built if the specified predicate evaluates to
true.
|
default AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
org.eclipse.ditto.json.JsonValue value) |
Sets a new JsonValue attribute to the Attributes to be built.
|
AttributesBuilder |
AttributesBuilder.set(java.lang.CharSequence key,
org.eclipse.ditto.json.JsonValue value,
java.util.function.Predicate<org.eclipse.ditto.json.JsonField> predicate) |
Sets a new JsonValue attribute to the Attributes to be built if the specified predicate evaluates
to true.
|
default AttributesBuilder |
AttributesBuilder.set(org.eclipse.ditto.json.JsonField field) |
Sets the specified attribute to the Attributes to be built.
|
default <T> AttributesBuilder |
AttributesBuilder.set(org.eclipse.ditto.json.JsonFieldDefinition<T> fieldDefinition,
T value) |
|
<T> AttributesBuilder |
AttributesBuilder.set(org.eclipse.ditto.json.JsonFieldDefinition<T> fieldDefinition,
T value,
java.util.function.Predicate<org.eclipse.ditto.json.JsonField> predicate) |
|
AttributesBuilder |
AttributesBuilder.set(org.eclipse.ditto.json.JsonField field,
java.util.function.Predicate<org.eclipse.ditto.json.JsonField> predicate) |
Sets the specified attribute to the Attributes to be built if the specified predicate evaluates to
true.
|
default AttributesBuilder |
AttributesBuilder.setAll(java.lang.Iterable<org.eclipse.ditto.json.JsonField> fields) |
Sets the given JsonFields to the Attributes to be built.
|
AttributesBuilder |
AttributesBuilder.setAll(java.lang.Iterable<org.eclipse.ditto.json.JsonField> fields,
java.util.function.Predicate<org.eclipse.ditto.json.JsonField> predicate) |
Sets the given JsonFields to the Attributes to be built.
|
default AttributesBuilder |
Attributes.toBuilder() |
Returns a mutable builder with a fluent API for immutable Attributes.
|