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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShardPeerWithDedicatedInfrabuild()ShardPeerWithDedicatedInfra.BuildercloudAutonomousVmClusterId(String cloudAutonomousVmClusterId)The OCID of the cloudAutonomousVmCluster.ShardPeerWithDedicatedInfra.BuildercontainerDatabaseId(String containerDatabaseId)the identifier of the container database for underlying supporting resource.ShardPeerWithDedicatedInfra.Buildercopy(ShardPeerWithDedicatedInfra model)ShardPeerWithDedicatedInfra.BuilderfastStartFailOverLagLimitInSeconds(Integer fastStartFailOverLagLimitInSeconds)The lag time for my preference based on data loss tolerance in seconds.ShardPeerWithDedicatedInfra.BuilderisAutomaticFailoverEnabled(Boolean isAutomaticFailoverEnabled)Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard AssociationShardPeerWithDedicatedInfra.Buildermetadata(DistributedAutonomousDbMetadata metadata)ShardPeerWithDedicatedInfra.BuilderprotectionMode(DistributedAutonomousDbProtectionMode protectionMode)The protectionMode for the shard peer.ShardPeerWithDedicatedInfra.BuildershardGroup(String shardGroup)The name of the shardGroup for the peer.ShardPeerWithDedicatedInfra.BuilderstandbyMaintenanceBufferInDays(Integer standbyMaintenanceBufferInDays)The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.ShardPeerWithDedicatedInfra.Builderstatus(ShardPeerWithDedicatedInfra.Status status)Status of shard with dedicated infrastructure for the Globally distributed autonomous database.ShardPeerWithDedicatedInfra.BuildersupportingResourceId(String supportingResourceId)the identifier of the underlying supporting resource.ShardPeerWithDedicatedInfra.BuildertimeCreated(Date timeCreated)The time the shard peer was created.ShardPeerWithDedicatedInfra.BuildertimeUpdated(Date timeUpdated)The time the shard peer was last updated.
-
-
-
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
-
protectionMode
public ShardPeerWithDedicatedInfra.Builder protectionMode(DistributedAutonomousDbProtectionMode protectionMode)
The protectionMode for the shard peer.- Parameters:
protectionMode- the value to set- Returns:
- this builder
-
fastStartFailOverLagLimitInSeconds
public ShardPeerWithDedicatedInfra.Builder fastStartFailOverLagLimitInSeconds(Integer fastStartFailOverLagLimitInSeconds)
The lag time for my preference based on data loss tolerance in seconds.- Parameters:
fastStartFailOverLagLimitInSeconds- the value to set- Returns:
- this builder
-
isAutomaticFailoverEnabled
public ShardPeerWithDedicatedInfra.Builder isAutomaticFailoverEnabled(Boolean isAutomaticFailoverEnabled)
Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association- Parameters:
isAutomaticFailoverEnabled- the value to set- Returns:
- this builder
-
standbyMaintenanceBufferInDays
public ShardPeerWithDedicatedInfra.Builder standbyMaintenanceBufferInDays(Integer standbyMaintenanceBufferInDays)
The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.This value represents the number of days before schedlued maintenance of the primary database.
- Parameters:
standbyMaintenanceBufferInDays- 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)
-
-