Package com.intercom.api.types
Class DataEventSummaryItem.Builder
java.lang.Object
com.intercom.api.types.DataEventSummaryItem.Builder
- All Implemented Interfaces:
DataEventSummaryItem._FinalStage,DataEventSummaryItem.CountStage,DataEventSummaryItem.FirstStage,DataEventSummaryItem.LastStage,DataEventSummaryItem.NameStage
- Enclosing class:
DataEventSummaryItem
public static final class DataEventSummaryItem.Builder
extends Object
implements DataEventSummaryItem.NameStage, DataEventSummaryItem.FirstStage, DataEventSummaryItem.LastStage, DataEventSummaryItem.CountStage, DataEventSummaryItem._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()count(int count) The number of times the event was sentdescription(String description) The description of the eventdescription(Optional<String> description) The first time the event was sentfrom(DataEventSummaryItem other) The last time the event was sentThe name of the event
-
Method Details
-
from
- Specified by:
fromin interfaceDataEventSummaryItem.NameStage
-
name
The name of the event
- Specified by:
namein interfaceDataEventSummaryItem.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
first
The first time the event was sent
- Specified by:
firstin interfaceDataEventSummaryItem.FirstStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
last
The last time the event was sent
- Specified by:
lastin interfaceDataEventSummaryItem.LastStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
count
The number of times the event was sent
- Specified by:
countin interfaceDataEventSummaryItem.CountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
The description of the event
- Specified by:
descriptionin interfaceDataEventSummaryItem._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
- Specified by:
descriptionin interfaceDataEventSummaryItem._FinalStage
-
build
- Specified by:
buildin interfaceDataEventSummaryItem._FinalStage
-