public static class ActivityLog.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ActivityLog.Builder |
action(AccessRequestActionType action)
The action take by persona
|
ActivityLog |
build() |
ActivityLog.Builder |
copy(ActivityLog model) |
ActivityLog.Builder |
message(String message)
The action justification or details.
|
ActivityLog.Builder |
timeUpdated(Date timeUpdated)
The time the action was taken.
|
ActivityLog.Builder |
userId(String userId)
User OCID of the persona
|
ActivityLog.Builder |
userLevel(PersonaLevel userLevel)
Level of the persona
|
public ActivityLog.Builder userId(String userId)
User OCID of the persona
userId
- the value to setpublic ActivityLog.Builder userLevel(PersonaLevel userLevel)
Level of the persona
userLevel
- the value to setpublic ActivityLog.Builder action(AccessRequestActionType action)
The action take by persona
action
- the value to setpublic ActivityLog.Builder message(String message)
The action justification or details.
message
- the value to setpublic ActivityLog.Builder timeUpdated(Date timeUpdated)
The time the action was taken. Format is defined by
RFC3339. Example: 2020-01-25T21:10:29.600Z
timeUpdated
- the value to setpublic ActivityLog build()
public ActivityLog.Builder copy(ActivityLog model)
Copyright © 2016–2024. All rights reserved.