public static class AutonomousPatch.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AutonomousPatch.Builder |
autonomousPatchType(AutonomousPatch.AutonomousPatchType autonomousPatchType)
Maintenance run type, either “QUARTERLY” or “TIMEZONE”.
|
AutonomousPatch |
build() |
AutonomousPatch.Builder |
copy(AutonomousPatch model) |
AutonomousPatch.Builder |
description(String description)
The text describing this patch package.
|
AutonomousPatch.Builder |
id(String id)
The OCID of the
patch.
|
AutonomousPatch.Builder |
lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState.
|
AutonomousPatch.Builder |
lifecycleState(AutonomousPatch.LifecycleState lifecycleState)
The current state of the patch as a result of lastAction.
|
AutonomousPatch.Builder |
patchModel(AutonomousPatch.PatchModel patchModel)
Database patching model preference.
|
AutonomousPatch.Builder |
quarter(String quarter)
First month of the quarter in which the patch was released.
|
AutonomousPatch.Builder |
timeReleased(Date timeReleased)
The date and time that the patch was released.
|
AutonomousPatch.Builder |
type(String type)
The type of patch.
|
AutonomousPatch.Builder |
version(String version)
The version of this patch package.
|
AutonomousPatch.Builder |
year(String year)
Year in which the patch was released.
|
public AutonomousPatch.Builder id(String id)
The OCID of the patch.
id
- the value to setpublic AutonomousPatch.Builder description(String description)
The text describing this patch package.
description
- the value to setpublic AutonomousPatch.Builder type(String type)
The type of patch. BUNDLE is one example.
type
- the value to setpublic AutonomousPatch.Builder lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
lifecycleDetails
- the value to setpublic AutonomousPatch.Builder lifecycleState(AutonomousPatch.LifecycleState lifecycleState)
The current state of the patch as a result of lastAction.
lifecycleState
- the value to setpublic AutonomousPatch.Builder timeReleased(Date timeReleased)
The date and time that the patch was released.
timeReleased
- the value to setpublic AutonomousPatch.Builder version(String version)
The version of this patch package.
version
- the value to setpublic AutonomousPatch.Builder patchModel(AutonomousPatch.PatchModel patchModel)
Database patching model preference. See My Oracle Support note 2285040.1 for information on the Release Update (RU) and Release Update Revision (RUR) patching models.
patchModel
- the value to setpublic AutonomousPatch.Builder quarter(String quarter)
First month of the quarter in which the patch was released.
quarter
- the value to setpublic AutonomousPatch.Builder year(String year)
Year in which the patch was released.
year
- the value to setpublic AutonomousPatch.Builder autonomousPatchType(AutonomousPatch.AutonomousPatchType autonomousPatchType)
Maintenance run type, either “QUARTERLY” or “TIMEZONE”.
autonomousPatchType
- the value to setpublic AutonomousPatch build()
public AutonomousPatch.Builder copy(AutonomousPatch model)
Copyright © 2016–2024. All rights reserved.