Package com.oracle.bmc.database.model
Class Update.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.Update.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Update.BuilderavailableActions(List<Update.AvailableActions> availableActions)The possible actions performed by the update operation on the infrastructure components.Updatebuild()Update.Buildercopy(Update model)Update.Builderdescription(String description)Details of the maintenance update package.Update.Builderid(String id)The OCID of the maintenance update.Update.BuilderlastAction(Update.LastAction lastAction)The previous update action performed.Update.BuilderlifecycleDetails(String lifecycleDetails)Descriptive text providing additional details about the lifecycle state.Update.BuilderlifecycleState(Update.LifecycleState lifecycleState)The current state of the maintenance update.Update.BuildertimeReleased(Date timeReleased)The date and time the maintenance update was released.Update.BuilderupdateType(Update.UpdateType updateType)The type of cloud VM cluster maintenance update.Update.Builderversion(String version)The version of the maintenance update package.
-
-
-
Method Detail
-
id
public Update.Builder id(String id)
The OCID of the maintenance update.- Parameters:
id- the value to set- Returns:
- this builder
-
description
public Update.Builder description(String description)
Details of the maintenance update package.- Parameters:
description- the value to set- Returns:
- this builder
-
lastAction
public Update.Builder lastAction(Update.LastAction lastAction)
The previous update action performed.- Parameters:
lastAction- the value to set- Returns:
- this builder
-
availableActions
public Update.Builder availableActions(List<Update.AvailableActions> availableActions)
The possible actions performed by the update operation on the infrastructure components.- Parameters:
availableActions- the value to set- Returns:
- this builder
-
updateType
public Update.Builder updateType(Update.UpdateType updateType)
The type of cloud VM cluster maintenance update.- Parameters:
updateType- the value to set- Returns:
- this builder
-
lifecycleDetails
public Update.Builder lifecycleDetails(String lifecycleDetails)
Descriptive text providing additional details about the lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
lifecycleState
public Update.Builder lifecycleState(Update.LifecycleState lifecycleState)
The current state of the maintenance update.Dependent on value of lastAction.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeReleased
public Update.Builder timeReleased(Date timeReleased)
The date and time the maintenance update was released.- Parameters:
timeReleased- the value to set- Returns:
- this builder
-
version
public Update.Builder version(String version)
The version of the maintenance update package.- Parameters:
version- the value to set- Returns:
- this builder
-
build
public Update build()
-
copy
public Update.Builder copy(Update model)
-
-