Package com.oracle.bmc.database.model
Class DatabaseSoftwareImageSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.DatabaseSoftwareImageSummary.Builder
-
- Enclosing class:
- DatabaseSoftwareImageSummary
public static class DatabaseSoftwareImageSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public DatabaseSoftwareImageSummary.Builder id(String id)
The OCID of the database software image.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public DatabaseSoftwareImageSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
databaseVersion
public DatabaseSoftwareImageSummary.Builder databaseVersion(String databaseVersion)
The database version with which the database software image is to be built.- Parameters:
databaseVersion
- the value to set- Returns:
- this builder
-
displayName
public DatabaseSoftwareImageSummary.Builder displayName(String displayName)
The user-friendly name for the database software image.The name does not have to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
lifecycleState
public DatabaseSoftwareImageSummary.Builder lifecycleState(DatabaseSoftwareImageSummary.LifecycleState lifecycleState)
The current state of the database software image.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DatabaseSoftwareImageSummary.Builder lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public DatabaseSoftwareImageSummary.Builder timeCreated(Date timeCreated)
The date and time the database software image was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
imageType
public DatabaseSoftwareImageSummary.Builder imageType(DatabaseSoftwareImageSummary.ImageType imageType)
The type of software image.Can be grid or database.
- Parameters:
imageType
- the value to set- Returns:
- this builder
-
imageShapeFamily
public DatabaseSoftwareImageSummary.Builder imageShapeFamily(DatabaseSoftwareImageSummary.ImageShapeFamily imageShapeFamily)
To what shape the image is meant for.- Parameters:
imageShapeFamily
- the value to set- Returns:
- this builder
-
patchSet
public DatabaseSoftwareImageSummary.Builder patchSet(String patchSet)
The PSU or PBP or Release Updates.To get a list of supported versions, use the
listDbVersions
operation.- Parameters:
patchSet
- the value to set- Returns:
- this builder
-
freeformTags
public DatabaseSoftwareImageSummary.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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public DatabaseSoftwareImageSummary.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.
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
databaseSoftwareImageIncludedPatches
public DatabaseSoftwareImageSummary.Builder databaseSoftwareImageIncludedPatches(List<String> databaseSoftwareImageIncludedPatches)
List of one-off patches for Database Homes.- Parameters:
databaseSoftwareImageIncludedPatches
- the value to set- Returns:
- this builder
-
includedPatchesSummary
public DatabaseSoftwareImageSummary.Builder includedPatchesSummary(String includedPatchesSummary)
The patches included in the image and the version of the image.- Parameters:
includedPatchesSummary
- the value to set- Returns:
- this builder
-
databaseSoftwareImageOneOffPatches
public DatabaseSoftwareImageSummary.Builder databaseSoftwareImageOneOffPatches(List<String> databaseSoftwareImageOneOffPatches)
List of one-off patches for Database Homes.- Parameters:
databaseSoftwareImageOneOffPatches
- the value to set- Returns:
- this builder
-
lsInventory
public DatabaseSoftwareImageSummary.Builder lsInventory(String lsInventory)
The output from the OPatch lsInventory command, which is passed as a string.- Parameters:
lsInventory
- the value to set- Returns:
- this builder
-
isUpgradeSupported
public DatabaseSoftwareImageSummary.Builder isUpgradeSupported(Boolean isUpgradeSupported)
True if this Database software image is supported for Upgrade.- Parameters:
isUpgradeSupported
- the value to set- Returns:
- this builder
-
build
public DatabaseSoftwareImageSummary build()
-
copy
public DatabaseSoftwareImageSummary.Builder copy(DatabaseSoftwareImageSummary model)
-
-