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