Package com.oracle.bmc.database.model
Class AutonomousVirtualMachine
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.AutonomousVirtualMachine
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousVirtualMachine extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAutonomous Virtual Machine details.
 Note: Objects should always be created or deserialized using theAutonomousVirtualMachine.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 theAutonomousVirtualMachine.Builder, which maintain a set of all explicitly set fields calledAutonomousVirtualMachine.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 classAutonomousVirtualMachine.Builderstatic classAutonomousVirtualMachine.LifecycleStateThe current state of the Autonomous Virtual Machine.
 - 
Constructor SummaryConstructors Constructor Description AutonomousVirtualMachine(String id, String vmName, String dbServerId, String dbServerDisplayName, Integer cpuCoreCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, AutonomousVirtualMachine.LifecycleState lifecycleState, String clientIpAddress, String compartmentId, String autonomousVmClusterId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String cloudAutonomousVmClusterId)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutonomousVirtualMachine.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAutonomousVmClusterId()The OCID of the Autonomous VM Cluster associated with the Autonomous Virtual Machine.StringgetClientIpAddress()Client IP Address.StringgetCloudAutonomousVmClusterId()The OCID of the Cloud Autonomous VM Cluster associated with the Autonomous Virtual Machine.StringgetCompartmentId()The OCID of the compartment.IntegergetCpuCoreCount()The number of CPU cores enabled on the Autonomous Virtual Machine.IntegergetDbNodeStorageSizeInGBs()The allocated local node storage in GBs on the Autonomous Virtual Machine.StringgetDbServerDisplayName()The display name of the dbServer associated with the Autonomous Virtual Machine.StringgetDbServerId()The OCID of the Db server associated with the Autonomous Virtual Machine.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The OCID of the Autonomous Virtual Machine.AutonomousVirtualMachine.LifecycleStategetLifecycleState()The current state of the Autonomous Virtual Machine.IntegergetMemorySizeInGBs()The allocated memory in GBs on the Autonomous Virtual Machine.StringgetVmName()The name of the Autonomous Virtual Machine.inthashCode()AutonomousVirtualMachine.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
AutonomousVirtualMachine@Deprecated @ConstructorProperties({"id","vmName","dbServerId","dbServerDisplayName","cpuCoreCount","memorySizeInGBs","dbNodeStorageSizeInGBs","lifecycleState","clientIpAddress","compartmentId","autonomousVmClusterId","freeformTags","definedTags","cloudAutonomousVmClusterId"}) public AutonomousVirtualMachine(String id, String vmName, String dbServerId, String dbServerDisplayName, Integer cpuCoreCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, AutonomousVirtualMachine.LifecycleState lifecycleState, String clientIpAddress, String compartmentId, String autonomousVmClusterId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String cloudAutonomousVmClusterId) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static AutonomousVirtualMachine.Builder builder() Create a new builder.
 - 
toBuilderpublic AutonomousVirtualMachine.Builder toBuilder() 
 - 
getVmNamepublic String getVmName() The name of the Autonomous Virtual Machine.- Returns:
- the value
 
 - 
getDbServerIdpublic String getDbServerId() The OCID of the Db server associated with the Autonomous Virtual Machine.- Returns:
- the value
 
 - 
getDbServerDisplayNamepublic String getDbServerDisplayName() The display name of the dbServer associated with the Autonomous Virtual Machine.- Returns:
- the value
 
 - 
getCpuCoreCountpublic Integer getCpuCoreCount() The number of CPU cores enabled on the Autonomous Virtual Machine.- Returns:
- the value
 
 - 
getMemorySizeInGBspublic Integer getMemorySizeInGBs() The allocated memory in GBs on the Autonomous Virtual Machine.- Returns:
- the value
 
 - 
getDbNodeStorageSizeInGBspublic Integer getDbNodeStorageSizeInGBs() The allocated local node storage in GBs on the Autonomous Virtual Machine.- Returns:
- the value
 
 - 
getLifecycleStatepublic AutonomousVirtualMachine.LifecycleState getLifecycleState() The current state of the Autonomous Virtual Machine.- Returns:
- the value
 
 - 
getClientIpAddresspublic String getClientIpAddress() Client IP Address.- Returns:
- the value
 
 - 
getAutonomousVmClusterIdpublic String getAutonomousVmClusterId() The OCID of the Autonomous VM Cluster associated with the Autonomous Virtual Machine.- Returns:
- the value
 
 - 
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
 
 - 
getCloudAutonomousVmClusterIdpublic String getCloudAutonomousVmClusterId() The OCID of the Cloud Autonomous VM Cluster associated with the Autonomous Virtual Machine.- 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
 
 
- 
 
-