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