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.ExplicitlySetBmcModelSummary 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 SummaryNested Classes Modifier and Type Class Description static classDatabasesSummary.Builderstatic classDatabasesSummary.DatabaseTypeDatabase type.static classDatabasesSummary.LifecycleStateThe current state of the database.
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabasesSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<AdditionalPatches>getAdditionalPatches()List of additional patches on database.StringgetCurrentPatchWatermark()This is the hashcode representing the list of patches applied.StringgetDatabaseId()Database ocid.StringgetDatabaseName()Database name.DatabasesSummary.DatabaseTypegetDatabaseType()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.StringgetHostOrCluster()For SI, hosted on host and for RAC, host on cluster.ImageDetailsgetImageDetails()DatabasesSummary.LifecycleStategetLifecycleState()The current state of the database.StringgetOracleHomePath()Path to the Oracle home.PatchActivityDetailsgetPatchActivityDetails()PatchComplianceDetailsgetPatchComplianceDetails()StringgetPatchUser()Intermediate user to be used for patching, created and maintained by customers.StringgetRelease()Database release.StringgetReleaseFullVersion()Database release full version.StringgetSudoFilePath()Path to sudo binary (executable) fileMap<String,Map<String,Object>>getSystemTags()System tags for this resource.ObjectgetVulnerabilitiesSummary()Summary of vulnerabilities found in registered resources grouped by severity.inthashCode()DatabasesSummary.BuildertoBuilder()StringtoString()StringtoString(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- 
builderpublic static DatabasesSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic DatabasesSummary.Builder toBuilder() 
 - 
getDatabaseIdpublic String getDatabaseId() Database ocid.- Returns:
- the value
 
 - 
getDatabaseNamepublic String getDatabaseName() Database name.- Returns:
- the value
 
 - 
getDatabaseTypepublic DatabasesSummary.DatabaseType getDatabaseType() Database type.- Returns:
- the value
 
 - 
getReleasepublic String getRelease() Database release.- Returns:
- the value
 
 - 
getReleaseFullVersionpublic String getReleaseFullVersion() Database release full version.- Returns:
- the value
 
 - 
getOracleHomePathpublic String getOracleHomePath() Path to the Oracle home.- Returns:
- the value
 
 - 
getCurrentPatchWatermarkpublic String getCurrentPatchWatermark() This is the hashcode representing the list of patches applied.- Returns:
- the value
 
 - 
getHostOrClusterpublic String getHostOrCluster() For SI, hosted on host and for RAC, host on cluster.- Returns:
- the value
 
 - 
getImageDetailspublic ImageDetails getImageDetails() 
 - 
getPatchComplianceDetailspublic PatchComplianceDetails getPatchComplianceDetails() 
 - 
getPatchActivityDetailspublic PatchActivityDetails getPatchActivityDetails() 
 - 
getPatchUserpublic 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
 
 - 
getSudoFilePathpublic String getSudoFilePath() Path to sudo binary (executable) file- Returns:
- the value
 
 - 
getAdditionalPatchespublic List<AdditionalPatches> getAdditionalPatches() List of additional patches on database.- Returns:
- the value
 
 - 
getVulnerabilitiesSummarypublic Object getVulnerabilitiesSummary() Summary of vulnerabilities found in registered resources grouped by severity.- Returns:
- the value
 
 - 
getLifecycleStatepublic DatabasesSummary.LifecycleState getLifecycleState() The current state of the database.- Returns:
- the value
 
 - 
getFreeformTagspublic 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
 
 - 
getDefinedTagspublic 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
 
 - 
getSystemTagspublic 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-