@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbHomeSummary extends Object
A directory where Oracle Database software is installed. A bare metal or Exadata DB system can have multiple Database Homes and each Database Home can run a different supported version of Oracle Database. A virtual machine DB system can have only one Database Home. For more information, see Bare Metal and Virtual Machine DB Systems and Exadata DB Systems.
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
*Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Note: Objects should always be created or deserialized using the DbHomeSummary.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the DbHomeSummary.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
DbHomeSummary.Builder |
static class |
DbHomeSummary.LifecycleState
The current state of the Database Home.
|
Constructor and Description |
---|
DbHomeSummary(String id,
String compartmentId,
String displayName,
String lastPatchHistoryEntryId,
DbHomeSummary.LifecycleState lifecycleState,
String dbSystemId,
String vmClusterId,
String dbVersion,
String dbHomeLocation,
String lifecycleDetails,
Date timeCreated,
List<String> oneOffPatches,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DbHomeSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the compartment.
|
String |
getDbHomeLocation()
The location of the Oracle Database Home.
|
String |
getDbSystemId()
The OCID of the DB system.
|
String |
getDbVersion()
The Oracle Database version.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
The user-provided name for the Database Home.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getId()
The OCID of the Database Home.
|
String |
getLastPatchHistoryEntryId()
The OCID of the last patch history.
|
String |
getLifecycleDetails()
Additional information about the current lifecycleState.
|
DbHomeSummary.LifecycleState |
getLifecycleState()
The current state of the Database Home.
|
List<String> |
getOneOffPatches()
List of one-off patches for Database Homes.
|
Date |
getTimeCreated()
The date and time the Database Home was created.
|
String |
getVmClusterId()
The OCID of the VM cluster.
|
int |
hashCode() |
DbHomeSummary.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","displayName","lastPatchHistoryEntryId","lifecycleState","dbSystemId","vmClusterId","dbVersion","dbHomeLocation","lifecycleDetails","timeCreated","oneOffPatches","freeformTags","definedTags"}) @Deprecated public DbHomeSummary(String id, String compartmentId, String displayName, String lastPatchHistoryEntryId, DbHomeSummary.LifecycleState lifecycleState, String dbSystemId, String vmClusterId, String dbVersion, String dbHomeLocation, String lifecycleDetails, Date timeCreated, List<String> oneOffPatches, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static DbHomeSummary.Builder builder()
Create a new builder.
public DbHomeSummary.Builder toBuilder()
public String getDisplayName()
The user-provided name for the Database Home. The name does not need to be unique.
public String getLastPatchHistoryEntryId()
The OCID of the last patch history. This value is updated as soon as a patch operation is started.
public DbHomeSummary.LifecycleState getLifecycleState()
The current state of the Database Home.
public String getDbVersion()
The Oracle Database version.
public String getDbHomeLocation()
The location of the Oracle Database Home.
public String getLifecycleDetails()
Additional information about the current lifecycleState.
public Date getTimeCreated()
The date and time the Database Home was created.
public Map<String,String> getFreeformTags()
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\"}`
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Copyright © 2016–2020. All rights reserved.