public static interface EventContextKey.Builder<T> extends ResettableBuilder<EventContextKey<T>,EventContextKey.Builder<T>>
Modifier and Type | Method and Description |
---|---|
EventContextKey<T> |
build() |
EventContextKey.Builder<T> |
from(EventContextKey<T> value)
Resets this builder to the values of the given built object.
|
EventContextKey.Builder<T> |
id(String id) |
EventContextKey.Builder<T> |
name(String name) |
EventContextKey.Builder<T> |
reset()
Resets this builder to a "default" state such that there is no
remaining data to set.
|
EventContextKey.Builder<T> |
type(Class<T> tClass) |
EventContextKey.Builder<T> type(Class<T> tClass)
EventContextKey.Builder<T> id(String id)
EventContextKey.Builder<T> name(String name)
EventContextKey<T> build()
EventContextKey.Builder<T> from(EventContextKey<T> value) throws UnsupportedOperationException
ResettableBuilder
from
in interface ResettableBuilder<EventContextKey<T>,EventContextKey.Builder<T>>
value
- The built objectUnsupportedOperationException
EventContextKey.Builder<T> reset()
ResettableBuilder
reset
in interface ResettableBuilder<EventContextKey<T>,EventContextKey.Builder<T>>