public static class Event.EventBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Event.EventBuilder |
attribute(Event.Fields key,
Variant value) |
Event.EventBuilder |
attribute(java.lang.String key,
Variant value) |
Event.EventBuilder |
attributes(java.util.Map<java.lang.String,Variant> attributes) |
Event |
build() |
Event.EventBuilder |
entryTimestamp(java.util.Date entryTimestamp) |
Event.EventBuilder |
event(Event event) |
boolean |
hasAttribute(Event.Fields key) |
boolean |
hasAttribute(java.lang.String key) |
Event.EventBuilder |
id(java.util.UUID id) |
void |
setAllowOverrideAttributes(boolean allowOverrideAttributes)
Set allow override attributes flag
|
Event.EventBuilder |
sourceTimestamp(java.util.Date sourceTimestamp) |
public Event.EventBuilder event(Event event)
public Event.EventBuilder id(java.util.UUID id)
public Event.EventBuilder sourceTimestamp(java.util.Date sourceTimestamp)
public Event.EventBuilder entryTimestamp(java.util.Date entryTimestamp)
public Event.EventBuilder attributes(java.util.Map<java.lang.String,Variant> attributes)
public Event.EventBuilder attribute(java.lang.String key, Variant value)
public Event.EventBuilder attribute(Event.Fields key, Variant value)
public boolean hasAttribute(java.lang.String key)
public boolean hasAttribute(Event.Fields key)
public void setAllowOverrideAttributes(boolean allowOverrideAttributes)
Setting to true allows attributes to be overridden by
calls to the attribute/attributes methods. Setting to
false will not set attributes that already have been set
by previous calls.
allowOverrideAttributes - public Event build()
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0