public static class OneoffPatchSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OneoffPatchSummary |
build() |
OneoffPatchSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
OneoffPatchSummary.Builder |
copy(OneoffPatchSummary model) |
OneoffPatchSummary.Builder |
dbVersion(String dbVersion)
A valid Oracle Database version.
|
OneoffPatchSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OneoffPatchSummary.Builder |
displayName(String displayName)
One-off patch name.
|
OneoffPatchSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
OneoffPatchSummary.Builder |
id(String id)
The OCID of the
one-off patch.
|
OneoffPatchSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.
|
OneoffPatchSummary.Builder |
lifecycleState(OneoffPatchSummary.LifecycleState lifecycleState)
The current state of the one-off patch.
|
OneoffPatchSummary.Builder |
oneOffPatches(List<String> oneOffPatches)
List of one-off patches for Database Homes.
|
OneoffPatchSummary.Builder |
releaseUpdate(String releaseUpdate)
The PSU or PBP or Release Updates.
|
OneoffPatchSummary.Builder |
sha256Sum(String sha256Sum)
SHA-256 checksum of the one-off patch.
|
OneoffPatchSummary.Builder |
sizeInKBs(Float sizeInKBs)
The size of one-off patch in kilobytes.
|
OneoffPatchSummary.Builder |
timeCreated(Date timeCreated)
The date and time one-off patch was created.
|
OneoffPatchSummary.Builder |
timeOfExpiration(Date timeOfExpiration)
The date and time until which the one-off patch will be available for download.
|
OneoffPatchSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time one-off patch was updated.
|
public OneoffPatchSummary.Builder id(String id)
The OCID of the one-off patch.
id
- the value to setpublic OneoffPatchSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic OneoffPatchSummary.Builder displayName(String displayName)
One-off patch name.
displayName
- the value to setpublic OneoffPatchSummary.Builder dbVersion(String dbVersion)
A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
dbVersion
- the value to setpublic OneoffPatchSummary.Builder releaseUpdate(String releaseUpdate)
The PSU or PBP or Release Updates. To get a list of supported versions, use the listDbVersions
operation.
releaseUpdate
- the value to setpublic OneoffPatchSummary.Builder oneOffPatches(List<String> oneOffPatches)
List of one-off patches for Database Homes.
oneOffPatches
- the value to setpublic OneoffPatchSummary.Builder sizeInKBs(Float sizeInKBs)
The size of one-off patch in kilobytes.
sizeInKBs
- the value to setpublic OneoffPatchSummary.Builder lifecycleState(OneoffPatchSummary.LifecycleState lifecycleState)
The current state of the one-off patch.
lifecycleState
- the value to setpublic OneoffPatchSummary.Builder lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.
lifecycleDetails
- the value to setpublic OneoffPatchSummary.Builder sha256Sum(String sha256Sum)
SHA-256 checksum of the one-off patch.
sha256Sum
- the value to setpublic OneoffPatchSummary.Builder timeUpdated(Date timeUpdated)
The date and time one-off patch was updated.
timeUpdated
- the value to setpublic OneoffPatchSummary.Builder timeCreated(Date timeCreated)
The date and time one-off patch was created.
timeCreated
- the value to setpublic OneoffPatchSummary.Builder timeOfExpiration(Date timeOfExpiration)
The date and time until which the one-off patch will be available for download.
timeOfExpiration
- the value to setpublic OneoffPatchSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic OneoffPatchSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
definedTags
- the value to setpublic OneoffPatchSummary build()
public OneoffPatchSummary.Builder copy(OneoffPatchSummary model)
Copyright © 2016–2024. All rights reserved.