Package com.oracle.bmc.mysql.model
Class DbSystemSourceFromPitr.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.DbSystemSourceFromPitr.Builder
-
- Enclosing class:
- DbSystemSourceFromPitr
public static class DbSystemSourceFromPitr.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbSystemSourceFromPitr
build()
DbSystemSourceFromPitr.Builder
copy(DbSystemSourceFromPitr model)
DbSystemSourceFromPitr.Builder
dbSystemId(String dbSystemId)
The OCID of the DB System from which a backup shall be selected to be restored when creating the new DB System.DbSystemSourceFromPitr.Builder
recoveryPoint(Date recoveryPoint)
The date and time, as per RFC 3339, of the change up to which the new DB System shall be restored to, using a backup and logs from the original DB System.
-
-
-
Method Detail
-
dbSystemId
public DbSystemSourceFromPitr.Builder dbSystemId(String dbSystemId)
The OCID of the DB System from which a backup shall be selected to be restored when creating the new DB System.Use this together with recovery point to perform a point in time recovery operation.
- Parameters:
dbSystemId
- the value to set- Returns:
- this builder
-
recoveryPoint
public DbSystemSourceFromPitr.Builder recoveryPoint(Date recoveryPoint)
The date and time, as per RFC 3339, of the change up to which the new DB System shall be restored to, using a backup and logs from the original DB System.In case no point in time is specified, then this new DB System shall be restored up to the latest change recorded for the original DB System.
- Parameters:
recoveryPoint
- the value to set- Returns:
- this builder
-
build
public DbSystemSourceFromPitr build()
-
copy
public DbSystemSourceFromPitr.Builder copy(DbSystemSourceFromPitr model)
-
-