Package com.oracle.bmc.psql.model
Class DbInstance
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.psql.model.DbInstance
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220915") public final class DbInstance extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelInformation about a database instance node.
 Note: Objects should always be created or deserialized using theDbInstance.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 theDbInstance.Builder, which maintain a set of all explicitly set fields calledDbInstance.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 classDbInstance.Builderstatic classDbInstance.LifecycleStateThe current state of the database instance node.
 - 
Constructor SummaryConstructors Constructor Description DbInstance(String id, String displayName, String description, String availabilityDomain, DbInstance.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbInstance.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAvailabilityDomain()The availability domain in which the database instance node is located.StringgetDescription()Description of the database instance node.StringgetDisplayName()A user-friendly display name for the database instance node.StringgetId()A unique identifier for the database instance node.StringgetLifecycleDetails()A message describing the current state in more detail.DbInstance.LifecycleStategetLifecycleState()The current state of the database instance node.DategetTimeCreated()The date and time that the database instance node was created, expressed in RFC 3339 timestamp format.DategetTimeUpdated()The date and time that the database instance node was updated, expressed in RFC 3339 timestamp format.inthashCode()DbInstance.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DbInstance@Deprecated @ConstructorProperties({"id","displayName","description","availabilityDomain","lifecycleState","lifecycleDetails","timeCreated","timeUpdated"}) public DbInstance(String id, String displayName, String description, String availabilityDomain, DbInstance.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DbInstance.Builder builder() Create a new builder.
 - 
toBuilderpublic DbInstance.Builder toBuilder() 
 - 
getIdpublic String getId() A unique identifier for the database instance node.Immutable on creation. - Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly display name for the database instance node.Avoid entering confidential information. - Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Description of the database instance node.- Returns:
- the value
 
 - 
getAvailabilityDomainpublic String getAvailabilityDomain() The availability domain in which the database instance node is located.- Returns:
- the value
 
 - 
getLifecycleStatepublic DbInstance.LifecycleState getLifecycleState() The current state of the database instance node.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state. - Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time that the database instance node was created, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The date and time that the database instance node was updated, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z - 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
 
 
- 
 
-