Package com.oracle.bmc.database.model
Class UpdateDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.UpdateDetails.Builder
-
- Enclosing class:
- UpdateDetails
public static class UpdateDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDetailsbuild()UpdateDetails.Buildercopy(UpdateDetails model)UpdateDetails.BuildergiHomeId(String giHomeId)The OCID of the Grid Infrastructure Home.UpdateDetails.BuildergiSoftwareImageId(String giSoftwareImageId)The OCID of a grid infrastructure software image.UpdateDetails.BuilderupdateAction(UpdateDetails.UpdateAction updateAction)The update action.UpdateDetails.BuilderupdateId(String updateId)The OCID of the maintenance update.UpdateDetails.BuilderupdateMode(UpdateDetails.UpdateMode updateMode)The update mode to perform for OS Update.
-
-
-
Method Detail
-
updateId
public UpdateDetails.Builder updateId(String updateId)
The OCID of the maintenance update.- Parameters:
updateId- the value to set- Returns:
- this builder
-
giHomeId
public UpdateDetails.Builder giHomeId(String giHomeId)
The OCID of the Grid Infrastructure Home.Specify this field for out of place Grid Infrastructure Home patching and upgrade of the Cloud VM Cluster. This is mutually exclusive option to updateId and giSoftwareImageId which are used for in place patching and upgrade using Oracle supplied and custom images respectively.
- Parameters:
giHomeId- the value to set- Returns:
- this builder
-
updateAction
public UpdateDetails.Builder updateAction(UpdateDetails.UpdateAction updateAction)
The update action.- Parameters:
updateAction- the value to set- Returns:
- this builder
-
updateMode
public UpdateDetails.Builder updateMode(UpdateDetails.UpdateMode updateMode)
The update mode to perform for OS Update.- Parameters:
updateMode- the value to set- Returns:
- this builder
-
giSoftwareImageId
public UpdateDetails.Builder giSoftwareImageId(String giSoftwareImageId)
The OCID of a grid infrastructure software image.This is a database software image of the type GRID_IMAGE.
- Parameters:
giSoftwareImageId- the value to set- Returns:
- this builder
-
build
public UpdateDetails build()
-
copy
public UpdateDetails.Builder copy(UpdateDetails model)
-
-