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 DbHomeSummarybuild()DbHomeSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.DbHomeSummary.Buildercopy(DbHomeSummary model)DbHomeSummary.BuilderdatabaseSoftwareImageId(String databaseSoftwareImageId)The database software image OCIDDbHomeSummary.BuilderdbHomeLocation(String dbHomeLocation)The location of the Oracle Database Home.DbHomeSummary.BuilderdbSystemId(String dbSystemId)The OCID of the DB system.DbHomeSummary.BuilderdbVersion(String dbVersion)The Oracle Database version.DbHomeSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DbHomeSummary.BuilderdisplayName(String displayName)The user-provided name for the Database Home.DbHomeSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DbHomeSummary.Builderid(String id)The OCID of the Database Home.DbHomeSummary.BuilderisUnifiedAuditingEnabled(Boolean isUnifiedAuditingEnabled)Indicates whether unified autiding is enabled or not.DbHomeSummary.BuilderkmsKeyId(String kmsKeyId)The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.DbHomeSummary.BuilderlastPatchHistoryEntryId(String lastPatchHistoryEntryId)The OCID of the last patch history.DbHomeSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.DbHomeSummary.BuilderlifecycleState(DbHomeSummary.LifecycleState lifecycleState)The current state of the Database Home.DbHomeSummary.BuilderoneOffPatches(List<String> oneOffPatches)List of one-off patches for Database Homes.DbHomeSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DbHomeSummary.BuildertimeCreated(Date timeCreated)The date and time the Database Home was created.DbHomeSummary.BuildervmClusterId(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
-
systemTags
public DbHomeSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
systemTags- 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)
-
-