Package com.oracle.bmc.database.model
Class Patch.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.Patch.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Patch.BuilderavailableActions(List<Patch.AvailableActions> availableActions)Actions that can possibly be performed using this patch.Patchbuild()Patch.Buildercopy(Patch model)Patch.Builderdescription(String description)The text describing this patch package.Patch.Builderid(String id)The OCID of the patch.Patch.BuilderisOlderVersionAcknowledgmentRequired(Boolean isOlderVersionAcknowledgmentRequired)True when selecting or applying this DB, Grid Infrastructure, or operating system software version requires older-version acknowledgment.Patch.BuilderlastAction(Patch.LastAction lastAction)Action that is currently being performed or was completed last.Patch.BuilderlifecycleDetails(String lifecycleDetails)A descriptive text associated with the lifecycleState.Patch.BuilderlifecycleState(Patch.LifecycleState lifecycleState)The current state of the patch as a result of lastAction.Patch.BuildertimeReleased(Date timeReleased)The date and time that the patch was released.Patch.Builderversion(String version)The version of this patch package.
-
-
-
Method Detail
-
id
public Patch.Builder id(String id)
The OCID of the patch.- Parameters:
id- the value to set- Returns:
- this builder
-
description
public Patch.Builder description(String description)
The text describing this patch package.- Parameters:
description- the value to set- Returns:
- this builder
-
lastAction
public Patch.Builder lastAction(Patch.LastAction lastAction)
Action that is currently being performed or was completed last.- Parameters:
lastAction- the value to set- Returns:
- this builder
-
availableActions
public Patch.Builder availableActions(List<Patch.AvailableActions> availableActions)
Actions that can possibly be performed using this patch.- Parameters:
availableActions- the value to set- Returns:
- this builder
-
lifecycleDetails
public Patch.Builder lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState.Typically can contain additional displayable text.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
lifecycleState
public Patch.Builder lifecycleState(Patch.LifecycleState lifecycleState)
The current state of the patch as a result of lastAction.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeReleased
public Patch.Builder timeReleased(Date timeReleased)
The date and time that the patch was released.- Parameters:
timeReleased- the value to set- Returns:
- this builder
-
version
public Patch.Builder version(String version)
The version of this patch package.- Parameters:
version- the value to set- Returns:
- this builder
-
isOlderVersionAcknowledgmentRequired
public Patch.Builder isOlderVersionAcknowledgmentRequired(Boolean isOlderVersionAcknowledgmentRequired)
True when selecting or applying this DB, Grid Infrastructure, or operating system software version requires older-version acknowledgment.- Parameters:
isOlderVersionAcknowledgmentRequired- the value to set- Returns:
- this builder
-
build
public Patch build()
-
copy
public Patch.Builder copy(Patch model)
-
-