UpdateBackupDetails

class oci.database.models.UpdateBackupDetails(**kwargs)

Bases: object

Describes the parameters for updating the backup details.

Methods

__init__(**kwargs) Initializes a new UpdateBackupDetails object with values from keyword arguments.

Attributes

retention_period_in_days Gets the retention_period_in_days of this UpdateBackupDetails.
retention_period_in_years Gets the retention_period_in_years of this UpdateBackupDetails.
__init__(**kwargs)

Initializes a new UpdateBackupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • retention_period_in_days (int) – The value to assign to the retention_period_in_days property of this UpdateBackupDetails.
  • retention_period_in_years (int) – The value to assign to the retention_period_in_years property of this UpdateBackupDetails.
retention_period_in_days

Gets the retention_period_in_days of this UpdateBackupDetails. The retention period of the long term backup in days.

Returns:The retention_period_in_days of this UpdateBackupDetails.
Return type:int
retention_period_in_years

Gets the retention_period_in_years of this UpdateBackupDetails. The retention period of the long term backup in years.

Returns:The retention_period_in_years of this UpdateBackupDetails.
Return type:int