Package com.oracle.bmc.database.model
Class Patch.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.Patch.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Patch.BuilderavailableActions(List<Patch.AvailableActions> availableActions)Actions that can possibly be performed using this patch.Patchbuild()Patch.Buildercopy(Patch model)Patch.Builderdescription(String description)The text describing this patch package.Patch.Builderid(String id)The OCID of the patch.Patch.BuilderlastAction(Patch.LastAction lastAction)Action that is currently being performed or was completed last.Patch.BuilderlifecycleDetails(String lifecycleDetails)A descriptive text associated with the lifecycleState.Patch.BuilderlifecycleState(Patch.LifecycleState lifecycleState)The current state of the patch as a result of lastAction.Patch.BuildertimeReleased(Date timeReleased)The date and time that the patch was released.Patch.Builderversion(String version)The version of this patch package.
 
- 
- 
- 
Method Detail- 
idpublic Patch.Builder id(String id) The OCID of the patch.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Patch.Builder description(String description) The text describing this patch package.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lastActionpublic 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
 
 - 
availableActionspublic 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
 
 - 
lifecycleDetailspublic 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
 
 - 
lifecycleStatepublic 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
 
 - 
timeReleasedpublic Patch.Builder timeReleased(Date timeReleased) The date and time that the patch was released.- Parameters:
- timeReleased- the value to set
- Returns:
- this builder
 
 - 
versionpublic Patch.Builder version(String version) The version of this patch package.- Parameters:
- version- the value to set
- Returns:
- this builder
 
 - 
buildpublic Patch build() 
 - 
copypublic Patch.Builder copy(Patch model) 
 
- 
 
-