Package com.oracle.bmc.bds.model
Class PatchHistorySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.PatchHistorySummary.Builder
-
- Enclosing class:
- PatchHistorySummary
public static class PatchHistorySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchHistorySummary
build()
PatchHistorySummary.Builder
copy(PatchHistorySummary model)
PatchHistorySummary.Builder
lifecycleState(PatchHistorySummary.LifecycleState lifecycleState)
The status of this patch.PatchHistorySummary.Builder
patchType(PatchHistorySummary.PatchType patchType)
The type of current patch history.PatchHistorySummary.Builder
timeUpdated(Date timeUpdated)
The time when the patch history was last updated.PatchHistorySummary.Builder
version(String version)
The version of the patch.
-
-
-
Method Detail
-
version
public PatchHistorySummary.Builder version(String version)
The version of the patch.- Parameters:
version
- the value to set- Returns:
- this builder
-
lifecycleState
public PatchHistorySummary.Builder lifecycleState(PatchHistorySummary.LifecycleState lifecycleState)
The status of this patch.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeUpdated
public PatchHistorySummary.Builder timeUpdated(Date timeUpdated)
The time when the patch history was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
patchType
public PatchHistorySummary.Builder patchType(PatchHistorySummary.PatchType patchType)
The type of current patch history.DP - Data Plane patch(This history type is internal available only) ODH - Oracle Distribution of Hadoop patch OS - Operating System patch
- Parameters:
patchType
- the value to set- Returns:
- this builder
-
build
public PatchHistorySummary build()
-
copy
public PatchHistorySummary.Builder copy(PatchHistorySummary model)
-
-