Package com.oracle.bmc.database.model
Class DataGuardGroupMember.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.DataGuardGroupMember.Builder
-
- Enclosing class:
- DataGuardGroupMember
public static class DataGuardGroupMember.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataGuardGroupMember.BuilderapplyLag(String applyLag)The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database.DataGuardGroupMember.BuilderapplyRate(String applyRate)The rate at which redo logs are synced between the associated databases.DataGuardGroupMemberbuild()DataGuardGroupMember.Buildercopy(DataGuardGroupMember model)DataGuardGroupMember.BuilderdatabaseId(String databaseId)The OCID of the Database.DataGuardGroupMember.BuilderdataLossExposure(String dataLossExposure)The Data loss exposure is the redo transport lag between the primary and standby databases.DataGuardGroupMember.BuilderdbSystemId(String dbSystemId)The OCID of the DB system, Cloud VM cluster or VM cluster.DataGuardGroupMember.BuilderfailoverReadiness(DataGuardGroupMember.FailoverReadiness failoverReadiness)The failover readiness status of the Data Guard member.DataGuardGroupMember.BuilderfailoverReadinessMessage(String failoverReadinessMessage)The message explaining failover readiness status.DataGuardGroupMember.BuilderisActiveDataGuardEnabled(Boolean isActiveDataGuardEnabled)True if active Data Guard is enabled.DataGuardGroupMember.Builderrole(DataGuardGroupMember.Role role)The role of the reporting database in this Data Guard association.DataGuardGroupMember.BuilderswitchoverReadiness(DataGuardGroupMember.SwitchoverReadiness switchoverReadiness)The switchover readiness status of the Data Guard member.DataGuardGroupMember.BuilderswitchoverReadinessMessage(String switchoverReadinessMessage)The message explaining switchover readiness status.DataGuardGroupMember.BuildertimeUpdated(Date timeUpdated)The date and time when the last successful Data Guard refresh occurred.DataGuardGroupMember.BuildertransportLag(String transportLag)The rate at which redo logs are transported between the associated databases.DataGuardGroupMember.BuildertransportLagRefresh(String transportLagRefresh)The date and time when last redo transport has been done.DataGuardGroupMember.BuildertransportType(DataGuardGroupMember.TransportType transportType)The redo transport type to use for this Data Guard association.
-
-
-
Method Detail
-
dbSystemId
public DataGuardGroupMember.Builder dbSystemId(String dbSystemId)
The OCID of the DB system, Cloud VM cluster or VM cluster.- Parameters:
dbSystemId- the value to set- Returns:
- this builder
-
databaseId
public DataGuardGroupMember.Builder databaseId(String databaseId)
The OCID of the Database.- Parameters:
databaseId- the value to set- Returns:
- this builder
-
role
public DataGuardGroupMember.Builder role(DataGuardGroupMember.Role role)
The role of the reporting database in this Data Guard association.- Parameters:
role- the value to set- Returns:
- this builder
-
applyLag
public DataGuardGroupMember.Builder applyLag(String applyLag)
The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database.Example: 1 second
- Parameters:
applyLag- the value to set- Returns:
- this builder
-
applyRate
public DataGuardGroupMember.Builder applyRate(String applyRate)
The rate at which redo logs are synced between the associated databases.Example: 102.96 MByte/s
- Parameters:
applyRate- the value to set- Returns:
- this builder
-
transportLag
public DataGuardGroupMember.Builder transportLag(String transportLag)
The rate at which redo logs are transported between the associated databases.Example: 1 second
- Parameters:
transportLag- the value to set- Returns:
- this builder
-
transportLagRefresh
public DataGuardGroupMember.Builder transportLagRefresh(String transportLagRefresh)
The date and time when last redo transport has been done.- Parameters:
transportLagRefresh- the value to set- Returns:
- this builder
-
transportType
public DataGuardGroupMember.Builder transportType(DataGuardGroupMember.TransportType transportType)
The redo transport type to use for this Data Guard association.Valid values depend on the specified protectionMode:
MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC * MAXIMUM_PROTECTION - SYNC
For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
*IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
- Parameters:
transportType- the value to set- Returns:
- this builder
-
isActiveDataGuardEnabled
public DataGuardGroupMember.Builder isActiveDataGuardEnabled(Boolean isActiveDataGuardEnabled)
True if active Data Guard is enabled.- Parameters:
isActiveDataGuardEnabled- the value to set- Returns:
- this builder
-
switchoverReadiness
public DataGuardGroupMember.Builder switchoverReadiness(DataGuardGroupMember.SwitchoverReadiness switchoverReadiness)
The switchover readiness status of the Data Guard member.- Parameters:
switchoverReadiness- the value to set- Returns:
- this builder
-
switchoverReadinessMessage
public DataGuardGroupMember.Builder switchoverReadinessMessage(String switchoverReadinessMessage)
The message explaining switchover readiness status.Example: Address failed checks to avoid extended downtime.
- Parameters:
switchoverReadinessMessage- the value to set- Returns:
- this builder
-
failoverReadiness
public DataGuardGroupMember.Builder failoverReadiness(DataGuardGroupMember.FailoverReadiness failoverReadiness)
The failover readiness status of the Data Guard member.- Parameters:
failoverReadiness- the value to set- Returns:
- this builder
-
failoverReadinessMessage
public DataGuardGroupMember.Builder failoverReadinessMessage(String failoverReadinessMessage)
The message explaining failover readiness status.Example: This standby database is not failover ready.
- Parameters:
failoverReadinessMessage- the value to set- Returns:
- this builder
-
dataLossExposure
public DataGuardGroupMember.Builder dataLossExposure(String dataLossExposure)
The Data loss exposure is the redo transport lag between the primary and standby databases.Example: 2 seconds
- Parameters:
dataLossExposure- the value to set- Returns:
- this builder
-
timeUpdated
public DataGuardGroupMember.Builder timeUpdated(Date timeUpdated)
The date and time when the last successful Data Guard refresh occurred.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public DataGuardGroupMember build()
-
copy
public DataGuardGroupMember.Builder copy(DataGuardGroupMember model)
-
-