public static class PatchSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PatchSummary.Builder |
availableActions(List<PatchSummary.AvailableActions> availableActions)
Actions that can possibly be performed using this patch.
|
PatchSummary |
build() |
PatchSummary.Builder |
copy(PatchSummary model) |
PatchSummary.Builder |
description(String description)
The text describing this patch package.
|
PatchSummary.Builder |
id(String id)
The OCID of the
patch.
|
PatchSummary.Builder |
lastAction(PatchSummary.LastAction lastAction)
Action that is currently being performed or was completed last.
|
PatchSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState.
|
PatchSummary.Builder |
lifecycleState(PatchSummary.LifecycleState lifecycleState)
The current state of the patch as a result of lastAction.
|
PatchSummary.Builder |
timeReleased(Date timeReleased)
The date and time that the patch was released.
|
PatchSummary.Builder |
version(String version)
The version of this patch package.
|
public PatchSummary.Builder id(String id)
The OCID of the patch.
id
- the value to setpublic PatchSummary.Builder description(String description)
The text describing this patch package.
description
- the value to setpublic PatchSummary.Builder lastAction(PatchSummary.LastAction lastAction)
Action that is currently being performed or was completed last.
lastAction
- the value to setpublic PatchSummary.Builder availableActions(List<PatchSummary.AvailableActions> availableActions)
Actions that can possibly be performed using this patch.
availableActions
- the value to setpublic PatchSummary.Builder lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
lifecycleDetails
- the value to setpublic PatchSummary.Builder lifecycleState(PatchSummary.LifecycleState lifecycleState)
The current state of the patch as a result of lastAction.
lifecycleState
- the value to setpublic PatchSummary.Builder timeReleased(Date timeReleased)
The date and time that the patch was released.
timeReleased
- the value to setpublic PatchSummary.Builder version(String version)
The version of this patch package.
version
- the value to setpublic PatchSummary build()
public PatchSummary.Builder copy(PatchSummary model)
Copyright © 2016–2024. All rights reserved.