Package com.oracle.bmc.lockbox.model
Class ActivityLog.Builder
- java.lang.Object
-
- com.oracle.bmc.lockbox.model.ActivityLog.Builder
-
- Enclosing class:
- ActivityLog
public static class ActivityLog.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityLog.Builderaction(AccessRequestActionType action)The action take by personaActivityLogbuild()ActivityLog.Buildercopy(ActivityLog model)ActivityLog.Buildermessage(String message)The action justification or details.ActivityLog.BuildertimeUpdated(Date timeUpdated)The time the action was taken.ActivityLog.BuilderuserId(String userId)User OCID of the personaActivityLog.BuilderuserLevel(PersonaLevel userLevel)Level of the persona
-
-
-
Method Detail
-
userId
public ActivityLog.Builder userId(String userId)
User OCID of the persona- Parameters:
userId- the value to set- Returns:
- this builder
-
userLevel
public ActivityLog.Builder userLevel(PersonaLevel userLevel)
Level of the persona- Parameters:
userLevel- the value to set- Returns:
- this builder
-
action
public ActivityLog.Builder action(AccessRequestActionType action)
The action take by persona- Parameters:
action- the value to set- Returns:
- this builder
-
message
public ActivityLog.Builder message(String message)
The action justification or details.- Parameters:
message- the value to set- Returns:
- this builder
-
timeUpdated
public ActivityLog.Builder timeUpdated(Date timeUpdated)
The time the action was taken.Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public ActivityLog build()
-
copy
public ActivityLog.Builder copy(ActivityLog model)
-
-