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 PatchHistorySummarybuild()PatchHistorySummary.Buildercopy(PatchHistorySummary model)PatchHistorySummary.BuilderlifecycleState(PatchHistorySummary.LifecycleState lifecycleState)The status of this patch.PatchHistorySummary.BuilderpatchType(PatchHistorySummary.PatchType patchType)The type of current patch history.PatchHistorySummary.BuildertimeUpdated(Date timeUpdated)The time when the patch history was last updated.PatchHistorySummary.Builderversion(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 update OS - Operating System update BDS - Big Data Service update
- Parameters:
patchType- the value to set- Returns:
- this builder
-
build
public PatchHistorySummary build()
-
copy
public PatchHistorySummary.Builder copy(PatchHistorySummary model)
-
-