Class CreateShardPeerWithDedicatedInfraDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.CreateShardPeerWithDedicatedInfraDetails.Builder
-
- Enclosing class:
- CreateShardPeerWithDedicatedInfraDetails
public static class CreateShardPeerWithDedicatedInfraDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
cloudAutonomousVmClusterId
public CreateShardPeerWithDedicatedInfraDetails.Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId)
The OCID of the cloud Autonomous VM Cluster for the peer shard.- Parameters:
cloudAutonomousVmClusterId- the value to set- Returns:
- this builder
-
protectionMode
public CreateShardPeerWithDedicatedInfraDetails.Builder protectionMode(DistributedAutonomousDbProtectionMode protectionMode)
The protectionMode for the shard peer.- Parameters:
protectionMode- the value to set- Returns:
- this builder
-
fastStartFailOverLagLimitInSeconds
public CreateShardPeerWithDedicatedInfraDetails.Builder fastStartFailOverLagLimitInSeconds(Integer fastStartFailOverLagLimitInSeconds)
The lag time preference based on data loss tolerance in seconds.- Parameters:
fastStartFailOverLagLimitInSeconds- the value to set- Returns:
- this builder
-
isAutomaticFailoverEnabled
public CreateShardPeerWithDedicatedInfraDetails.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 CreateShardPeerWithDedicatedInfraDetails.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
-
build
public CreateShardPeerWithDedicatedInfraDetails build()
-
copy
public CreateShardPeerWithDedicatedInfraDetails.Builder copy(CreateShardPeerWithDedicatedInfraDetails model)
-
-