Package com.oracle.bmc.database.model
Class VmClusterUpdateDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.VmClusterUpdateDetails.Builder
-
- Enclosing class:
- VmClusterUpdateDetails
public static class VmClusterUpdateDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VmClusterUpdateDetailsbuild()VmClusterUpdateDetails.Buildercopy(VmClusterUpdateDetails model)VmClusterUpdateDetails.BuildergiHomeId(String giHomeId)The OCID of the Grid Infrastructure Home.VmClusterUpdateDetails.BuildergiSoftwareImageId(String giSoftwareImageId)The OCID of a grid infrastructure software image.VmClusterUpdateDetails.BuilderupdateAction(VmClusterUpdateDetails.UpdateAction updateAction)The update action to perform.VmClusterUpdateDetails.BuilderupdateId(String updateId)The OCID of the maintenance update.VmClusterUpdateDetails.BuilderupdateMode(VmClusterUpdateDetails.UpdateMode updateMode)The update mode to perform for OS Update.
-
-
-
Method Detail
-
updateId
public VmClusterUpdateDetails.Builder updateId(String updateId)
The OCID of the maintenance update.- Parameters:
updateId- the value to set- Returns:
- this builder
-
giHomeId
public VmClusterUpdateDetails.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 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
-
updateMode
public VmClusterUpdateDetails.Builder updateMode(VmClusterUpdateDetails.UpdateMode updateMode)
The update mode to perform for OS Update.- Parameters:
updateMode- the value to set- Returns:
- this builder
-
updateAction
public VmClusterUpdateDetails.Builder updateAction(VmClusterUpdateDetails.UpdateAction updateAction)
The update action to perform.- Parameters:
updateAction- the value to set- Returns:
- this builder
-
giSoftwareImageId
public VmClusterUpdateDetails.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 VmClusterUpdateDetails build()
-
copy
public VmClusterUpdateDetails.Builder copy(VmClusterUpdateDetails model)
-
-