Class ShardPeerWithDedicatedInfra.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.ShardPeerWithDedicatedInfra.Builder
-
- Enclosing class:
- ShardPeerWithDedicatedInfra
public static class ShardPeerWithDedicatedInfra.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
cloudAutonomousVmClusterId
public ShardPeerWithDedicatedInfra.Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId)
The OCID of the cloudAutonomousVmCluster.- Parameters:
cloudAutonomousVmClusterId
- the value to set- Returns:
- this builder
-
shardGroup
public ShardPeerWithDedicatedInfra.Builder shardGroup(String shardGroup)
The name of the shardGroup for the peer.- Parameters:
shardGroup
- the value to set- Returns:
- this builder
-
status
public ShardPeerWithDedicatedInfra.Builder status(ShardPeerWithDedicatedInfra.Status status)
Status of shard with dedicated infrastructure for the Globally distributed autonomous database.- Parameters:
status
- the value to set- Returns:
- this builder
-
supportingResourceId
public ShardPeerWithDedicatedInfra.Builder supportingResourceId(String supportingResourceId)
the identifier of the underlying supporting resource.- Parameters:
supportingResourceId
- the value to set- Returns:
- this builder
-
containerDatabaseId
public ShardPeerWithDedicatedInfra.Builder containerDatabaseId(String containerDatabaseId)
the identifier of the container database for underlying supporting resource.- Parameters:
containerDatabaseId
- the value to set- Returns:
- this builder
-
timeCreated
public ShardPeerWithDedicatedInfra.Builder timeCreated(Date timeCreated)
The time the shard peer was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ShardPeerWithDedicatedInfra.Builder timeUpdated(Date timeUpdated)
The time the shard peer was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
metadata
public ShardPeerWithDedicatedInfra.Builder metadata(DistributedAutonomousDbMetadata metadata)
-
build
public ShardPeerWithDedicatedInfra build()
-
copy
public ShardPeerWithDedicatedInfra.Builder copy(ShardPeerWithDedicatedInfra model)
-
-