| Modifier and Type | Method and Description |
|---|---|
@NonNull Action |
build()
Creates a
Action instance from the builder. |
@NonNull Action.Builder |
description(@NonNull String action)
Sets the action of the entry.
|
@NonNull Action.Builder |
source(@NonNull UUID actor)
Sets the actor of the entry.
|
@NonNull Action.Builder |
sourceName(@NonNull String actorName)
Sets the actor name of the entry.
|
@NonNull Action.Builder |
target(@Nullable UUID acted)
Sets the acted object for the entry.
|
@NonNull Action.Builder |
targetName(@NonNull String actedName)
Sets the acted name for the entry.
|
@NonNull Action.Builder |
targetType(Action.Target.Type type)
Sets the type of the entry.
|
@NonNull Action.Builder |
timestamp(@NonNull Instant timestamp)
Sets the timestamp of the entry.
|
@NonNull Action.Builder timestamp(@NonNull Instant timestamp)
timestamp - the timestampAction.getTimestamp()@NonNull Action.Builder source(@NonNull UUID actor)
actor - the actor@NonNull Action.Builder sourceName(@NonNull String actorName)
actorName - the actor name@NonNull Action.Builder targetType(Action.Target.Type type)
type - the type@NonNull Action.Builder target(@Nullable UUID acted)
acted - the acted object@NonNull Action.Builder targetName(@NonNull String actedName)
actedName - the acted name@NonNull Action.Builder description(@NonNull String action)
action - the action