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