Package com.intercom.api.types
Class ActivityLog.Builder
java.lang.Object
com.intercom.api.types.ActivityLog.Builder
- All Implemented Interfaces:
ActivityLog._FinalStage,ActivityLog.ActivityTypeStage,ActivityLog.IdStage,ActivityLog.PerformedByStage
- Enclosing class:
ActivityLog
public static final class ActivityLog.Builder
extends Object
implements ActivityLog.IdStage, ActivityLog.PerformedByStage, ActivityLog.ActivityTypeStage, ActivityLog._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionactivityDescription(String activityDescription) A sentence or two describing the activity.activityDescription(Optional<String> activityDescription) activityType(ActivityLog.ActivityType activityType) build()The time the activity was created.from(ActivityLog other) The id representing the activity.metadata(ActivityLogMetadata metadata) metadata(Optional<ActivityLogMetadata> metadata) performedBy(ActivityLog.PerformedBy performedBy) Details about the Admin involved in the activity.
-
Method Details
-
from
- Specified by:
fromin interfaceActivityLog.IdStage
-
id
The id representing the activity.
- Specified by:
idin interfaceActivityLog.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
performedBy
Details about the Admin involved in the activity.
- Specified by:
performedByin interfaceActivityLog.PerformedByStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
activityType
- Specified by:
activityTypein interfaceActivityLog.ActivityTypeStage
-
activityDescription
A sentence or two describing the activity.
- Specified by:
activityDescriptionin interfaceActivityLog._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
activityDescription
- Specified by:
activityDescriptionin interfaceActivityLog._FinalStage
-
createdAt
The time the activity was created.
- Specified by:
createdAtin interfaceActivityLog._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
- Specified by:
createdAtin interfaceActivityLog._FinalStage
-
metadata
- Specified by:
metadatain interfaceActivityLog._FinalStage
-
metadata
- Specified by:
metadatain interfaceActivityLog._FinalStage
-
build
- Specified by:
buildin interfaceActivityLog._FinalStage
-