public static class PatchHistoryEntrySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public PatchHistoryEntrySummary.Builder id(String id)
The OCID of the patch history entry.
id
- the value to setpublic PatchHistoryEntrySummary.Builder patchId(String patchId)
The OCID of the patch.
patchId
- the value to setpublic PatchHistoryEntrySummary.Builder action(PatchHistoryEntrySummary.Action action)
The action being performed or was completed.
action
- the value to setpublic PatchHistoryEntrySummary.Builder lifecycleState(PatchHistoryEntrySummary.LifecycleState lifecycleState)
The current state of the action.
lifecycleState
- the value to setpublic PatchHistoryEntrySummary.Builder lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
lifecycleDetails
- the value to setpublic PatchHistoryEntrySummary.Builder timeStarted(Date timeStarted)
The date and time when the patch action started.
timeStarted
- the value to setpublic PatchHistoryEntrySummary.Builder timeEnded(Date timeEnded)
The date and time when the patch action completed
timeEnded
- the value to setpublic PatchHistoryEntrySummary.Builder patchType(PatchHistoryEntrySummary.PatchType patchType)
The type of Patch operation.
patchType
- the value to setpublic PatchHistoryEntrySummary build()
public PatchHistoryEntrySummary.Builder copy(PatchHistoryEntrySummary model)
Copyright © 2016–2024. All rights reserved.