Package com.oracle.bmc.database.model
Class PatchSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.PatchSummary.Builder
-
- Enclosing class:
- PatchSummary
public static class PatchSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchSummary.Builder
availableActions(List<PatchSummary.AvailableActions> availableActions)
Actions that can possibly be performed using this patch.PatchSummary
build()
PatchSummary.Builder
copy(PatchSummary model)
PatchSummary.Builder
description(String description)
The text describing this patch package.PatchSummary.Builder
id(String id)
The OCID of the patch.PatchSummary.Builder
lastAction(PatchSummary.LastAction lastAction)
Action that is currently being performed or was completed last.PatchSummary.Builder
lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState.PatchSummary.Builder
lifecycleState(PatchSummary.LifecycleState lifecycleState)
The current state of the patch as a result of lastAction.PatchSummary.Builder
timeReleased(Date timeReleased)
The date and time that the patch was released.PatchSummary.Builder
version(String version)
The version of this patch package.
-
-
-
Method Detail
-
id
public PatchSummary.Builder id(String id)
The OCID of the patch.- Parameters:
id
- the value to set- Returns:
- this builder
-
description
public PatchSummary.Builder description(String description)
The text describing this patch package.- Parameters:
description
- the value to set- Returns:
- this builder
-
lastAction
public PatchSummary.Builder lastAction(PatchSummary.LastAction lastAction)
Action that is currently being performed or was completed last.- Parameters:
lastAction
- the value to set- Returns:
- this builder
-
availableActions
public PatchSummary.Builder availableActions(List<PatchSummary.AvailableActions> availableActions)
Actions that can possibly be performed using this patch.- Parameters:
availableActions
- the value to set- Returns:
- this builder
-
lifecycleDetails
public PatchSummary.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 PatchSummary.Builder lifecycleState(PatchSummary.LifecycleState lifecycleState)
The current state of the patch as a result of lastAction.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeReleased
public PatchSummary.Builder timeReleased(Date timeReleased)
The date and time that the patch was released.- Parameters:
timeReleased
- the value to set- Returns:
- this builder
-
version
public PatchSummary.Builder version(String version)
The version of this patch package.- Parameters:
version
- the value to set- Returns:
- this builder
-
build
public PatchSummary build()
-
copy
public PatchSummary.Builder copy(PatchSummary model)
-
-