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.Builder
availableActions(List<Patch.AvailableActions> availableActions)
Actions that can possibly be performed using this patch.Patch
build()
Patch.Builder
copy(Patch model)
Patch.Builder
description(String description)
The text describing this patch package.Patch.Builder
id(String id)
The OCID of the patch.Patch.Builder
lastAction(Patch.LastAction lastAction)
Action that is currently being performed or was completed last.Patch.Builder
lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState.Patch.Builder
lifecycleState(Patch.LifecycleState lifecycleState)
The current state of the patch as a result of lastAction.Patch.Builder
timeReleased(Date timeReleased)
The date and time that the patch was released.Patch.Builder
version(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
-
build
public Patch build()
-
copy
public Patch.Builder copy(Patch model)
-
-