Package com.exoscale.sdk.model
Class DbaasBackupConfig
java.lang.Object
com.exoscale.sdk.model.DbaasBackupConfig
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class DbaasBackupConfig
extends Object
DBaaS plan backup config
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this dbaas-backup-config object is equal to o.Interval of taking a frequent backup in service types supporting different backup schedules minimum: 0Maximum age of the oldest frequent backup in service types supporting different backup schedules minimum: 0Interval of taking a frequent backup in service types supporting different backup schedules minimum: 0Maximum age of the oldest infrequent backup in service types supporting different backup schedules minimum: 0The interval, in hours, at which backups are generated.Maximum number of backups to keep.Mechanism how backups can be restored.int
hashCode()
toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_MAX_COUNT
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_RECOVERY_MODE
- See Also:
-
JSON_PROPERTY_FREQUENT_INTERVAL_MINUTES
- See Also:
-
JSON_PROPERTY_FREQUENT_OLDEST_AGE_MINUTES
- See Also:
-
JSON_PROPERTY_INFREQUENT_INTERVAL_MINUTES
- See Also:
-
JSON_PROPERTY_INFREQUENT_OLDEST_AGE_MINUTES
- See Also:
-
-
Constructor Details
-
DbaasBackupConfig
public DbaasBackupConfig() -
DbaasBackupConfig
-
-
Method Details
-
getMaxCount
Maximum number of backups to keep. Zero when no backups are created. minimum: 0- Returns:
- maxCount
-
getInterval
The interval, in hours, at which backups are generated. For some services, like PostgreSQL, this is the interval at which full snapshots are taken and continuous incremental backup stream is maintained in addition to that. minimum: 0- Returns:
- interval
-
getRecoveryMode
Mechanism how backups can be restored. 'regular' means a backup is restored as is so that the system is restored to the state it was when the backup was generated. 'pitr' means point-in-time-recovery, which allows restoring the system to any state since the first available full snapshot.- Returns:
- recoveryMode
-
getFrequentIntervalMinutes
Interval of taking a frequent backup in service types supporting different backup schedules minimum: 0- Returns:
- frequentIntervalMinutes
-
getFrequentOldestAgeMinutes
Maximum age of the oldest frequent backup in service types supporting different backup schedules minimum: 0- Returns:
- frequentOldestAgeMinutes
-
getInfrequentIntervalMinutes
Interval of taking a frequent backup in service types supporting different backup schedules minimum: 0- Returns:
- infrequentIntervalMinutes
-
getInfrequentOldestAgeMinutes
Maximum age of the oldest infrequent backup in service types supporting different backup schedules minimum: 0- Returns:
- infrequentOldestAgeMinutes
-
equals
Return true if this dbaas-backup-config object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-