Class Entity.Builder
-
- All Implemented Interfaces:
public final class Entity.BuilderA builder for Entity.
-
-
Method Summary
-
-
Method Detail
-
id
final Entity.Builder id(String id)
UUID of an existing entity
-
id
final Entity.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalReferences
final Entity.Builder externalReferences(List<String> externalReferences)
Your own identifiers for this entity
-
externalReferences
final Entity.Builder externalReferences(JsonField<List<String>> externalReferences)
Sets Builder.externalReferences to an arbitrary JSON value.
You should usually call Builder.externalReferences with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addExternalReference
final Entity.Builder addExternalReference(String externalReference)
Adds a single String to externalReferences.
-
name
final Entity.Builder name(String name)
Legal name of the entity
-
name
final Entity.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final Entity.Builder type(EntityType type)
-
type
final Entity.Builder type(JsonField<EntityType> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed EntityType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Entity.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Entity.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Entity.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Entity.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Entity.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-