Package com.oracle.bmc.psql.model
Class PitrTimeWindow.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.model.PitrTimeWindow.Builder
-
- Enclosing class:
- PitrTimeWindow
public static class PitrTimeWindow.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PitrTimeWindowbuild()PitrTimeWindow.Buildercopy(PitrTimeWindow model)PitrTimeWindow.BuildertimeRecoveryWindowEnd(Date timeRecoveryWindowEnd)Latest timestamp in the PITR window to which the database can be restored.PitrTimeWindow.BuildertimeRecoveryWindowStart(Date timeRecoveryWindowStart)Earliest timestamp in the PITR window to which the database can be restored.
-
-
-
Method Detail
-
timeRecoveryWindowStart
public PitrTimeWindow.Builder timeRecoveryWindowStart(Date timeRecoveryWindowStart)
Earliest timestamp in the PITR window to which the database can be restored.Timestamps earlier than this are not recoverable. The value must be an RFC 3339 timestamp.
Example: 2016-08-25T21:10:29Z
- Parameters:
timeRecoveryWindowStart- the value to set- Returns:
- this builder
-
timeRecoveryWindowEnd
public PitrTimeWindow.Builder timeRecoveryWindowEnd(Date timeRecoveryWindowEnd)
Latest timestamp in the PITR window to which the database can be restored.Timestamps later than this are not recoverable. The value must be an RFC 3339 timestamp.
Example: 2016-08-25T21:10:29Z
- Parameters:
timeRecoveryWindowEnd- the value to set- Returns:
- this builder
-
build
public PitrTimeWindow build()
-
copy
public PitrTimeWindow.Builder copy(PitrTimeWindow model)
-
-