Package com.oracle.bmc.database.model
Class DbHomeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.DbHomeSummary.Builder
-
- Enclosing class:
- DbHomeSummary
public static class DbHomeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbHomeSummary
build()
DbHomeSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.DbHomeSummary.Builder
copy(DbHomeSummary model)
DbHomeSummary.Builder
databaseSoftwareImageId(String databaseSoftwareImageId)
The database software image OCIDDbHomeSummary.Builder
dbHomeLocation(String dbHomeLocation)
The location of the Oracle Database Home.DbHomeSummary.Builder
dbSystemId(String dbSystemId)
The OCID of the DB system.DbHomeSummary.Builder
dbVersion(String dbVersion)
The Oracle Database version.DbHomeSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DbHomeSummary.Builder
displayName(String displayName)
The user-provided name for the Database Home.DbHomeSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.DbHomeSummary.Builder
id(String id)
The OCID of the Database Home.DbHomeSummary.Builder
isUnifiedAuditingEnabled(Boolean isUnifiedAuditingEnabled)
Indicates whether unified autiding is enabled or not.DbHomeSummary.Builder
kmsKeyId(String kmsKeyId)
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.DbHomeSummary.Builder
lastPatchHistoryEntryId(String lastPatchHistoryEntryId)
The OCID of the last patch history.DbHomeSummary.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.DbHomeSummary.Builder
lifecycleState(DbHomeSummary.LifecycleState lifecycleState)
The current state of the Database Home.DbHomeSummary.Builder
oneOffPatches(List<String> oneOffPatches)
List of one-off patches for Database Homes.DbHomeSummary.Builder
timeCreated(Date timeCreated)
The date and time the Database Home was created.DbHomeSummary.Builder
vmClusterId(String vmClusterId)
The OCID of the VM cluster.
-
-
-
Method Detail
-
id
public DbHomeSummary.Builder id(String id)
The OCID of the Database Home.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public DbHomeSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public DbHomeSummary.Builder displayName(String displayName)
The user-provided name for the Database Home.The name does not need to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
lastPatchHistoryEntryId
public DbHomeSummary.Builder lastPatchHistoryEntryId(String lastPatchHistoryEntryId)
The OCID of the last patch history.This value is updated as soon as a patch operation is started.
- Parameters:
lastPatchHistoryEntryId
- the value to set- Returns:
- this builder
-
lifecycleState
public DbHomeSummary.Builder lifecycleState(DbHomeSummary.LifecycleState lifecycleState)
The current state of the Database Home.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
dbSystemId
public DbHomeSummary.Builder dbSystemId(String dbSystemId)
The OCID of the DB system.- Parameters:
dbSystemId
- the value to set- Returns:
- this builder
-
vmClusterId
public DbHomeSummary.Builder vmClusterId(String vmClusterId)
The OCID of the VM cluster.- Parameters:
vmClusterId
- the value to set- Returns:
- this builder
-
dbVersion
public DbHomeSummary.Builder dbVersion(String dbVersion)
The Oracle Database version.- Parameters:
dbVersion
- the value to set- Returns:
- this builder
-
dbHomeLocation
public DbHomeSummary.Builder dbHomeLocation(String dbHomeLocation)
The location of the Oracle Database Home.- Parameters:
dbHomeLocation
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DbHomeSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public DbHomeSummary.Builder timeCreated(Date timeCreated)
The date and time the Database Home was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
kmsKeyId
public DbHomeSummary.Builder kmsKeyId(String kmsKeyId)
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
oneOffPatches
public DbHomeSummary.Builder oneOffPatches(List<String> oneOffPatches)
List of one-off patches for Database Homes.- Parameters:
oneOffPatches
- the value to set- Returns:
- this builder
-
freeformTags
public DbHomeSummary.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 DbHomeSummary.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
-
databaseSoftwareImageId
public DbHomeSummary.Builder databaseSoftwareImageId(String databaseSoftwareImageId)
The database software image OCID- Parameters:
databaseSoftwareImageId
- the value to set- Returns:
- this builder
-
isUnifiedAuditingEnabled
public DbHomeSummary.Builder isUnifiedAuditingEnabled(Boolean isUnifiedAuditingEnabled)
Indicates whether unified autiding is enabled or not.- Parameters:
isUnifiedAuditingEnabled
- the value to set- Returns:
- this builder
-
build
public DbHomeSummary build()
-
copy
public DbHomeSummary.Builder copy(DbHomeSummary model)
-
-