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 java.lang.Object implements ActivityLog.IdStage, ActivityLog.PerformedByStage, ActivityLog.ActivityTypeStage, ActivityLog._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityLog._FinalStageactivityDescription(java.lang.String activityDescription)A sentence or two describing the activity.ActivityLog._FinalStageactivityDescription(java.util.Optional<java.lang.String> activityDescription)A sentence or two describing the activity.ActivityLog._FinalStageactivityType(ActivityLog.ActivityType activityType)ActivityLogbuild()ActivityLog._FinalStagecreatedAt(java.lang.Integer createdAt)The time the activity was created.ActivityLog._FinalStagecreatedAt(java.util.Optional<java.lang.Integer> createdAt)The time the activity was created.ActivityLog.Builderfrom(ActivityLog other)ActivityLog.PerformedByStageid(java.lang.String id)The id representing the activity.ActivityLog._FinalStagemetadata(ActivityLogMetadata metadata)ActivityLog._FinalStagemetadata(java.util.Optional<ActivityLogMetadata> metadata)ActivityLog.ActivityTypeStageperformedBy(ActivityLog.PerformedBy performedBy)Details about the Admin involved in the activity.
-
-
-
Method Detail
-
from
public ActivityLog.Builder from(ActivityLog other)
- Specified by:
fromin interfaceActivityLog.IdStage
-
id
public ActivityLog.PerformedByStage id(@NotNull java.lang.String id)
The id representing the activity.The id representing the activity.
- Specified by:
idin interfaceActivityLog.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
performedBy
public ActivityLog.ActivityTypeStage performedBy(@NotNull ActivityLog.PerformedBy performedBy)
Details about the Admin involved in the activity.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
public ActivityLog._FinalStage activityType(@NotNull ActivityLog.ActivityType activityType)
- Specified by:
activityTypein interfaceActivityLog.ActivityTypeStage
-
activityDescription
public ActivityLog._FinalStage activityDescription(java.lang.String 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
public ActivityLog._FinalStage activityDescription(java.util.Optional<java.lang.String> activityDescription)
A sentence or two describing the activity.
- Specified by:
activityDescriptionin interfaceActivityLog._FinalStage
-
createdAt
public ActivityLog._FinalStage createdAt(java.lang.Integer createdAt)
The time the activity was created.
- Specified by:
createdAtin interfaceActivityLog._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public ActivityLog._FinalStage createdAt(java.util.Optional<java.lang.Integer> createdAt)
The time the activity was created.
- Specified by:
createdAtin interfaceActivityLog._FinalStage
-
metadata
public ActivityLog._FinalStage metadata(ActivityLogMetadata metadata)
- Specified by:
metadatain interfaceActivityLog._FinalStage
-
metadata
public ActivityLog._FinalStage metadata(java.util.Optional<ActivityLogMetadata> metadata)
- Specified by:
metadatain interfaceActivityLog._FinalStage
-
build
public ActivityLog build()
- Specified by:
buildin interfaceActivityLog._FinalStage
-
-