Class ObjectReference.Builder
-
- All Implemented Interfaces:
public final class ObjectReference.BuilderA builder for ObjectReference.
-
-
Method Summary
-
-
Method Detail
-
id
final ObjectReference.Builder id(String id)
ID of the original event.
-
id
final ObjectReference.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.
-
_xactId
final ObjectReference.Builder _xactId(String _xactId)
Transaction ID of the original event.
-
_xactId
final ObjectReference.Builder _xactId(JsonField<String> _xactId)
Sets Builder._xactId to an arbitrary JSON value.
You should usually call Builder._xactId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
objectId
final ObjectReference.Builder objectId(String objectId)
ID of the object the event is originating from.
-
objectId
final ObjectReference.Builder objectId(JsonField<String> objectId)
Sets Builder.objectId to an arbitrary JSON value.
You should usually call Builder.objectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
objectType
final ObjectReference.Builder objectType(ObjectReference.ObjectType objectType)
Type of the object the event is originating from.
-
objectType
final ObjectReference.Builder objectType(JsonField<ObjectReference.ObjectType> objectType)
Sets Builder.objectType to an arbitrary JSON value.
You should usually call Builder.objectType with a well-typed ObjectType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final ObjectReference.Builder created(String created)
Created timestamp of the original event. Used to help sort in the UI
-
created
final ObjectReference.Builder created(Optional<String> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final ObjectReference.Builder created(JsonField<String> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ObjectReference.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ObjectReference.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ObjectReference.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ObjectReference.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ObjectReference.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ObjectReference build()
Returns an immutable instance of ObjectReference.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() ._xactId() .objectId() .objectType()
-
-
-
-