Class DistributedAutonomousDatabaseSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.distributeddatabase.model.DistributedAutonomousDatabaseSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20250101") public final class DistributedAutonomousDatabaseSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelGlobally distributed autonomous database.
 Note: Objects should always be created or deserialized using theDistributedAutonomousDatabaseSummary.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 theDistributedAutonomousDatabaseSummary.Builder, which maintain a set of all explicitly set fields calledDistributedAutonomousDatabaseSummary.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 classDistributedAutonomousDatabaseSummary.Builderstatic classDistributedAutonomousDatabaseSummary.DbDeploymentTypeThe distributed autonomous database deployment type.
 - 
Constructor Summary
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributedAutonomousDatabaseSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCharacterSet()The character set for the database.IntegergetChunks()The default number of unique chunks in a shardspace.StringgetCompartmentId()The OCID of the Globally distributed autonomous database compartment.DistributedAutonomousDatabaseConnectionStringgetConnectionStrings()StringgetDatabaseVersion()Oracle Database version for the shards and catalog used in Globally distributed autonomous database.DistributedAutonomousDatabaseSummary.DbDeploymentTypegetDbDeploymentType()The distributed autonomous database deployment type.DistributedAutonomousDatabase.DbWorkloadgetDbWorkload()The workload type for the database.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()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.StringgetId()The OCID of the Globally distributed autonomous database.StringgetLifecycleDetails()The lifecycleDetails for the Globally distributed autonomous database.DistributedAutonomousDatabase.LifecycleStategetLifecycleState()Lifecycle state of sharded database.IntegergetListenerPort()The listener port number for the Globally distributed autonomous database.IntegergetListenerPortTls()The TLS listener port number for the Globally distributed autonomous database.DistributedAutonomousDbMetadatagetMetadata()StringgetNcharacterSet()The national character set for the database.IntegergetOnsPortLocal()Ons local port number for the Globally distributed autonomous database.IntegergetOnsPortRemote()Ons remote port number for the Globally distributed autonomous database.StringgetPrefix()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.IntegergetReplicationFactor()The Replication factor for RAFT replication based Globally distributed autonomous database.DistributedAutonomousDatabase.ReplicationMethodgetReplicationMethod()The Replication method for Globally distributed autonomous database.IntegergetReplicationUnit()For RAFT replication based Globally distributed autonomous database, the value should be atleast twice the number of shards.DistributedAutonomousDatabase.ShardingMethodgetShardingMethod()Sharding Methods for the Globally distributed autonomous database.Map<String,Map<String,Object>>getSystemTags()Usage of system tag keys.DategetTimeCreated()The time the Globally distributed autonomous database was created.DategetTimeUpdated()The time the Globally distributed autonomous database was last updated.inthashCode()DistributedAutonomousDatabaseSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DistributedAutonomousDatabaseSummary@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","dbDeploymentType","metadata","freeformTags","definedTags","systemTags"}) public DistributedAutonomousDatabaseSummary(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, DistributedAutonomousDatabaseSummary.DbDeploymentType dbDeploymentType, DistributedAutonomousDbMetadata metadata, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DistributedAutonomousDatabaseSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic DistributedAutonomousDatabaseSummary.Builder toBuilder() 
 - 
getIdpublic String getId() The OCID of the Globally distributed autonomous database.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the Globally distributed autonomous database compartment.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() The display name of the Globally distributed autonomous database.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The time the Globally distributed autonomous database was created.An RFC3339 formatted datetime string - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The time the Globally distributed autonomous database was last updated.An RFC3339 formatted datetime string - Returns:
- the value
 
 - 
getDatabaseVersionpublic String getDatabaseVersion() Oracle Database version for the shards and catalog used in Globally distributed autonomous database.- Returns:
- the value
 
 - 
getLifecycleStatepublic DistributedAutonomousDatabase.LifecycleState getLifecycleState() Lifecycle state of sharded database.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() The lifecycleDetails for the Globally distributed autonomous database.- Returns:
- the value
 
 - 
getConnectionStringspublic DistributedAutonomousDatabaseConnectionString getConnectionStrings() 
 - 
getPrefixpublic 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
 
 - 
getPrivateEndpointIdspublic List<String> getPrivateEndpointIds() The collection of OCID of the private endpoint associated with Globally distributed autonomous database.- Returns:
- the value
 
 - 
getShardingMethodpublic DistributedAutonomousDatabase.ShardingMethod getShardingMethod() Sharding Methods for the Globally distributed autonomous database.- Returns:
- the value
 
 - 
getDbWorkloadpublic DistributedAutonomousDatabase.DbWorkload getDbWorkload() The workload type for the database.- Returns:
- the value
 
 - 
getCharacterSetpublic String getCharacterSet() The character set for the database.- Returns:
- the value
 
 - 
getNcharacterSetpublic String getNcharacterSet() The national character set for the database.- Returns:
- the value
 
 - 
getChunkspublic 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
 
 - 
getListenerPortpublic Integer getListenerPort() The listener port number for the Globally distributed autonomous database.- Returns:
- the value
 
 - 
getListenerPortTlspublic Integer getListenerPortTls() The TLS listener port number for the Globally distributed autonomous database.- Returns:
- the value
 
 - 
getOnsPortLocalpublic Integer getOnsPortLocal() Ons local port number for the Globally distributed autonomous database.- Returns:
- the value
 
 - 
getOnsPortRemotepublic Integer getOnsPortRemote() Ons remote port number for the Globally distributed autonomous database.- Returns:
- the value
 
 - 
getReplicationMethodpublic 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
 
 - 
getReplicationFactorpublic Integer getReplicationFactor() The Replication factor for RAFT replication based Globally distributed autonomous database.Currently supported values are 3, 5 and 7. - Returns:
- the value
 
 - 
getReplicationUnitpublic Integer getReplicationUnit() For RAFT replication based Globally distributed autonomous database, the value should be atleast twice the number of shards.- Returns:
- the value
 
 - 
getDbDeploymentTypepublic DistributedAutonomousDatabaseSummary.DbDeploymentType getDbDeploymentType() The distributed autonomous database deployment type.- Returns:
- the value
 
 - 
getMetadatapublic DistributedAutonomousDbMetadata getMetadata() 
 - 
getFreeformTagspublic 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
 
 - 
getDefinedTagspublic 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
 
 - 
getSystemTagspublic 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
 
 - 
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
 
 
- 
 
-