Package com.oracle.bmc.database.model
Class PatchHistoryEntrySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.PatchHistoryEntrySummary.Builder
-
- Enclosing class:
- PatchHistoryEntrySummary
public static class PatchHistoryEntrySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public PatchHistoryEntrySummary.Builder id(String id)
The OCID of the patch history entry.- Parameters:
id
- the value to set- Returns:
- this builder
-
patchId
public PatchHistoryEntrySummary.Builder patchId(String patchId)
The OCID of the patch.- Parameters:
patchId
- the value to set- Returns:
- this builder
-
action
public PatchHistoryEntrySummary.Builder action(PatchHistoryEntrySummary.Action action)
The action being performed or was completed.- Parameters:
action
- the value to set- Returns:
- this builder
-
lifecycleState
public PatchHistoryEntrySummary.Builder lifecycleState(PatchHistoryEntrySummary.LifecycleState lifecycleState)
The current state of the action.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public PatchHistoryEntrySummary.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
-
timeStarted
public PatchHistoryEntrySummary.Builder timeStarted(Date timeStarted)
The date and time when the patch action started.- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeEnded
public PatchHistoryEntrySummary.Builder timeEnded(Date timeEnded)
The date and time when the patch action completed- Parameters:
timeEnded
- the value to set- Returns:
- this builder
-
patchType
public PatchHistoryEntrySummary.Builder patchType(PatchHistoryEntrySummary.PatchType patchType)
The type of Patch operation.- Parameters:
patchType
- the value to set- Returns:
- this builder
-
build
public PatchHistoryEntrySummary build()
-
copy
public PatchHistoryEntrySummary.Builder copy(PatchHistoryEntrySummary model)
-
-