Class Newsfeed.Builder
- java.lang.Object
-
- com.intercom.api.resources.news.types.Newsfeed.Builder
-
- All Implemented Interfaces:
Newsfeed._FinalStage,Newsfeed.CreatedAtStage,Newsfeed.IdStage,Newsfeed.NameStage,Newsfeed.UpdatedAtStage
- Enclosing class:
- Newsfeed
public static final class Newsfeed.Builder extends java.lang.Object implements Newsfeed.IdStage, Newsfeed.NameStage, Newsfeed.CreatedAtStage, Newsfeed.UpdatedAtStage, Newsfeed._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Newsfeedbuild()Newsfeed.UpdatedAtStagecreatedAt(int createdAt)Timestamp for when the newsfeed was created.Newsfeed.Builderfrom(Newsfeed other)Newsfeed.NameStageid(java.lang.String id)The unique identifier for the newsfeed which is given by Intercom.Newsfeed.CreatedAtStagename(java.lang.String name)The name of the newsfeed.Newsfeed._FinalStageupdatedAt(int updatedAt)Timestamp for when the newsfeed was last updated.
-
-
-
Method Detail
-
from
public Newsfeed.Builder from(Newsfeed other)
- Specified by:
fromin interfaceNewsfeed.IdStage
-
id
public Newsfeed.NameStage id(@NotNull java.lang.String id)
The unique identifier for the newsfeed which is given by Intercom.
The unique identifier for the newsfeed which is given by Intercom.
- Specified by:
idin interfaceNewsfeed.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public Newsfeed.CreatedAtStage name(@NotNull java.lang.String name)
The name of the newsfeed. This name will never be visible to your users.
The name of the newsfeed. This name will never be visible to your users.
- Specified by:
namein interfaceNewsfeed.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public Newsfeed.UpdatedAtStage createdAt(int createdAt)
Timestamp for when the newsfeed was created.
Timestamp for when the newsfeed was created.
- Specified by:
createdAtin interfaceNewsfeed.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
updatedAt
public Newsfeed._FinalStage updatedAt(int updatedAt)
Timestamp for when the newsfeed was last updated.
Timestamp for when the newsfeed was last updated.
- Specified by:
updatedAtin interfaceNewsfeed.UpdatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public Newsfeed build()
- Specified by:
buildin interfaceNewsfeed._FinalStage
-
-