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