Package com.oracle.bmc.database.model
Class DbSystemOsPatchHistoryEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.DbSystemOsPatchHistoryEntry.Builder
-
- Enclosing class:
- DbSystemOsPatchHistoryEntry
public static class DbSystemOsPatchHistoryEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
action
public DbSystemOsPatchHistoryEntry.Builder action(DbSystemOsPatchHistoryEntry.Action action)
The action being performed or was completed.- Parameters:
action- the value to set- Returns:
- this builder
-
dbSystemId
public DbSystemOsPatchHistoryEntry.Builder dbSystemId(String dbSystemId)
The OCID of the DB system.- Parameters:
dbSystemId- the value to set- Returns:
- this builder
-
id
public DbSystemOsPatchHistoryEntry.Builder id(String id)
The OCID of the OS patch history entry.- Parameters:
id- the value to set- Returns:
- this builder
-
lifecycleState
public DbSystemOsPatchHistoryEntry.Builder lifecycleState(DbSystemOsPatchHistoryEntry.LifecycleState lifecycleState)
The current state of the action.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public DbSystemOsPatchHistoryEntry.Builder lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState.Typically contains additional displayable text.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
osPatchDetails
public DbSystemOsPatchHistoryEntry.Builder osPatchDetails(DbSystemOsPatchDetailsCollection osPatchDetails)
-
timeStarted
public DbSystemOsPatchHistoryEntry.Builder timeStarted(Date timeStarted)
The date and time when the patch action started.- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeEnded
public DbSystemOsPatchHistoryEntry.Builder timeEnded(Date timeEnded)
The date and time when the patch action completed- Parameters:
timeEnded- the value to set- Returns:
- this builder
-
build
public DbSystemOsPatchHistoryEntry build()
-
copy
public DbSystemOsPatchHistoryEntry.Builder copy(DbSystemOsPatchHistoryEntry model)
-
-