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.Update.BuilderavailableUpdateModes(List<Update.AvailableUpdateModes> availableUpdateModes)The possible update options available (only valid for OS Update).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.BuilderlastUpdateMode(Update.LastUpdateMode lastUpdateMode)The previous update mode performed (only valid for OS Updates).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.BuilderoracleLinuxVersion(String oracleLinuxVersion)Oracle Linux version for the respective Exadata Image.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
-
lastUpdateMode
public Update.Builder lastUpdateMode(Update.LastUpdateMode lastUpdateMode)
The previous update mode performed (only valid for OS Updates).- Parameters:
lastUpdateMode- the value to set- Returns:
- this builder
-
availableUpdateModes
public Update.Builder availableUpdateModes(List<Update.AvailableUpdateModes> availableUpdateModes)
The possible update options available (only valid for OS Update).- Parameters:
availableUpdateModes- the value to set- Returns:
- this builder
-
oracleLinuxVersion
public Update.Builder oracleLinuxVersion(String oracleLinuxVersion)
Oracle Linux version for the respective Exadata Image.- Parameters:
oracleLinuxVersion- 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)
-
-