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