Package com.oracle.bmc.database.model
Class PatchDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.PatchDetails.Builder
-
- Enclosing class:
- PatchDetails
public static class PatchDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchDetails.Builderaction(PatchDetails.Action action)The action to perform on the patch.PatchDetailsbuild()PatchDetails.Buildercopy(PatchDetails model)PatchDetails.BuilderdatabaseSoftwareImageId(String databaseSoftwareImageId)The OCID of the database software image.PatchDetails.BuilderisOlderVersionAcknowledged(Boolean isOlderVersionAcknowledged)If true, the caller acknowledges selecting or applying an older DB, Grid Infrastructure, or operating system software version that is outside the latest default version window.PatchDetails.BuilderpatchId(String patchId)The OCID of the patch.PatchDetails.BuilderpatchOptions(PatchOptions patchOptions)
-
-
-
Method Detail
-
patchId
public PatchDetails.Builder patchId(String patchId)
The OCID of the patch.- Parameters:
patchId- the value to set- Returns:
- this builder
-
databaseSoftwareImageId
public PatchDetails.Builder databaseSoftwareImageId(String databaseSoftwareImageId)
The OCID of the database software image.- Parameters:
databaseSoftwareImageId- the value to set- Returns:
- this builder
-
isOlderVersionAcknowledged
public PatchDetails.Builder isOlderVersionAcknowledged(Boolean isOlderVersionAcknowledged)
If true, the caller acknowledges selecting or applying an older DB, Grid Infrastructure, or operating system software version that is outside the latest default version window.- Parameters:
isOlderVersionAcknowledged- the value to set- Returns:
- this builder
-
action
public PatchDetails.Builder action(PatchDetails.Action action)
The action to perform on the patch.- Parameters:
action- the value to set- Returns:
- this builder
-
patchOptions
public PatchDetails.Builder patchOptions(PatchOptions patchOptions)
-
build
public PatchDetails build()
-
copy
public PatchDetails.Builder copy(PatchDetails model)
-
-