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 Modifier and Type Field Description static String
JSON_PROPERTY_FREQUENT_INTERVAL_MINUTES
static String
JSON_PROPERTY_FREQUENT_OLDEST_AGE_MINUTES
static String
JSON_PROPERTY_INFREQUENT_INTERVAL_MINUTES
static String
JSON_PROPERTY_INFREQUENT_OLDEST_AGE_MINUTES
static String
JSON_PROPERTY_INTERVAL
static String
JSON_PROPERTY_MAX_COUNT
static String
JSON_PROPERTY_RECOVERY_MODE
-
Constructor Summary
Constructors Constructor Description DbaasBackupConfig()
DbaasBackupConfig(Long maxCount, Long interval, String recoveryMode, Long frequentIntervalMinutes, Long frequentOldestAgeMinutes, Long infrequentIntervalMinutes, Long infrequentOldestAgeMinutes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this dbaas-backup-config object is equal to o.Long
getFrequentIntervalMinutes()
Interval of taking a frequent backup in service types supporting different backup schedules minimum: 0Long
getFrequentOldestAgeMinutes()
Maximum age of the oldest frequent backup in service types supporting different backup schedules minimum: 0Long
getInfrequentIntervalMinutes()
Interval of taking a frequent backup in service types supporting different backup schedules minimum: 0Long
getInfrequentOldestAgeMinutes()
Maximum age of the oldest infrequent backup in service types supporting different backup schedules minimum: 0Long
getInterval()
The interval, in hours, at which backups are generated.Long
getMaxCount()
Maximum number of backups to keep.String
getRecoveryMode()
Mechanism how backups can be restored.int
hashCode()
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_MAX_COUNT
public static final String JSON_PROPERTY_MAX_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTERVAL
public static final String JSON_PROPERTY_INTERVAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECOVERY_MODE
public static final String JSON_PROPERTY_RECOVERY_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FREQUENT_INTERVAL_MINUTES
public static final String JSON_PROPERTY_FREQUENT_INTERVAL_MINUTES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FREQUENT_OLDEST_AGE_MINUTES
public static final String JSON_PROPERTY_FREQUENT_OLDEST_AGE_MINUTES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INFREQUENT_INTERVAL_MINUTES
public static final String JSON_PROPERTY_INFREQUENT_INTERVAL_MINUTES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INFREQUENT_OLDEST_AGE_MINUTES
public static final String JSON_PROPERTY_INFREQUENT_OLDEST_AGE_MINUTES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMaxCount
@Nullable public Long getMaxCount()
Maximum number of backups to keep. Zero when no backups are created. minimum: 0- Returns:
- maxCount
-
getInterval
@Nullable public Long 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
@Nullable public String 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
@Nullable public Long getFrequentIntervalMinutes()
Interval of taking a frequent backup in service types supporting different backup schedules minimum: 0- Returns:
- frequentIntervalMinutes
-
getFrequentOldestAgeMinutes
@Nullable public Long getFrequentOldestAgeMinutes()
Maximum age of the oldest frequent backup in service types supporting different backup schedules minimum: 0- Returns:
- frequentOldestAgeMinutes
-
getInfrequentIntervalMinutes
@Nullable public Long getInfrequentIntervalMinutes()
Interval of taking a frequent backup in service types supporting different backup schedules minimum: 0- Returns:
- infrequentIntervalMinutes
-
getInfrequentOldestAgeMinutes
@Nullable public Long getInfrequentOldestAgeMinutes()
Maximum age of the oldest infrequent backup in service types supporting different backup schedules minimum: 0- Returns:
- infrequentOldestAgeMinutes
-
equals
public boolean equals(Object o)
Return true if this dbaas-backup-config object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-