public static class DatabaseSoftwareImage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseSoftwareImage |
build() |
DatabaseSoftwareImage.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
DatabaseSoftwareImage.Builder |
copy(DatabaseSoftwareImage model) |
DatabaseSoftwareImage.Builder |
databaseSoftwareImageIncludedPatches(List<String> databaseSoftwareImageIncludedPatches)
List of one-off patches for Database Homes.
|
DatabaseSoftwareImage.Builder |
databaseSoftwareImageOneOffPatches(List<String> databaseSoftwareImageOneOffPatches)
List of one-off patches for Database Homes.
|
DatabaseSoftwareImage.Builder |
databaseVersion(String databaseVersion)
The database version with which the database software image is to be built.
|
DatabaseSoftwareImage.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DatabaseSoftwareImage.Builder |
displayName(String displayName)
The user-friendly name for the database software image.
|
DatabaseSoftwareImage.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DatabaseSoftwareImage.Builder |
id(String id)
The OCID of the
database software image.
|
DatabaseSoftwareImage.Builder |
imageShapeFamily(DatabaseSoftwareImage.ImageShapeFamily imageShapeFamily)
To what shape the image is meant for.
|
DatabaseSoftwareImage.Builder |
imageType(DatabaseSoftwareImage.ImageType imageType)
The type of software image.
|
DatabaseSoftwareImage.Builder |
includedPatchesSummary(String includedPatchesSummary)
The patches included in the image and the version of the image.
|
DatabaseSoftwareImage.Builder |
isUpgradeSupported(Boolean isUpgradeSupported)
True if this Database software image is supported for Upgrade.
|
DatabaseSoftwareImage.Builder |
lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.
|
DatabaseSoftwareImage.Builder |
lifecycleState(DatabaseSoftwareImage.LifecycleState lifecycleState)
The current state of the database software image.
|
DatabaseSoftwareImage.Builder |
lsInventory(String lsInventory)
The output from the OPatch lsInventory command, which is passed as a string.
|
DatabaseSoftwareImage.Builder |
patchSet(String patchSet)
The PSU or PBP or Release Updates.
|
DatabaseSoftwareImage.Builder |
timeCreated(Date timeCreated)
The date and time the database software image was created.
|
public DatabaseSoftwareImage.Builder id(String id)
The OCID of the database software image.
id
- the value to setpublic DatabaseSoftwareImage.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic DatabaseSoftwareImage.Builder databaseVersion(String databaseVersion)
The database version with which the database software image is to be built.
databaseVersion
- the value to setpublic DatabaseSoftwareImage.Builder displayName(String displayName)
The user-friendly name for the database software image. The name does not have to be unique.
displayName
- the value to setpublic DatabaseSoftwareImage.Builder lifecycleState(DatabaseSoftwareImage.LifecycleState lifecycleState)
The current state of the database software image.
lifecycleState
- the value to setpublic DatabaseSoftwareImage.Builder lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.
lifecycleDetails
- the value to setpublic DatabaseSoftwareImage.Builder timeCreated(Date timeCreated)
The date and time the database software image was created.
timeCreated
- the value to setpublic DatabaseSoftwareImage.Builder imageType(DatabaseSoftwareImage.ImageType imageType)
The type of software image. Can be grid or database.
imageType
- the value to setpublic DatabaseSoftwareImage.Builder imageShapeFamily(DatabaseSoftwareImage.ImageShapeFamily imageShapeFamily)
To what shape the image is meant for.
imageShapeFamily
- the value to setpublic DatabaseSoftwareImage.Builder patchSet(String patchSet)
The PSU or PBP or Release Updates. To get a list of supported versions, use the listDbVersions
operation.
patchSet
- the value to setpublic DatabaseSoftwareImage.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 DatabaseSoftwareImage.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 DatabaseSoftwareImage.Builder databaseSoftwareImageIncludedPatches(List<String> databaseSoftwareImageIncludedPatches)
List of one-off patches for Database Homes.
databaseSoftwareImageIncludedPatches
- the value to setpublic DatabaseSoftwareImage.Builder includedPatchesSummary(String includedPatchesSummary)
The patches included in the image and the version of the image.
includedPatchesSummary
- the value to setpublic DatabaseSoftwareImage.Builder databaseSoftwareImageOneOffPatches(List<String> databaseSoftwareImageOneOffPatches)
List of one-off patches for Database Homes.
databaseSoftwareImageOneOffPatches
- the value to setpublic DatabaseSoftwareImage.Builder lsInventory(String lsInventory)
The output from the OPatch lsInventory command, which is passed as a string.
lsInventory
- the value to setpublic DatabaseSoftwareImage.Builder isUpgradeSupported(Boolean isUpgradeSupported)
True if this Database software image is supported for Upgrade.
isUpgradeSupported
- the value to setpublic DatabaseSoftwareImage build()
public DatabaseSoftwareImage.Builder copy(DatabaseSoftwareImage model)
Copyright © 2016–2024. All rights reserved.