Package com.oracle.bmc.mysql.model
Class CreateDbSystemSourceFromPitrDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.CreateDbSystemSourceFromPitrDetails.Builder
-
- Enclosing class:
- CreateDbSystemSourceFromPitrDetails
public static class CreateDbSystemSourceFromPitrDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDbSystemSourceFromPitrDetails
build()
CreateDbSystemSourceFromPitrDetails.Builder
copy(CreateDbSystemSourceFromPitrDetails model)
CreateDbSystemSourceFromPitrDetails.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.CreateDbSystemSourceFromPitrDetails.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 CreateDbSystemSourceFromPitrDetails.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 CreateDbSystemSourceFromPitrDetails.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 CreateDbSystemSourceFromPitrDetails build()
-
copy
public CreateDbSystemSourceFromPitrDetails.Builder copy(CreateDbSystemSourceFromPitrDetails model)
-
-