Package io.getstream.core.models
Class Engagement.Builder
- java.lang.Object
-
- io.getstream.core.models.Engagement.Builder
-
- Enclosing class:
- Engagement
public static final class Engagement.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Engagement.Builder
boost(int boost)
Engagement
build()
Engagement.Builder
content(Content content)
Engagement.Builder
features(java.util.List features)
Engagement.Builder
feedID(java.lang.String feedID)
<T> Engagement.Builder
fromCustomEngagement(T custom)
Engagement.Builder
fromEngagement(Engagement engagement)
Engagement.Builder
label(java.lang.String label)
Engagement.Builder
location(java.lang.String location)
Engagement.Builder
position(int position)
Engagement.Builder
trackedAt(java.util.Date trackedAt)
Engagement.Builder
userData(UserData userData)
-
-
-
Method Detail
-
label
public Engagement.Builder label(java.lang.String label)
-
content
public Engagement.Builder content(Content content)
-
boost
public Engagement.Builder boost(int boost)
-
position
public Engagement.Builder position(int position)
-
feedID
public Engagement.Builder feedID(java.lang.String feedID)
-
location
public Engagement.Builder location(java.lang.String location)
-
userData
public Engagement.Builder userData(UserData userData)
-
features
public Engagement.Builder features(java.util.List features)
-
trackedAt
public Engagement.Builder trackedAt(java.util.Date trackedAt)
-
fromEngagement
public Engagement.Builder fromEngagement(Engagement engagement)
-
fromCustomEngagement
public <T> Engagement.Builder fromCustomEngagement(T custom)
-
build
public Engagement build()
-
-