Class CreateDedicatedShardDetail.Builder
- java.lang.Object
-
- com.oracle.bmc.globallydistributeddatabase.model.CreateDedicatedShardDetail.Builder
-
- Enclosing class:
- CreateDedicatedShardDetail
public static class CreateDedicatedShardDetail.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
encryptionKeyDetails
public CreateDedicatedShardDetail.Builder encryptionKeyDetails(DedicatedShardOrCatalogEncryptionKeyDetails encryptionKeyDetails)
-
adminPassword
public CreateDedicatedShardDetail.Builder adminPassword(String adminPassword)
Admin password for shard database.- Parameters:
adminPassword
- the value to set- Returns:
- this builder
-
computeCount
public CreateDedicatedShardDetail.Builder computeCount(Float computeCount)
The compute count for the shard database.It has to be in multiples of 2.
- Parameters:
computeCount
- the value to set- Returns:
- this builder
-
dataStorageSizeInGbs
public CreateDedicatedShardDetail.Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs)
The data disk group size to be allocated in GBs for the shard database.- Parameters:
dataStorageSizeInGbs
- the value to set- Returns:
- this builder
-
shardSpace
public CreateDedicatedShardDetail.Builder shardSpace(String shardSpace)
The shard space name for the shard database.Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required.
- Parameters:
shardSpace
- the value to set- Returns:
- this builder
-
isAutoScalingEnabled
public CreateDedicatedShardDetail.Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled)
Determines the auto-scaling mode for the shard database.- Parameters:
isAutoScalingEnabled
- the value to set- Returns:
- this builder
-
cloudAutonomousVmClusterId
public CreateDedicatedShardDetail.Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId)
The OCID of the cloud Autonomous Exadata VM Cluster.- Parameters:
cloudAutonomousVmClusterId
- the value to set- Returns:
- this builder
-
peerCloudAutonomousVmClusterId
public CreateDedicatedShardDetail.Builder peerCloudAutonomousVmClusterId(String peerCloudAutonomousVmClusterId)
The OCID of the peer cloud Autonomous Exadata VM Cluster.- Parameters:
peerCloudAutonomousVmClusterId
- the value to set- Returns:
- this builder
-
build
public CreateDedicatedShardDetail build()
-
copy
public CreateDedicatedShardDetail.Builder copy(CreateDedicatedShardDetail model)
-
-