Package com.oracle.bmc.dblm.model
Class DatabasesSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dblm.model.DatabasesSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20240102") public final class DatabasesSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of a databases.
Note: Objects should always be created or deserialized using theDatabasesSummary.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 theDatabasesSummary.Builder
, which maintain a set of all explicitly set fields calledDatabasesSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DatabasesSummary.Builder
static class
DatabasesSummary.DatabaseType
Database type.static class
DatabasesSummary.LifecycleState
The current state of the database.
-
Constructor Summary
Constructors Constructor Description DatabasesSummary(String databaseId, String databaseName, DatabasesSummary.DatabaseType databaseType, String release, String releaseFullVersion, String oracleHomePath, String currentPatchWatermark, String hostOrCluster, ImageDetails imageDetails, PatchComplianceDetails patchComplianceDetails, PatchActivityDetails patchActivityDetails, String patchUser, String sudoFilePath, List<AdditionalPatches> additionalPatches, Object vulnerabilitiesSummary, DatabasesSummary.LifecycleState lifecycleState, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabasesSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<AdditionalPatches>
getAdditionalPatches()
List of additional patches on database.String
getCurrentPatchWatermark()
This is the hashcode representing the list of patches applied.String
getDatabaseId()
Database ocid.String
getDatabaseName()
Database name.DatabasesSummary.DatabaseType
getDatabaseType()
Database type.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.Map<String,String>
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.String
getHostOrCluster()
For SI, hosted on host and for RAC, host on cluster.ImageDetails
getImageDetails()
DatabasesSummary.LifecycleState
getLifecycleState()
The current state of the database.String
getOracleHomePath()
Path to the Oracle home.PatchActivityDetails
getPatchActivityDetails()
PatchComplianceDetails
getPatchComplianceDetails()
String
getPatchUser()
Intermediate user to be used for patching, created and maintained by customers.String
getRelease()
Database release.String
getReleaseFullVersion()
Database release full version.String
getSudoFilePath()
Path to sudo binary (executable) fileMap<String,Map<String,Object>>
getSystemTags()
System tags for this resource.Object
getVulnerabilitiesSummary()
Summary of vulnerabilities found in registered resources grouped by severity.int
hashCode()
DatabasesSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DatabasesSummary
@Deprecated @ConstructorProperties({"databaseId","databaseName","databaseType","release","releaseFullVersion","oracleHomePath","currentPatchWatermark","hostOrCluster","imageDetails","patchComplianceDetails","patchActivityDetails","patchUser","sudoFilePath","additionalPatches","vulnerabilitiesSummary","lifecycleState","freeformTags","definedTags","systemTags"}) public DatabasesSummary(String databaseId, String databaseName, DatabasesSummary.DatabaseType databaseType, String release, String releaseFullVersion, String oracleHomePath, String currentPatchWatermark, String hostOrCluster, ImageDetails imageDetails, PatchComplianceDetails patchComplianceDetails, PatchActivityDetails patchActivityDetails, String patchUser, String sudoFilePath, List<AdditionalPatches> additionalPatches, Object vulnerabilitiesSummary, DatabasesSummary.LifecycleState lifecycleState, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static DatabasesSummary.Builder builder()
Create a new builder.
-
toBuilder
public DatabasesSummary.Builder toBuilder()
-
getDatabaseId
public String getDatabaseId()
Database ocid.- Returns:
- the value
-
getDatabaseName
public String getDatabaseName()
Database name.- Returns:
- the value
-
getDatabaseType
public DatabasesSummary.DatabaseType getDatabaseType()
Database type.- Returns:
- the value
-
getRelease
public String getRelease()
Database release.- Returns:
- the value
-
getReleaseFullVersion
public String getReleaseFullVersion()
Database release full version.- Returns:
- the value
-
getOracleHomePath
public String getOracleHomePath()
Path to the Oracle home.- Returns:
- the value
-
getCurrentPatchWatermark
public String getCurrentPatchWatermark()
This is the hashcode representing the list of patches applied.- Returns:
- the value
-
getHostOrCluster
public String getHostOrCluster()
For SI, hosted on host and for RAC, host on cluster.- Returns:
- the value
-
getImageDetails
public ImageDetails getImageDetails()
-
getPatchComplianceDetails
public PatchComplianceDetails getPatchComplianceDetails()
-
getPatchActivityDetails
public PatchActivityDetails getPatchActivityDetails()
-
getPatchUser
public String getPatchUser()
Intermediate user to be used for patching, created and maintained by customers.This user requires sudo access to switch as Oracle home owner and root user
- Returns:
- the value
-
getSudoFilePath
public String getSudoFilePath()
Path to sudo binary (executable) file- Returns:
- the value
-
getAdditionalPatches
public List<AdditionalPatches> getAdditionalPatches()
List of additional patches on database.- Returns:
- the value
-
getVulnerabilitiesSummary
public Object getVulnerabilitiesSummary()
Summary of vulnerabilities found in registered resources grouped by severity.- Returns:
- the value
-
getLifecycleState
public DatabasesSummary.LifecycleState getLifecycleState()
The current state of the database.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-