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.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.DataGuardGroupMember.Builder
applyRate(String applyRate)
The rate at which redo logs are synced between the associated databases.DataGuardGroupMember
build()
DataGuardGroupMember.Builder
copy(DataGuardGroupMember model)
DataGuardGroupMember.Builder
databaseId(String databaseId)
The OCID of the Database.DataGuardGroupMember.Builder
dbSystemId(String dbSystemId)
The OCID of the DB system, Cloud VM cluster or VM cluster.DataGuardGroupMember.Builder
isActiveDataGuardEnabled(Boolean isActiveDataGuardEnabled)
True if active Data Guard is enabled.DataGuardGroupMember.Builder
role(DataGuardGroupMember.Role role)
The role of the reporting database in this Data Guard association.DataGuardGroupMember.Builder
transportLag(String transportLag)
The rate at which redo logs are transported between the associated databases.DataGuardGroupMember.Builder
transportLagRefresh(String transportLagRefresh)
The date and time when last redo transport has been done.DataGuardGroupMember.Builder
transportType(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
-
build
public DataGuardGroupMember build()
-
copy
public DataGuardGroupMember.Builder copy(DataGuardGroupMember model)
-
-