Class ShardPeerWithExadbXs.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.ShardPeerWithExadbXs.Builder
-
- Enclosing class:
- ShardPeerWithExadbXs
public static class ShardPeerWithExadbXs.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShardPeerWithExadbXs
build()
ShardPeerWithExadbXs.Builder
containerDatabaseId(String containerDatabaseId)
the identifier of the container database for underlying supporting resource.ShardPeerWithExadbXs.Builder
copy(ShardPeerWithExadbXs model)
ShardPeerWithExadbXs.Builder
metadata(DistributedDbMetadata metadata)
ShardPeerWithExadbXs.Builder
shardGroup(String shardGroup)
The name of the shardGroup for the peer.ShardPeerWithExadbXs.Builder
status(ShardPeerWithExadbXs.Status status)
Status of catalog with VmCluster for the Globally ditributed database.ShardPeerWithExadbXs.Builder
supportingResourceId(String supportingResourceId)
the identifier of the underlying supporting resource.ShardPeerWithExadbXs.Builder
timeCreated(Date timeCreated)
The time the shard peer was created.ShardPeerWithExadbXs.Builder
timeUpdated(Date timeUpdated)
The time the shard peer was last updated.ShardPeerWithExadbXs.Builder
vmClusterId(String vmClusterId)
The OCID of the VmCluster.
-
-
-
Method Detail
-
vmClusterId
public ShardPeerWithExadbXs.Builder vmClusterId(String vmClusterId)
The OCID of the VmCluster.- Parameters:
vmClusterId
- the value to set- Returns:
- this builder
-
shardGroup
public ShardPeerWithExadbXs.Builder shardGroup(String shardGroup)
The name of the shardGroup for the peer.- Parameters:
shardGroup
- the value to set- Returns:
- this builder
-
status
public ShardPeerWithExadbXs.Builder status(ShardPeerWithExadbXs.Status status)
Status of catalog with VmCluster for the Globally ditributed database.- Parameters:
status
- the value to set- Returns:
- this builder
-
supportingResourceId
public ShardPeerWithExadbXs.Builder supportingResourceId(String supportingResourceId)
the identifier of the underlying supporting resource.- Parameters:
supportingResourceId
- the value to set- Returns:
- this builder
-
containerDatabaseId
public ShardPeerWithExadbXs.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 ShardPeerWithExadbXs.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 ShardPeerWithExadbXs.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 ShardPeerWithExadbXs.Builder metadata(DistributedDbMetadata metadata)
-
build
public ShardPeerWithExadbXs build()
-
copy
public ShardPeerWithExadbXs.Builder copy(ShardPeerWithExadbXs model)
-
-