@Generated(value="OracleSDKGenerator", comments="API Version: 20220915") public final class DbInstance extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Information about a database instance node.
Note: Objects should always be created or deserialized using the DbInstance.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 the DbInstance.Builder
, which maintain a
set of all explicitly set fields called DbInstance.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
DbInstance.Builder |
static class |
DbInstance.LifecycleState
The current state of the database instance node.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DbInstance(String id,
String displayName,
String description,
String availabilityDomain,
DbInstance.LifecycleState lifecycleState,
String lifecycleDetails,
Date timeCreated,
Date timeUpdated)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DbInstance.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAvailabilityDomain()
The availability domain in which the database instance node is located.
|
String |
getDescription()
Description of the database instance node.
|
String |
getDisplayName()
A user-friendly display name for the database instance node.
|
String |
getId()
A unique identifier for the database instance node.
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
DbInstance.LifecycleState |
getLifecycleState()
The current state of the database instance node.
|
Date |
getTimeCreated()
The date and time that the database instance node was created, expressed in RFC
3339 timestamp format.
|
Date |
getTimeUpdated()
The date and time that the database instance node was updated, expressed in RFC
3339 timestamp format.
|
int |
hashCode() |
DbInstance.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static DbInstance.Builder builder()
Create a new builder.
public DbInstance.Builder toBuilder()
public String getId()
A unique identifier for the database instance node. Immutable on creation.
public String getDisplayName()
A user-friendly display name for the database instance node. Avoid entering confidential information.
public String getDescription()
Description of the database instance node.
public String getAvailabilityDomain()
The availability domain in which the database instance node is located.
public DbInstance.LifecycleState getLifecycleState()
The current state of the database instance node.
public 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.
public 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
public 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
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.