Class CreateDistributedDatabaseDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.distributeddatabasev26.model.CreateDistributedDatabaseDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20260101") public final class CreateDistributedDatabaseDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails required for creation of the Globally distributed database.
Note: Objects should always be created or deserialized using theCreateDistributedDatabaseDetails.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 theCreateDistributedDatabaseDetails.Builder, which maintain a set of all explicitly set fields calledCreateDistributedDatabaseDetails.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 classCreateDistributedDatabaseDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateDistributedDatabaseDetails(String compartmentId, String displayName, String databaseVersion, String prefix, List<String> privateEndpointIds, List<String> notificationTopicIds, String characterSet, String ncharacterSet, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, Integer scanListenerPort, Integer systemChunkCount, Integer systemRaftReplicationUnitCount, List<CreateCompositeRaftShardSpaceDetails> compositeRaftShardSpaces, List<CreateCompositeDataGuardShardSpaceDetails> compositeDataGuardShardSpaces, List<CreateSystemRaftClusterDetails> systemRaftClusters, CreateSystemDataGuardDatabaseDetails systemDataGuardDatabases, List<CreateUserShardSpaceDetails> userShardSpaces, List<CreateDistributedDatabaseCatalogDetails> catalogDetails, String gsmSshPublicKey, DistributedDbBackupConfig dbBackupConfig, List<VcnNsgIdsDetails> vcnNsgIds, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDistributedDatabaseDetails.Builderbuilder()Create a new builder.booleanequals(Object o)List<CreateDistributedDatabaseCatalogDetails>getCatalogDetails()Collection of catalog details for the Globally distributed database.StringgetCharacterSet()The character set for the database.StringgetCompartmentId()The OCID of the Globally distributed database compartment.List<CreateCompositeDataGuardShardSpaceDetails>getCompositeDataGuardShardSpaces()Collection of composite data guard shard spaces.List<CreateCompositeRaftShardSpaceDetails>getCompositeRaftShardSpaces()Collection of composite raft shards.StringgetDatabaseVersion()Oracle Database version for the shards and catalog used in Globally distributed database.DistributedDbBackupConfiggetDbBackupConfig()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.StringgetGsmSshPublicKey()The SSH public key for Global service manager instances.IntegergetListenerPort()The listener port number for the Globally distributed database.IntegergetListenerPortTls()The TLS listener port number for the Globally distributed database.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()The ons local port number for the Globally distributed database.IntegergetOnsPortRemote()The ons remote port number for the Globally distributed database.StringgetPrefix()Unique name prefix for the Globally distributed databases.List<String>getPrivateEndpointIds()The collection of OCID of the private endpoints associated with the Globally distributed database.IntegergetScanListenerPort()TCP SCAN listener port for new clusters to be created.IntegergetSystemChunkCount()Count of chunks associated with system raft clusters or system data guard databases.CreateSystemDataGuardDatabaseDetailsgetSystemDataGuardDatabases()List<CreateSystemRaftClusterDetails>getSystemRaftClusters()Collection of system raft clusters.IntegergetSystemRaftReplicationUnitCount()Number of replication units associated with system raft clusters.List<CreateUserShardSpaceDetails>getUserShardSpaces()Collection of user defined shard spaces.List<VcnNsgIdsDetails>getVcnNsgIds()The list of network security group (NSG) details to be associated with the distributed database.inthashCode()CreateDistributedDatabaseDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateDistributedDatabaseDetails
@Deprecated @ConstructorProperties({"compartmentId","displayName","databaseVersion","prefix","privateEndpointIds","notificationTopicIds","characterSet","ncharacterSet","listenerPort","listenerPortTls","onsPortLocal","onsPortRemote","scanListenerPort","systemChunkCount","systemRaftReplicationUnitCount","compositeRaftShardSpaces","compositeDataGuardShardSpaces","systemRaftClusters","systemDataGuardDatabases","userShardSpaces","catalogDetails","gsmSshPublicKey","dbBackupConfig","vcnNsgIds","freeformTags","definedTags"}) public CreateDistributedDatabaseDetails(String compartmentId, String displayName, String databaseVersion, String prefix, List<String> privateEndpointIds, List<String> notificationTopicIds, String characterSet, String ncharacterSet, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, Integer scanListenerPort, Integer systemChunkCount, Integer systemRaftReplicationUnitCount, List<CreateCompositeRaftShardSpaceDetails> compositeRaftShardSpaces, List<CreateCompositeDataGuardShardSpaceDetails> compositeDataGuardShardSpaces, List<CreateSystemRaftClusterDetails> systemRaftClusters, CreateSystemDataGuardDatabaseDetails systemDataGuardDatabases, List<CreateUserShardSpaceDetails> userShardSpaces, List<CreateDistributedDatabaseCatalogDetails> catalogDetails, String gsmSshPublicKey, DistributedDbBackupConfig dbBackupConfig, List<VcnNsgIdsDetails> vcnNsgIds, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDistributedDatabaseDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateDistributedDatabaseDetails.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
-
getDatabaseVersion
public String getDatabaseVersion()
Oracle Database version for the shards and catalog used in Globally distributed database.- Returns:
- the value
-
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 endpoints associated with the Globally distributed 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
-
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 listener port number for the Globally distributed database.The listener port number has to be unique for a customer tenancy across all distributed databases. Same port number should not be re-used for any other distributed database.
- Returns:
- the value
-
getListenerPortTls
public Integer getListenerPortTls()
The TLS listener port number for the Globally distributed database.The TLS listener port number has to be unique for a customer tenancy across all distributed databases. Same port number should not be re-used for any other distributed database. For EXADB based distributed databases, tls is not supported hence the listenerPortTls is not needed to be provided in create payload.
- Returns:
- the value
-
getOnsPortLocal
public Integer getOnsPortLocal()
The ons local port number for the Globally distributed database.The onsPortLocal has to be unique for a customer tenancy across all distributed databases. Same port number should not be re-used for any other distributed database.
- Returns:
- the value
-
getOnsPortRemote
public Integer getOnsPortRemote()
The ons remote port number for the Globally distributed database.The onsPortRemote has to be unique for a customer tenancy across all distributed databases. Same port number should not be re-used for any other distributed database.
- Returns:
- the value
-
getScanListenerPort
public Integer getScanListenerPort()
TCP SCAN listener port for new clusters to be created.Applicable only when shard and catalog source types are XS_NEW_VAULT_AND_CLUSTER or XS_NEW_CLUSTER. Defaults to 1521 when not provided.
- 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<CreateCompositeRaftShardSpaceDetails> getCompositeRaftShardSpaces()
Collection of composite raft shards.- Returns:
- the value
-
getCompositeDataGuardShardSpaces
public List<CreateCompositeDataGuardShardSpaceDetails> getCompositeDataGuardShardSpaces()
Collection of composite data guard shard spaces.- Returns:
- the value
-
getSystemRaftClusters
public List<CreateSystemRaftClusterDetails> getSystemRaftClusters()
Collection of system raft clusters.- Returns:
- the value
-
getSystemDataGuardDatabases
public CreateSystemDataGuardDatabaseDetails getSystemDataGuardDatabases()
-
getUserShardSpaces
public List<CreateUserShardSpaceDetails> getUserShardSpaces()
Collection of user defined shard spaces.- Returns:
- the value
-
getCatalogDetails
public List<CreateDistributedDatabaseCatalogDetails> getCatalogDetails()
Collection of catalog details for the Globally distributed database.- Returns:
- the value
-
getGsmSshPublicKey
public String getGsmSshPublicKey()
The SSH public key for Global service manager instances.- Returns:
- the value
-
getDbBackupConfig
public DistributedDbBackupConfig getDbBackupConfig()
-
getVcnNsgIds
public List<VcnNsgIdsDetails> getVcnNsgIds()
The list of network security group (NSG) details to be associated with the distributed database.- Returns:
- the value
-
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
-
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
-
-