Class CreateDistributedDatabaseDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabasev26.model.CreateDistributedDatabaseDetails.Builder
-
- Enclosing class:
- CreateDistributedDatabaseDetails
public static class CreateDistributedDatabaseDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDistributedDatabaseDetailsbuild()CreateDistributedDatabaseDetails.BuildercatalogDetails(List<CreateDistributedDatabaseCatalogDetails> catalogDetails)Collection of catalog details for the Globally distributed database.CreateDistributedDatabaseDetails.BuildercharacterSet(String characterSet)The character set for the database.CreateDistributedDatabaseDetails.BuildercompartmentId(String compartmentId)The OCID of the Globally distributed database compartment.CreateDistributedDatabaseDetails.BuildercompositeDataGuardShardSpaces(List<CreateCompositeDataGuardShardSpaceDetails> compositeDataGuardShardSpaces)Collection of composite data guard shard spaces.CreateDistributedDatabaseDetails.BuildercompositeRaftShardSpaces(List<CreateCompositeRaftShardSpaceDetails> compositeRaftShardSpaces)Collection of composite raft shards.CreateDistributedDatabaseDetails.Buildercopy(CreateDistributedDatabaseDetails model)CreateDistributedDatabaseDetails.BuilderdatabaseVersion(String databaseVersion)Oracle Database version for the shards and catalog used in Globally distributed database.CreateDistributedDatabaseDetails.BuilderdbBackupConfig(DistributedDbBackupConfig dbBackupConfig)CreateDistributedDatabaseDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateDistributedDatabaseDetails.BuilderdisplayName(String displayName)The display name of the Globally distributed database.CreateDistributedDatabaseDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateDistributedDatabaseDetails.BuildergsmSshPublicKey(String gsmSshPublicKey)The SSH public key for Global service manager instances.CreateDistributedDatabaseDetails.BuilderlistenerPort(Integer listenerPort)The listener port number for the Globally distributed database.CreateDistributedDatabaseDetails.BuilderlistenerPortTls(Integer listenerPortTls)The TLS listener port number for the Globally distributed database.CreateDistributedDatabaseDetails.BuilderncharacterSet(String ncharacterSet)The national character set for the database.CreateDistributedDatabaseDetails.BuildernotificationTopicIds(List<String> notificationTopicIds)The collection of OCID for the notification topics associated with the globally distributed database.CreateDistributedDatabaseDetails.BuilderonsPortLocal(Integer onsPortLocal)The ons local port number for the Globally distributed database.CreateDistributedDatabaseDetails.BuilderonsPortRemote(Integer onsPortRemote)The ons remote port number for the Globally distributed database.CreateDistributedDatabaseDetails.Builderprefix(String prefix)Unique name prefix for the Globally distributed databases.CreateDistributedDatabaseDetails.BuilderprivateEndpointIds(List<String> privateEndpointIds)The collection of OCID of the private endpoints associated with the Globally distributed database.CreateDistributedDatabaseDetails.BuilderscanListenerPort(Integer scanListenerPort)TCP SCAN listener port for new clusters to be created.CreateDistributedDatabaseDetails.BuildersystemChunkCount(Integer systemChunkCount)Count of chunks associated with system raft clusters or system data guard databases.CreateDistributedDatabaseDetails.BuildersystemDataGuardDatabases(CreateSystemDataGuardDatabaseDetails systemDataGuardDatabases)CreateDistributedDatabaseDetails.BuildersystemRaftClusters(List<CreateSystemRaftClusterDetails> systemRaftClusters)Collection of system raft clusters.CreateDistributedDatabaseDetails.BuildersystemRaftReplicationUnitCount(Integer systemRaftReplicationUnitCount)Number of replication units associated with system raft clusters.CreateDistributedDatabaseDetails.BuilderuserShardSpaces(List<CreateUserShardSpaceDetails> userShardSpaces)Collection of user defined shard spaces.CreateDistributedDatabaseDetails.BuildervcnNsgIds(List<VcnNsgIdsDetails> vcnNsgIds)The list of network security group (NSG) details to be associated with the distributed database.
-
-
-
Method Detail
-
compartmentId
public CreateDistributedDatabaseDetails.Builder compartmentId(String compartmentId)
The OCID of the Globally distributed database compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public CreateDistributedDatabaseDetails.Builder displayName(String displayName)
The display name of the Globally distributed database.- Parameters:
displayName- the value to set- Returns:
- this builder
-
databaseVersion
public CreateDistributedDatabaseDetails.Builder databaseVersion(String databaseVersion)
Oracle Database version for the shards and catalog used in Globally distributed database.- Parameters:
databaseVersion- the value to set- Returns:
- this builder
-
prefix
public CreateDistributedDatabaseDetails.Builder prefix(String prefix)
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.
- Parameters:
prefix- the value to set- Returns:
- this builder
-
privateEndpointIds
public CreateDistributedDatabaseDetails.Builder privateEndpointIds(List<String> privateEndpointIds)
The collection of OCID of the private endpoints associated with the Globally distributed database.- Parameters:
privateEndpointIds- the value to set- Returns:
- this builder
-
notificationTopicIds
public CreateDistributedDatabaseDetails.Builder notificationTopicIds(List<String> notificationTopicIds)
The collection of OCID for the notification topics associated with the globally distributed database.- Parameters:
notificationTopicIds- the value to set- Returns:
- this builder
-
characterSet
public CreateDistributedDatabaseDetails.Builder characterSet(String characterSet)
The character set for the database.- Parameters:
characterSet- the value to set- Returns:
- this builder
-
ncharacterSet
public CreateDistributedDatabaseDetails.Builder ncharacterSet(String ncharacterSet)
The national character set for the database.- Parameters:
ncharacterSet- the value to set- Returns:
- this builder
-
listenerPort
public CreateDistributedDatabaseDetails.Builder listenerPort(Integer listenerPort)
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.
- Parameters:
listenerPort- the value to set- Returns:
- this builder
-
listenerPortTls
public CreateDistributedDatabaseDetails.Builder listenerPortTls(Integer listenerPortTls)
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.
- Parameters:
listenerPortTls- the value to set- Returns:
- this builder
-
onsPortLocal
public CreateDistributedDatabaseDetails.Builder onsPortLocal(Integer onsPortLocal)
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.
- Parameters:
onsPortLocal- the value to set- Returns:
- this builder
-
onsPortRemote
public CreateDistributedDatabaseDetails.Builder onsPortRemote(Integer onsPortRemote)
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.
- Parameters:
onsPortRemote- the value to set- Returns:
- this builder
-
scanListenerPort
public CreateDistributedDatabaseDetails.Builder scanListenerPort(Integer scanListenerPort)
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.
- Parameters:
scanListenerPort- the value to set- Returns:
- this builder
-
systemChunkCount
public CreateDistributedDatabaseDetails.Builder systemChunkCount(Integer systemChunkCount)
Count of chunks associated with system raft clusters or system data guard databases.- Parameters:
systemChunkCount- the value to set- Returns:
- this builder
-
systemRaftReplicationUnitCount
public CreateDistributedDatabaseDetails.Builder systemRaftReplicationUnitCount(Integer systemRaftReplicationUnitCount)
Number of replication units associated with system raft clusters.- Parameters:
systemRaftReplicationUnitCount- the value to set- Returns:
- this builder
-
compositeRaftShardSpaces
public CreateDistributedDatabaseDetails.Builder compositeRaftShardSpaces(List<CreateCompositeRaftShardSpaceDetails> compositeRaftShardSpaces)
Collection of composite raft shards.- Parameters:
compositeRaftShardSpaces- the value to set- Returns:
- this builder
-
compositeDataGuardShardSpaces
public CreateDistributedDatabaseDetails.Builder compositeDataGuardShardSpaces(List<CreateCompositeDataGuardShardSpaceDetails> compositeDataGuardShardSpaces)
Collection of composite data guard shard spaces.- Parameters:
compositeDataGuardShardSpaces- the value to set- Returns:
- this builder
-
systemRaftClusters
public CreateDistributedDatabaseDetails.Builder systemRaftClusters(List<CreateSystemRaftClusterDetails> systemRaftClusters)
Collection of system raft clusters.- Parameters:
systemRaftClusters- the value to set- Returns:
- this builder
-
systemDataGuardDatabases
public CreateDistributedDatabaseDetails.Builder systemDataGuardDatabases(CreateSystemDataGuardDatabaseDetails systemDataGuardDatabases)
-
userShardSpaces
public CreateDistributedDatabaseDetails.Builder userShardSpaces(List<CreateUserShardSpaceDetails> userShardSpaces)
Collection of user defined shard spaces.- Parameters:
userShardSpaces- the value to set- Returns:
- this builder
-
catalogDetails
public CreateDistributedDatabaseDetails.Builder catalogDetails(List<CreateDistributedDatabaseCatalogDetails> catalogDetails)
Collection of catalog details for the Globally distributed database.- Parameters:
catalogDetails- the value to set- Returns:
- this builder
-
gsmSshPublicKey
public CreateDistributedDatabaseDetails.Builder gsmSshPublicKey(String gsmSshPublicKey)
The SSH public key for Global service manager instances.- Parameters:
gsmSshPublicKey- the value to set- Returns:
- this builder
-
dbBackupConfig
public CreateDistributedDatabaseDetails.Builder dbBackupConfig(DistributedDbBackupConfig dbBackupConfig)
-
vcnNsgIds
public CreateDistributedDatabaseDetails.Builder vcnNsgIds(List<VcnNsgIdsDetails> vcnNsgIds)
The list of network security group (NSG) details to be associated with the distributed database.- Parameters:
vcnNsgIds- the value to set- Returns:
- this builder
-
freeformTags
public CreateDistributedDatabaseDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public CreateDistributedDatabaseDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CreateDistributedDatabaseDetails build()
-
copy
public CreateDistributedDatabaseDetails.Builder copy(CreateDistributedDatabaseDetails model)
-
-