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 java.lang.Object implements DataEventSummaryItem.NameStage, DataEventSummaryItem.FirstStage, DataEventSummaryItem.LastStage, DataEventSummaryItem.CountStage, DataEventSummaryItem._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataEventSummaryItembuild()DataEventSummaryItem._FinalStagecount(int count)The number of times the event was sentDataEventSummaryItem._FinalStagedescription(java.lang.String description)The description of the eventDataEventSummaryItem._FinalStagedescription(java.util.Optional<java.lang.String> description)The description of the eventDataEventSummaryItem.LastStagefirst(java.lang.String first)The first time the event was sentDataEventSummaryItem.Builderfrom(DataEventSummaryItem other)DataEventSummaryItem.CountStagelast(java.lang.String last)The last time the event was sentDataEventSummaryItem.FirstStagename(java.lang.String name)The name of the event
-
-
-
Method Detail
-
from
public DataEventSummaryItem.Builder from(DataEventSummaryItem other)
- Specified by:
fromin interfaceDataEventSummaryItem.NameStage
-
name
public DataEventSummaryItem.FirstStage name(@NotNull java.lang.String name)
The name of the eventThe name of the event
- Specified by:
namein interfaceDataEventSummaryItem.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
first
public DataEventSummaryItem.LastStage first(@NotNull java.lang.String first)
The first time the event was sentThe first time the event was sent
- Specified by:
firstin interfaceDataEventSummaryItem.FirstStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
last
public DataEventSummaryItem.CountStage last(@NotNull java.lang.String last)
The last time the event was sentThe last time the event was sent
- Specified by:
lastin interfaceDataEventSummaryItem.LastStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
count
public DataEventSummaryItem._FinalStage count(int count)
The number of times the event was sentThe number of times the event was sent
- Specified by:
countin interfaceDataEventSummaryItem.CountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public DataEventSummaryItem._FinalStage description(java.lang.String description)
The description of the event
- Specified by:
descriptionin interfaceDataEventSummaryItem._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public DataEventSummaryItem._FinalStage description(java.util.Optional<java.lang.String> description)
The description of the event
- Specified by:
descriptionin interfaceDataEventSummaryItem._FinalStage
-
build
public DataEventSummaryItem build()
- Specified by:
buildin interfaceDataEventSummaryItem._FinalStage
-
-