Class DistributedAutonomousDatabase
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.distributeddatabase.model.DistributedAutonomousDatabase
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20250101") public final class DistributedAutonomousDatabase extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Globally distributed autonomous database.
Note: Objects should always be created or deserialized using theDistributedAutonomousDatabase.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 theDistributedAutonomousDatabase.Builder
, which maintain a set of all explicitly set fields calledDistributedAutonomousDatabase.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 Summary
Nested Classes Modifier and Type Class Description static class
DistributedAutonomousDatabase.Builder
static class
DistributedAutonomousDatabase.DbDeploymentType
The distributed autonomous database deployment type.static class
DistributedAutonomousDatabase.DbWorkload
Possible workload types.static class
DistributedAutonomousDatabase.LifecycleState
Lifecycle states for the Globally distributed autonomous database.static class
DistributedAutonomousDatabase.ReplicationMethod
The Replication method for Globally distributed autonomous database.static class
DistributedAutonomousDatabase.ShardingMethod
Sharding Methods for the Globally distributed autonomous database.
-
Constructor Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributedAutonomousDatabase.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<DistributedAutonomousDatabaseCatalog>
getCatalogDetails()
Collection of catalogs associated with the Globally distributed autonomous database.String
getCharacterSet()
The character set for the database.Integer
getChunks()
The default number of unique chunks in a shardspace.String
getCompartmentId()
The OCID of the Globally distributed autonomous database compartment.DistributedAutonomousDatabaseConnectionString
getConnectionStrings()
String
getDatabaseVersion()
Oracle Database version for the shards and catalog used in Globally distributed autonomous database.DistributedAutonomousDatabase.DbDeploymentType
getDbDeploymentType()
The distributed autonomous database deployment type.DistributedAutonomousDatabase.DbWorkload
getDbWorkload()
Possible workload types.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDisplayName()
The display name of the Globally distributed autonomous database.Map<String,String>
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.List<DistributedAutonomousDatabaseGsm>
getGsmDetails()
Collection of catalogs associated with the Globally distributed autonomous database.String
getId()
The OCID of the Globally distributed autonomous database.DistributedAutonomousDatabaseGsmImage
getLatestGsmImage()
String
getLifecycleDetails()
The lifecycleDetails for the Globally distributed autonomous database.DistributedAutonomousDatabase.LifecycleState
getLifecycleState()
Lifecycle states for the Globally distributed autonomous database.Integer
getListenerPort()
The listener port number for the Globally distributed autonomous database.Integer
getListenerPortTls()
The TLS listener port number for Globally distributed autonomous database.DistributedAutonomousDbMetadata
getMetadata()
String
getNcharacterSet()
The national character set for the database.Integer
getOnsPortLocal()
Ons local port number for Globally distributed autonomous database.Integer
getOnsPortRemote()
Ons remote port number for Globally distributed autonomous database.String
getPrefix()
Unique name prefix for the Globally distributed autonomous databases.List<String>
getPrivateEndpointIds()
The collection of OCID of the private endpoint associated with Globally distributed autonomous database.Integer
getReplicationFactor()
The Replication factor for RAFT replication based Globally distributed autonomous database.DistributedAutonomousDatabase.ReplicationMethod
getReplicationMethod()
The Replication method for Globally distributed autonomous database.Integer
getReplicationUnit()
For RAFT replication based Globally distributed autonomous database, the value should be atleast twice the number of shards.List<DistributedAutonomousDatabaseShard>
getShardDetails()
Collection of shards associated with the Globally distributed autonomous database.DistributedAutonomousDatabase.ShardingMethod
getShardingMethod()
Sharding Methods for the Globally distributed autonomous database.Map<String,Map<String,Object>>
getSystemTags()
Usage of system tag keys.Date
getTimeCreated()
The time the Globally distributed autonomous database was created.Date
getTimeUpdated()
The time the Globally distributed autonomous database was last updated.int
hashCode()
DistributedAutonomousDatabase.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DistributedAutonomousDatabase
@Deprecated @ConstructorProperties({"id","compartmentId","displayName","timeCreated","timeUpdated","databaseVersion","lifecycleState","lifecycleDetails","connectionStrings","prefix","privateEndpointIds","shardingMethod","dbWorkload","characterSet","ncharacterSet","chunks","listenerPort","listenerPortTls","onsPortLocal","onsPortRemote","replicationMethod","replicationFactor","replicationUnit","latestGsmImage","dbDeploymentType","shardDetails","catalogDetails","gsmDetails","metadata","freeformTags","definedTags","systemTags"}) public DistributedAutonomousDatabase(String id, String compartmentId, String displayName, Date timeCreated, Date timeUpdated, String databaseVersion, DistributedAutonomousDatabase.LifecycleState lifecycleState, String lifecycleDetails, DistributedAutonomousDatabaseConnectionString connectionStrings, String prefix, List<String> privateEndpointIds, DistributedAutonomousDatabase.ShardingMethod shardingMethod, DistributedAutonomousDatabase.DbWorkload dbWorkload, String characterSet, String ncharacterSet, Integer chunks, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, DistributedAutonomousDatabase.ReplicationMethod replicationMethod, Integer replicationFactor, Integer replicationUnit, DistributedAutonomousDatabaseGsmImage latestGsmImage, DistributedAutonomousDatabase.DbDeploymentType dbDeploymentType, List<DistributedAutonomousDatabaseShard> shardDetails, List<DistributedAutonomousDatabaseCatalog> catalogDetails, List<DistributedAutonomousDatabaseGsm> gsmDetails, DistributedAutonomousDbMetadata metadata, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static DistributedAutonomousDatabase.Builder builder()
Create a new builder.
-
toBuilder
public DistributedAutonomousDatabase.Builder toBuilder()
-
getId
public String getId()
The OCID of the Globally distributed autonomous database.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the Globally distributed autonomous database compartment.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The display name of the Globally distributed autonomous database.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time the Globally distributed autonomous database was created.An RFC3339 formatted datetime string
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time the Globally distributed autonomous database was last updated.An RFC3339 formatted datetime string
- Returns:
- the value
-
getDatabaseVersion
public String getDatabaseVersion()
Oracle Database version for the shards and catalog used in Globally distributed autonomous database.- Returns:
- the value
-
getLifecycleState
public DistributedAutonomousDatabase.LifecycleState getLifecycleState()
Lifecycle states for the Globally distributed autonomous database.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
The lifecycleDetails for the Globally distributed autonomous database.- Returns:
- the value
-
getConnectionStrings
public DistributedAutonomousDatabaseConnectionString getConnectionStrings()
-
getPrefix
public String getPrefix()
Unique name prefix for the Globally distributed autonomous databases.Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.
- Returns:
- the value
-
getPrivateEndpointIds
public List<String> getPrivateEndpointIds()
The collection of OCID of the private endpoint associated with Globally distributed autonomous database.- Returns:
- the value
-
getShardingMethod
public DistributedAutonomousDatabase.ShardingMethod getShardingMethod()
Sharding Methods for the Globally distributed autonomous database.- Returns:
- the value
-
getDbWorkload
public DistributedAutonomousDatabase.DbWorkload getDbWorkload()
Possible workload types.- Returns:
- the value
-
getCharacterSet
public String getCharacterSet()
The character set for the database.- Returns:
- the value
-
getNcharacterSet
public String getNcharacterSet()
The national character set for the database.- Returns:
- the value
-
getChunks
public Integer getChunks()
The default number of unique chunks in a shardspace.The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.
- Returns:
- the value
-
getListenerPort
public Integer getListenerPort()
The listener port number for the Globally distributed autonomous database.- Returns:
- the value
-
getListenerPortTls
public Integer getListenerPortTls()
The TLS listener port number for Globally distributed autonomous database.- Returns:
- the value
-
getOnsPortLocal
public Integer getOnsPortLocal()
Ons local port number for Globally distributed autonomous database.- Returns:
- the value
-
getOnsPortRemote
public Integer getOnsPortRemote()
Ons remote port number for Globally distributed autonomous database.- Returns:
- the value
-
getReplicationMethod
public DistributedAutonomousDatabase.ReplicationMethod getReplicationMethod()
The Replication method for Globally distributed autonomous database.Use RAFT for Raft replication, and DG for DataGuard. If replicationMethod is not provided, it defaults to DG.
- Returns:
- the value
-
getReplicationFactor
public Integer getReplicationFactor()
The Replication factor for RAFT replication based Globally distributed autonomous database.Currently supported values are 3, 5 and 7.
- Returns:
- the value
-
getReplicationUnit
public Integer getReplicationUnit()
For RAFT replication based Globally distributed autonomous database, the value should be atleast twice the number of shards.- Returns:
- the value
-
getLatestGsmImage
public DistributedAutonomousDatabaseGsmImage getLatestGsmImage()
-
getDbDeploymentType
public DistributedAutonomousDatabase.DbDeploymentType getDbDeploymentType()
The distributed autonomous database deployment type.- Returns:
- the value
-
getShardDetails
public List<DistributedAutonomousDatabaseShard> getShardDetails()
Collection of shards associated with the Globally distributed autonomous database.- Returns:
- the value
-
getCatalogDetails
public List<DistributedAutonomousDatabaseCatalog> getCatalogDetails()
Collection of catalogs associated with the Globally distributed autonomous database.- Returns:
- the value
-
getGsmDetails
public List<DistributedAutonomousDatabaseGsm> getGsmDetails()
Collection of catalogs associated with the Globally distributed autonomous database.- Returns:
- the value
-
getMetadata
public DistributedAutonomousDbMetadata getMetadata()
-
getFreeformTags
public 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
-
getDefinedTags
public 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
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-