Class DistributedDatabase
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.distributeddatabasev26.model.DistributedDatabase
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20260101") public final class DistributedDatabase extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelGlobally distributed database.
Note: Objects should always be created or deserialized using theDistributedDatabase.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 theDistributedDatabase.Builder, which maintain a set of all explicitly set fields calledDistributedDatabase.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 classDistributedDatabase.Builderstatic classDistributedDatabase.DbDeploymentTypeThe distributed database deployment type.static classDistributedDatabase.LifecycleStateLifecycle states for the Globally distributed database.static classDistributedDatabase.ReplicationMethodThe Replication method for Globally distributed database.static classDistributedDatabase.ShardingMethodSharding methods for the Globally distributed database.
-
Constructor Summary
Constructors Constructor Description DistributedDatabase(String id, String compartmentId, String displayName, Date timeCreated, Date timeUpdated, String databaseVersion, DistributedDatabase.LifecycleState lifecycleState, DistributedDatabase.ShardingMethod shardingMethod, DistributedDatabase.ReplicationMethod replicationMethod, DistributedDatabase.DbDeploymentType dbDeploymentType, String lifecycleDetails, DistributedDbConnectionString connectionStrings, String prefix, List<String> privateEndpointIds, List<String> notificationTopicIds, DistributedDbGsmImage latestGsmImageDetails, String characterSet, String ncharacterSet, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, Integer scanListenerPort, Integer systemChunkCount, Integer systemRaftReplicationUnitCount, List<CompositeRaftShardSpace> compositeRaftShardSpaces, List<CompositeDataGuardShardSpace> compositeDataGuardShardSpaces, List<SystemRaftCluster> systemRaftClusters, SystemDataGuardDatabase systemDataGuardDatabases, List<UserShardSpace> userShardSpaces, List<DistributedDatabaseCatalog> catalogDetails, List<DistributedDatabaseGsm> gsmDetails, List<DistributedDatabaseGdsControlNode> gdsControlNodeDetails, DistributedDbBackupConfig dbBackupConfig, AutoResourceManagementConfigurationDetails autoResourceManagementConfig, String gsmSshPublicKey, List<VcnNsgIdsDetails> vcnNsgIds, DistributedDbMetadata metadata, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributedDatabase.Builderbuilder()Create a new builder.booleanequals(Object o)AutoResourceManagementConfigurationDetailsgetAutoResourceManagementConfig()List<DistributedDatabaseCatalog>getCatalogDetails()Catalog details associated with the distributed database.StringgetCharacterSet()The character set for the database.StringgetCompartmentId()The OCID of the Globally distributed database compartment.List<CompositeDataGuardShardSpace>getCompositeDataGuardShardSpaces()Collection of composite data guard shard spaces.List<CompositeRaftShardSpace>getCompositeRaftShardSpaces()Collection of composite raft shards.DistributedDbConnectionStringgetConnectionStrings()StringgetDatabaseVersion()Oracle Database version for the shards and catalog used in Globally distributed database.DistributedDbBackupConfiggetDbBackupConfig()DistributedDatabase.DbDeploymentTypegetDbDeploymentType()The distributed database deployment type.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()The display name of the Globally distributed database.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.List<DistributedDatabaseGdsControlNode>getGdsControlNodeDetails()Global Database Services Control(GDS CTL) instances associated with the distributed database.List<DistributedDatabaseGsm>getGsmDetails()Global Service Manager (GSM) instances associated with the distributed database.StringgetGsmSshPublicKey()The SSH public key for Global service manager instances.StringgetId()The OCID of the Globally distributed database.DistributedDbGsmImagegetLatestGsmImageDetails()StringgetLifecycleDetails()The lifecycleDetails for the Globally distributed database.DistributedDatabase.LifecycleStategetLifecycleState()Lifecycle states for the Globally distributed database.IntegergetListenerPort()The Global service manager listener port number for the Globally distributed database.IntegergetListenerPortTls()The TLS listener port number for Globally distributed database.DistributedDbMetadatagetMetadata()StringgetNcharacterSet()The national character set for the database.List<String>getNotificationTopicIds()The collection of OCID for the notification topics associated with the globally distributed database.IntegergetOnsPortLocal()Ons local port number.IntegergetOnsPortRemote()Ons remote port number.StringgetPrefix()Unique name prefix for the Globally distributed databases.List<String>getPrivateEndpointIds()The collection of OCID of the private endpoint associated with Globally distributed autonomous database.DistributedDatabase.ReplicationMethodgetReplicationMethod()The Replication method for Globally distributed database.IntegergetScanListenerPort()The TCP SCAN listener port for database clusters with source type XS_NEW_VAULT_AND_CLUSTER or XS_NEW_CLUSTER.DistributedDatabase.ShardingMethodgetShardingMethod()Sharding methods for the Globally distributed database.IntegergetSystemChunkCount()Count of chunks associated with system raft clusters or system data guard databases.SystemDataGuardDatabasegetSystemDataGuardDatabases()List<SystemRaftCluster>getSystemRaftClusters()Collection of system raft clusters.IntegergetSystemRaftReplicationUnitCount()Number of replication units associated with system raft clusters.Map<String,Map<String,Object>>getSystemTags()Usage of system tag keys.DategetTimeCreated()The time the Globally distributed database was created.DategetTimeUpdated()The time the Globally distributed database was last updated.List<UserShardSpace>getUserShardSpaces()Collection of user defined shard spaces.List<VcnNsgIdsDetails>getVcnNsgIds()The list of network security group (NSG) details associated with the distributed database.inthashCode()DistributedDatabase.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DistributedDatabase
@Deprecated @ConstructorProperties({"id","compartmentId","displayName","timeCreated","timeUpdated","databaseVersion","lifecycleState","shardingMethod","replicationMethod","dbDeploymentType","lifecycleDetails","connectionStrings","prefix","privateEndpointIds","notificationTopicIds","latestGsmImageDetails","characterSet","ncharacterSet","listenerPort","listenerPortTls","onsPortLocal","onsPortRemote","scanListenerPort","systemChunkCount","systemRaftReplicationUnitCount","compositeRaftShardSpaces","compositeDataGuardShardSpaces","systemRaftClusters","systemDataGuardDatabases","userShardSpaces","catalogDetails","gsmDetails","gdsControlNodeDetails","dbBackupConfig","autoResourceManagementConfig","gsmSshPublicKey","vcnNsgIds","metadata","freeformTags","definedTags","systemTags"}) public DistributedDatabase(String id, String compartmentId, String displayName, Date timeCreated, Date timeUpdated, String databaseVersion, DistributedDatabase.LifecycleState lifecycleState, DistributedDatabase.ShardingMethod shardingMethod, DistributedDatabase.ReplicationMethod replicationMethod, DistributedDatabase.DbDeploymentType dbDeploymentType, String lifecycleDetails, DistributedDbConnectionString connectionStrings, String prefix, List<String> privateEndpointIds, List<String> notificationTopicIds, DistributedDbGsmImage latestGsmImageDetails, String characterSet, String ncharacterSet, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, Integer scanListenerPort, Integer systemChunkCount, Integer systemRaftReplicationUnitCount, List<CompositeRaftShardSpace> compositeRaftShardSpaces, List<CompositeDataGuardShardSpace> compositeDataGuardShardSpaces, List<SystemRaftCluster> systemRaftClusters, SystemDataGuardDatabase systemDataGuardDatabases, List<UserShardSpace> userShardSpaces, List<DistributedDatabaseCatalog> catalogDetails, List<DistributedDatabaseGsm> gsmDetails, List<DistributedDatabaseGdsControlNode> gdsControlNodeDetails, DistributedDbBackupConfig dbBackupConfig, AutoResourceManagementConfigurationDetails autoResourceManagementConfig, String gsmSshPublicKey, List<VcnNsgIdsDetails> vcnNsgIds, DistributedDbMetadata metadata, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static DistributedDatabase.Builder builder()
Create a new builder.
-
toBuilder
public DistributedDatabase.Builder toBuilder()
-
getCompartmentId
public String getCompartmentId()
The OCID of the Globally distributed database compartment.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The display name of the Globally distributed database.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time the Globally distributed database was created.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time the Globally distributed 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 database.- Returns:
- the value
-
getLifecycleState
public DistributedDatabase.LifecycleState getLifecycleState()
Lifecycle states for the Globally distributed database.- Returns:
- the value
-
getShardingMethod
public DistributedDatabase.ShardingMethod getShardingMethod()
Sharding methods for the Globally distributed database.- Returns:
- the value
-
getReplicationMethod
public DistributedDatabase.ReplicationMethod getReplicationMethod()
The Replication method for Globally distributed database.Use RAFT for Raft based replication. With RAFT replication, shards cannot have peers details set on them. In case shards need to have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or without peers), please set replicationMethod as DG or do not set any value for replicationMethod.
- Returns:
- the value
-
getDbDeploymentType
public DistributedDatabase.DbDeploymentType getDbDeploymentType()
The distributed database deployment type.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
The lifecycleDetails for the Globally distributed database.- Returns:
- the value
-
getConnectionStrings
public DistributedDbConnectionString getConnectionStrings()
-
getPrefix
public String getPrefix()
Unique name prefix for the Globally distributed 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
-
getNotificationTopicIds
public List<String> getNotificationTopicIds()
The collection of OCID for the notification topics associated with the globally distributed database.- Returns:
- the value
-
getLatestGsmImageDetails
public DistributedDbGsmImage getLatestGsmImageDetails()
-
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
-
getListenerPort
public Integer getListenerPort()
The Global service manager listener port number for the Globally distributed database.- Returns:
- the value
-
getListenerPortTls
public Integer getListenerPortTls()
The TLS listener port number for Globally distributed database.- Returns:
- the value
-
getOnsPortLocal
public Integer getOnsPortLocal()
Ons local port number.- Returns:
- the value
-
getOnsPortRemote
public Integer getOnsPortRemote()
Ons remote port number.- Returns:
- the value
-
getScanListenerPort
public Integer getScanListenerPort()
The TCP SCAN listener port for database clusters with source type XS_NEW_VAULT_AND_CLUSTER or XS_NEW_CLUSTER.- Returns:
- the value
-
getSystemChunkCount
public Integer getSystemChunkCount()
Count of chunks associated with system raft clusters or system data guard databases.- Returns:
- the value
-
getSystemRaftReplicationUnitCount
public Integer getSystemRaftReplicationUnitCount()
Number of replication units associated with system raft clusters.- Returns:
- the value
-
getCompositeRaftShardSpaces
public List<CompositeRaftShardSpace> getCompositeRaftShardSpaces()
Collection of composite raft shards.- Returns:
- the value
-
getCompositeDataGuardShardSpaces
public List<CompositeDataGuardShardSpace> getCompositeDataGuardShardSpaces()
Collection of composite data guard shard spaces.- Returns:
- the value
-
getSystemRaftClusters
public List<SystemRaftCluster> getSystemRaftClusters()
Collection of system raft clusters.- Returns:
- the value
-
getSystemDataGuardDatabases
public SystemDataGuardDatabase getSystemDataGuardDatabases()
-
getUserShardSpaces
public List<UserShardSpace> getUserShardSpaces()
Collection of user defined shard spaces.- Returns:
- the value
-
getCatalogDetails
public List<DistributedDatabaseCatalog> getCatalogDetails()
Catalog details associated with the distributed database.- Returns:
- the value
-
getGsmDetails
public List<DistributedDatabaseGsm> getGsmDetails()
Global Service Manager (GSM) instances associated with the distributed database.- Returns:
- the value
-
getGdsControlNodeDetails
public List<DistributedDatabaseGdsControlNode> getGdsControlNodeDetails()
Global Database Services Control(GDS CTL) instances associated with the distributed database.- Returns:
- the value
-
getDbBackupConfig
public DistributedDbBackupConfig getDbBackupConfig()
-
getAutoResourceManagementConfig
public AutoResourceManagementConfigurationDetails getAutoResourceManagementConfig()
-
getGsmSshPublicKey
public String getGsmSshPublicKey()
The SSH public key for Global service manager instances.- Returns:
- the value
-
getVcnNsgIds
public List<VcnNsgIdsDetails> getVcnNsgIds()
The list of network security group (NSG) details associated with the distributed database.- Returns:
- the value
-
getMetadata
public DistributedDbMetadata 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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-