Package com.oracle.bmc.database.model
Class DbServerSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.DbServerSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbServerSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of the Db server.
 Note: Objects should always be created or deserialized using theDbServerSummary.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 theDbServerSummary.Builder, which maintain a set of all explicitly set fields calledDbServerSummary.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 classDbServerSummary.Builderstatic classDbServerSummary.ComputeModelThe compute model of the Autonomous AI Database.static classDbServerSummary.LifecycleStateThe current state of the Db server.
 - 
Constructor SummaryConstructors Constructor Description DbServerSummary(String id, String displayName, String compartmentId, String exadataInfrastructureId, Integer cpuCoreCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, List<String> vmClusterIds, List<String> autonomousVmClusterIds, List<String> autonomousVirtualMachineIds, List<String> dbNodeIds, String shape, DbServerSummary.LifecycleState lifecycleState, String lifecycleDetails, Integer maxCpuCount, Integer maxMemoryInGBs, Integer maxDbNodeStorageInGBs, Date timeCreated, DbServerPatchingDetails dbServerPatchingDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, DbServerSummary.ComputeModel computeModel)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbServerSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getAutonomousVirtualMachineIds()The list of OCIDs of the Autonomous Virtual Machines associated with the Db server.List<String>getAutonomousVmClusterIds()The list of OCIDs of the Autonomous VM Clusters associated with the Db server.StringgetCompartmentId()The OCID of the compartment.DbServerSummary.ComputeModelgetComputeModel()The compute model of the Autonomous AI Database.IntegergetCpuCoreCount()The number of CPU cores enabled on the Db server.List<String>getDbNodeIds()The OCID of the Db nodes associated with the Db server.IntegergetDbNodeStorageSizeInGBs()The allocated local node storage in GBs on the Db server.DbServerPatchingDetailsgetDbServerPatchingDetails()Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()The user-friendly name for the Db server.StringgetExadataInfrastructureId()The OCID of the Exadata infrastructure.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The OCID of the Db server.StringgetLifecycleDetails()Additional information about the current lifecycle state.DbServerSummary.LifecycleStategetLifecycleState()The current state of the Db server.IntegergetMaxCpuCount()The total number of CPU cores available.IntegergetMaxDbNodeStorageInGBs()The total local node storage available in GBs.IntegergetMaxMemoryInGBs()The total memory available in GBs.IntegergetMemorySizeInGBs()The allocated memory in GBs on the Db server.StringgetShape()The shape of the Db server.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeCreated()The date and time that the Db Server was created.List<String>getVmClusterIds()The OCID of the VM Clusters associated with the Db server.inthashCode()DbServerSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DbServerSummary@Deprecated @ConstructorProperties({"id","displayName","compartmentId","exadataInfrastructureId","cpuCoreCount","memorySizeInGBs","dbNodeStorageSizeInGBs","vmClusterIds","autonomousVmClusterIds","autonomousVirtualMachineIds","dbNodeIds","shape","lifecycleState","lifecycleDetails","maxCpuCount","maxMemoryInGBs","maxDbNodeStorageInGBs","timeCreated","dbServerPatchingDetails","freeformTags","definedTags","systemTags","computeModel"}) public DbServerSummary(String id, String displayName, String compartmentId, String exadataInfrastructureId, Integer cpuCoreCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, List<String> vmClusterIds, List<String> autonomousVmClusterIds, List<String> autonomousVirtualMachineIds, List<String> dbNodeIds, String shape, DbServerSummary.LifecycleState lifecycleState, String lifecycleDetails, Integer maxCpuCount, Integer maxMemoryInGBs, Integer maxDbNodeStorageInGBs, Date timeCreated, DbServerPatchingDetails dbServerPatchingDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, DbServerSummary.ComputeModel computeModel) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DbServerSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic DbServerSummary.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() The user-friendly name for the Db server.The name does not need to be unique. - Returns:
- the value
 
 - 
getExadataInfrastructureIdpublic String getExadataInfrastructureId() The OCID of the Exadata infrastructure.- Returns:
- the value
 
 - 
getCpuCoreCountpublic Integer getCpuCoreCount() The number of CPU cores enabled on the Db server.- Returns:
- the value
 
 - 
getMemorySizeInGBspublic Integer getMemorySizeInGBs() The allocated memory in GBs on the Db server.- Returns:
- the value
 
 - 
getDbNodeStorageSizeInGBspublic Integer getDbNodeStorageSizeInGBs() The allocated local node storage in GBs on the Db server.- Returns:
- the value
 
 - 
getVmClusterIdspublic List<String> getVmClusterIds() The OCID of the VM Clusters associated with the Db server.- Returns:
- the value
 
 - 
getAutonomousVmClusterIdspublic List<String> getAutonomousVmClusterIds() The list of OCIDs of the Autonomous VM Clusters associated with the Db server.- Returns:
- the value
 
 - 
getAutonomousVirtualMachineIdspublic List<String> getAutonomousVirtualMachineIds() The list of OCIDs of the Autonomous Virtual Machines associated with the Db server.- Returns:
- the value
 
 - 
getDbNodeIdspublic List<String> getDbNodeIds() The OCID of the Db nodes associated with the Db server.- Returns:
- the value
 
 - 
getShapepublic String getShape() The shape of the Db server.The shape determines the amount of CPU, storage, and memory resources available. - Returns:
- the value
 
 - 
getLifecycleStatepublic DbServerSummary.LifecycleState getLifecycleState() The current state of the Db server.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() Additional information about the current lifecycle state.- Returns:
- the value
 
 - 
getMaxCpuCountpublic Integer getMaxCpuCount() The total number of CPU cores available.- Returns:
- the value
 
 - 
getMaxMemoryInGBspublic Integer getMaxMemoryInGBs() The total memory available in GBs.- Returns:
- the value
 
 - 
getMaxDbNodeStorageInGBspublic Integer getMaxDbNodeStorageInGBs() The total local node storage available in GBs.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time that the Db Server was created.- Returns:
- the value
 
 - 
getDbServerPatchingDetailspublic DbServerPatchingDetails getDbServerPatchingDetails() 
 - 
getFreeformTagspublic 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"} - Returns:
- the value
 
 - 
getDefinedTagspublic 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. - Returns:
- the value
 
 - 
getSystemTagspublic Map<String,Map<String,Object>> getSystemTags() System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Returns:
- the value
 
 - 
getComputeModelpublic DbServerSummary.ComputeModel getComputeModel() The compute model of the Autonomous AI Database.This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy. - 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
 
 
- 
 
-