File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/distributed_database/models/distributed_autonomous_db_backup_config.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20250101 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class DistributedAutonomousDbBackupConfig(object): """ Backup options for the Distributed Autonomous Database. """ def __init__(self, **kwargs): """ Initializes a new DistributedAutonomousDbBackupConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param backup_destination_details: The value to assign to the backup_destination_details property of this DistributedAutonomousDbBackupConfig. :type backup_destination_details: list[oci.distributed_database.models.DistributedAutonomousDbBackupDestination] :param recovery_window_in_days: The value to assign to the recovery_window_in_days property of this DistributedAutonomousDbBackupConfig. :type recovery_window_in_days: int """ self.swagger_types = { 'backup_destination_details': 'list[DistributedAutonomousDbBackupDestination]', 'recovery_window_in_days': 'int' } self.attribute_map = { 'backup_destination_details': 'backupDestinationDetails', 'recovery_window_in_days': 'recoveryWindowInDays' } self._backup_destination_details = None self._recovery_window_in_days = None @property def backup_destination_details(self): """ Gets the backup_destination_details of this DistributedAutonomousDbBackupConfig. Backup destination details. :return: The backup_destination_details of this DistributedAutonomousDbBackupConfig. :rtype: list[oci.distributed_database.models.DistributedAutonomousDbBackupDestination] """ return self._backup_destination_details @backup_destination_details.setter def backup_destination_details(self, backup_destination_details): """ Sets the backup_destination_details of this DistributedAutonomousDbBackupConfig. Backup destination details. :param backup_destination_details: The backup_destination_details of this DistributedAutonomousDbBackupConfig. :type: list[oci.distributed_database.models.DistributedAutonomousDbBackupDestination] """ self._backup_destination_details = backup_destination_details @property def recovery_window_in_days(self): """ Gets the recovery_window_in_days of this DistributedAutonomousDbBackupConfig. Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. :return: The recovery_window_in_days of this DistributedAutonomousDbBackupConfig. :rtype: int """ return self._recovery_window_in_days @recovery_window_in_days.setter def recovery_window_in_days(self, recovery_window_in_days): """ Sets the recovery_window_in_days of this DistributedAutonomousDbBackupConfig. Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. When the value is updated, it is applied to all existing automatic backups. If the number of specified days is 0 then there will be no backups. :param recovery_window_in_days: The recovery_window_in_days of this DistributedAutonomousDbBackupConfig. :type: int """ self._recovery_window_in_days = recovery_window_in_days def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings