Class DistributedDatabaseShardWithExadbXs.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.DistributedDatabaseShardWithExadbXs.Builder
-
- Enclosing class:
- DistributedDatabaseShardWithExadbXs
public static class DistributedDatabaseShardWithExadbXs.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
public DistributedDatabaseShardWithExadbXs.Builder name(String name)
-
timeCreated
public DistributedDatabaseShardWithExadbXs.Builder timeCreated(Date timeCreated)
-
timeUpdated
public DistributedDatabaseShardWithExadbXs.Builder timeUpdated(Date timeUpdated)
-
dbHomeId
public DistributedDatabaseShardWithExadbXs.Builder dbHomeId(String dbHomeId)
The OCID of the Database Home.- Parameters:
dbHomeId
- the value to set- Returns:
- this builder
-
shardGroup
public DistributedDatabaseShardWithExadbXs.Builder shardGroup(String shardGroup)
The name of the shardGroup for the shard.- Parameters:
shardGroup
- the value to set- Returns:
- this builder
-
vmClusterId
public DistributedDatabaseShardWithExadbXs.Builder vmClusterId(String vmClusterId)
The OCID of the VmCluster.- Parameters:
vmClusterId
- the value to set- Returns:
- this builder
-
shardSpace
public DistributedDatabaseShardWithExadbXs.Builder shardSpace(String shardSpace)
The shard space name for the Globally distributed database.Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards.
- Parameters:
shardSpace
- the value to set- Returns:
- this builder
-
vaultId
public DistributedDatabaseShardWithExadbXs.Builder vaultId(String vaultId)
The OCID of the Oracle Cloud Infrastructure vault.This parameter and kmsKeyId are required for Customer Managed Keys.
- Parameters:
vaultId
- the value to set- Returns:
- this builder
-
kmsKeyId
public DistributedDatabaseShardWithExadbXs.Builder kmsKeyId(String kmsKeyId)
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
kmsKeyVersionId
public DistributedDatabaseShardWithExadbXs.Builder kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.- Parameters:
kmsKeyVersionId
- the value to set- Returns:
- this builder
-
status
public DistributedDatabaseShardWithExadbXs.Builder status(DistributedDatabaseShardWithExadbXs.Status status)
Status of shard based on exadbxs for the Globally ditributed database.- Parameters:
status
- the value to set- Returns:
- this builder
-
supportingResourceId
public DistributedDatabaseShardWithExadbXs.Builder supportingResourceId(String supportingResourceId)
the identifier of the underlying supporting resource.- Parameters:
supportingResourceId
- the value to set- Returns:
- this builder
-
containerDatabaseId
public DistributedDatabaseShardWithExadbXs.Builder containerDatabaseId(String containerDatabaseId)
the identifier of the container database for underlying supporting resource.- Parameters:
containerDatabaseId
- the value to set- Returns:
- this builder
-
peerDetails
public DistributedDatabaseShardWithExadbXs.Builder peerDetails(List<ShardPeerWithExadbXs> peerDetails)
Peer details for the shard.- Parameters:
peerDetails
- the value to set- Returns:
- this builder
-
metadata
public DistributedDatabaseShardWithExadbXs.Builder metadata(DistributedDbMetadata metadata)
-
build
public DistributedDatabaseShardWithExadbXs build()
-
copy
public DistributedDatabaseShardWithExadbXs.Builder copy(DistributedDatabaseShardWithExadbXs model)
-
-