Package io.getstream.core.models
Class EnrichedActivity.Builder
- java.lang.Object
-
- io.getstream.core.models.EnrichedActivity.Builder
-
- Enclosing class:
- EnrichedActivity
public static final class EnrichedActivity.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public EnrichedActivity.Builder id(java.lang.String id)
-
actor
public EnrichedActivity.Builder actor(java.lang.String actor)
-
actor
public EnrichedActivity.Builder actor(Data actor)
-
verb
public EnrichedActivity.Builder verb(java.lang.String verb)
-
object
public EnrichedActivity.Builder object(java.lang.String object)
-
object
public EnrichedActivity.Builder object(Data object)
-
foreignID
public EnrichedActivity.Builder foreignID(java.lang.String foreignID)
-
target
public EnrichedActivity.Builder target(java.lang.String target)
-
target
public EnrichedActivity.Builder target(Data target)
-
time
public EnrichedActivity.Builder time(java.util.Date time)
-
origin
public EnrichedActivity.Builder origin(java.lang.String origin)
-
origin
public EnrichedActivity.Builder origin(Data origin)
-
to
public EnrichedActivity.Builder to(java.util.List<FeedID> to)
-
to
public EnrichedActivity.Builder to(java.lang.Iterable<FeedID> to)
-
to
public EnrichedActivity.Builder to(FeedID... to)
-
score
public EnrichedActivity.Builder score(double score)
-
ownReactions
public EnrichedActivity.Builder ownReactions(java.util.Map<java.lang.String,java.util.List<Reaction>> ownReactions)
-
latestReactions
public EnrichedActivity.Builder latestReactions(java.util.Map<java.lang.String,java.util.List<Reaction>> latestReactions)
-
reactionCounts
public EnrichedActivity.Builder reactionCounts(java.util.Map<java.lang.String,java.lang.Number> reactionCounts)
-
extraField
public EnrichedActivity.Builder extraField(java.lang.String key, java.lang.Object value)
-
extra
public EnrichedActivity.Builder extra(java.util.Map<java.lang.String,java.lang.Object> extra)
-
fromEnrichedActivity
public EnrichedActivity.Builder fromEnrichedActivity(EnrichedActivity activity)
-
fromCustomEnrichedActivity
public <T> EnrichedActivity.Builder fromCustomEnrichedActivity(T custom)
-
build
public EnrichedActivity build()
-
-