Class CreateDistributedAutonomousDatabaseDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabasev26.model.CreateDistributedAutonomousDatabaseDetails.Builder
-
- Enclosing class:
- CreateDistributedAutonomousDatabaseDetails
public static class CreateDistributedAutonomousDatabaseDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateDistributedAutonomousDatabaseDetails.Builder compartmentId(String compartmentId)
The OCID of the Globally distributed autonomous database compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public CreateDistributedAutonomousDatabaseDetails.Builder displayName(String displayName)
The display name of the Globally distributed autonomous database.- Parameters:
displayName- the value to set- Returns:
- this builder
-
databaseVersion
public CreateDistributedAutonomousDatabaseDetails.Builder databaseVersion(String databaseVersion)
Oracle Database version for the shards and catalog used in Globally distributed autonomous database.- Parameters:
databaseVersion- the value to set- Returns:
- this builder
-
prefix
public CreateDistributedAutonomousDatabaseDetails.Builder prefix(String prefix)
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.
- Parameters:
prefix- the value to set- Returns:
- this builder
-
privateEndpointIds
public CreateDistributedAutonomousDatabaseDetails.Builder privateEndpointIds(List<String> privateEndpointIds)
The collection of OCID of the private endpoint associated with Globally distributed autonomous database.- Parameters:
privateEndpointIds- the value to set- Returns:
- this builder
-
notificationTopicIds
public CreateDistributedAutonomousDatabaseDetails.Builder notificationTopicIds(List<String> notificationTopicIds)
The collection of OCID for the notification topics associated with the globally distributed autonomous database.- Parameters:
notificationTopicIds- the value to set- Returns:
- this builder
-
dbWorkloadType
public CreateDistributedAutonomousDatabaseDetails.Builder dbWorkloadType(CreateDistributedAutonomousDatabaseDetails.DbWorkloadType dbWorkloadType)
Possible workload types.Currently only OLTP workload type is supported.
- Parameters:
dbWorkloadType- the value to set- Returns:
- this builder
-
characterSet
public CreateDistributedAutonomousDatabaseDetails.Builder characterSet(String characterSet)
The character set for the database.- Parameters:
characterSet- the value to set- Returns:
- this builder
-
ncharacterSet
public CreateDistributedAutonomousDatabaseDetails.Builder ncharacterSet(String ncharacterSet)
The national character set for the database.- Parameters:
ncharacterSet- the value to set- Returns:
- this builder
-
listenerPort
public CreateDistributedAutonomousDatabaseDetails.Builder listenerPort(Integer listenerPort)
The listener port number for the Globally distributed autonomous database.The listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database.
- Parameters:
listenerPort- the value to set- Returns:
- this builder
-
listenerPortTls
public CreateDistributedAutonomousDatabaseDetails.Builder listenerPortTls(Integer listenerPortTls)
The TLS listener port number for Globally distributed autonomous database.The TLS listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. The listenerPortTls is mandatory for dedicated infrastructure based distributed autonomous databases.
- Parameters:
listenerPortTls- the value to set- Returns:
- this builder
-
onsPortLocal
public CreateDistributedAutonomousDatabaseDetails.Builder onsPortLocal(Integer onsPortLocal)
Ons local port number for Globally distributed autonomous database.The onsPortLocal has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database.
- Parameters:
onsPortLocal- the value to set- Returns:
- this builder
-
onsPortRemote
public CreateDistributedAutonomousDatabaseDetails.Builder onsPortRemote(Integer onsPortRemote)
Ons remote port number for Globally distributed autonomous database.The onsPortRemote has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database.
- Parameters:
onsPortRemote- the value to set- Returns:
- this builder
-
systemChunkCount
public CreateDistributedAutonomousDatabaseDetails.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 CreateDistributedAutonomousDatabaseDetails.Builder systemRaftReplicationUnitCount(Integer systemRaftReplicationUnitCount)
Number of replication units associated with system raft clusters.- Parameters:
systemRaftReplicationUnitCount- the value to set- Returns:
- this builder
-
compositeRaftShardSpaces
public CreateDistributedAutonomousDatabaseDetails.Builder compositeRaftShardSpaces(List<CreateAutonomousCompositeRaftShardSpaceDetails> compositeRaftShardSpaces)
Collection of composite raft shards.- Parameters:
compositeRaftShardSpaces- the value to set- Returns:
- this builder
-
compositeDataGuardShardSpaces
public CreateDistributedAutonomousDatabaseDetails.Builder compositeDataGuardShardSpaces(List<CreateAutonomousCompositeDataGuardShardSpaceDetails> compositeDataGuardShardSpaces)
Collection of composite data guard shard spaces.- Parameters:
compositeDataGuardShardSpaces- the value to set- Returns:
- this builder
-
systemRaftClusters
public CreateDistributedAutonomousDatabaseDetails.Builder systemRaftClusters(List<CreateAutonomousSystemRaftClusterDetails> systemRaftClusters)
Collection of system raft clusters.- Parameters:
systemRaftClusters- the value to set- Returns:
- this builder
-
systemDataGuardDatabases
public CreateDistributedAutonomousDatabaseDetails.Builder systemDataGuardDatabases(CreateAutonomousSystemDataGuardDatabaseDetails systemDataGuardDatabases)
-
userShardSpaces
public CreateDistributedAutonomousDatabaseDetails.Builder userShardSpaces(List<CreateAutonomousUserShardSpaceDetails> userShardSpaces)
Collection of user defined shard spaces.- Parameters:
userShardSpaces- the value to set- Returns:
- this builder
-
catalogDetails
public CreateDistributedAutonomousDatabaseDetails.Builder catalogDetails(List<CreateAutonomousCatalogDetails> catalogDetails)
Collection of catalog for the Globally distributed autonomous database.- Parameters:
catalogDetails- the value to set- Returns:
- this builder
-
dbBackupConfig
public CreateDistributedAutonomousDatabaseDetails.Builder dbBackupConfig(DistributedAutonomousDbBackupConfig dbBackupConfig)
-
vcnNsgIds
public CreateDistributedAutonomousDatabaseDetails.Builder vcnNsgIds(List<VcnNsgIdsDetails> vcnNsgIds)
The list of network security group (NSG) details to be associated with the distributed autonomous database.- Parameters:
vcnNsgIds- the value to set- Returns:
- this builder
-
freeformTags
public CreateDistributedAutonomousDatabaseDetails.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 CreateDistributedAutonomousDatabaseDetails.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 CreateDistributedAutonomousDatabaseDetails build()
-
copy
public CreateDistributedAutonomousDatabaseDetails.Builder copy(CreateDistributedAutonomousDatabaseDetails model)
-
-