o
    ëÉ¶du‰  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sà  e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZed d!„ ƒZejd"d!„ ƒZed#d$„ ƒZejd%d$„ ƒZed&d'„ ƒZejd(d'„ ƒZed)d*„ ƒZejd+d*„ ƒZed,d-„ ƒZejd.d-„ ƒZed/d0„ ƒZ e jd1d0„ ƒZ ed2d3„ ƒZ!e!jd4d3„ ƒZ!ed5d6„ ƒZ"e"jd7d6„ ƒZ"ed8d9„ ƒZ#e#jd:d9„ ƒZ#ed;d<„ ƒZ$e$jd=d<„ ƒZ$ed>d?„ ƒZ%e%jd@d?„ ƒZ%edAdB„ ƒZ&e&jdCdB„ ƒZ&edDdE„ ƒZ'e'jdFdE„ ƒZ'edGdH„ ƒZ(e(jdIdH„ ƒZ(edJdK„ ƒZ)e)jdLdK„ ƒZ)edMdN„ ƒZ*e*jdOdN„ ƒZ*edPdQ„ ƒZ+e+jdRdQ„ ƒZ+edSdT„ ƒZ,e,jdUdT„ ƒZ,edVdW„ ƒZ-e-jdXdW„ ƒZ-edYdZ„ ƒZ.e.jd[dZ„ ƒZ.d\d]„ Z/d^d_„ Z0d`da„ Z1dbS )cÚProtectedDatabasea9  
    A protected database is an Oracle Cloud Database whose
    backups are managed by Oracle Database Autonomous Recovery Service. Each protected database
    requires a recovery service subnet and a protection policy to use Recovery Service as
    the backup destination for centralized backup and recovery
    ÚXSÚSÚMÚLÚXLÚXXLÚAUTOÚCREATINGÚUPDATINGÚACTIVEÚDELETINGÚDELETEDÚFAILEDÚ	PROTECTEDÚWARNINGÚALERTc              	   K   s”  i dd“dd“dd“dd“dd“dd“dd“d	d
“dd“dd“dd“dd“dd“dd“dd“dd“dd“ddddddddœ¥| _ i dd“dd“dd“dd“dd“dd “dd!“d	d"“dd#“dd$“dd%“dd&“dd'“dd(“dd)“dd*“dd“d+d,d-d.d/d0d1dœ¥| _d2| _d2| _d2| _d2| _d2| _d2| _d2| _d2| _	d2| _
d2| _d2| _d2| _d2| _d2| _d2| _d2| _d2| _d2| _d2| _d2| _d2| _d2| _d2| _d2| _d2S )3a‚  
        Initializes a new ProtectedDatabase object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this ProtectedDatabase.
        :type id: str

        :param display_name:
            The value to assign to the display_name property of this ProtectedDatabase.
        :type display_name: str

        :param compartment_id:
            The value to assign to the compartment_id property of this ProtectedDatabase.
        :type compartment_id: str

        :param db_unique_name:
            The value to assign to the db_unique_name property of this ProtectedDatabase.
        :type db_unique_name: str

        :param vpc_user_name:
            The value to assign to the vpc_user_name property of this ProtectedDatabase.
        :type vpc_user_name: str

        :param database_size:
            The value to assign to the database_size property of this ProtectedDatabase.
            Allowed values for this property are: "XS", "S", "M", "L", "XL", "XXL", "AUTO", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type database_size: str

        :param protection_policy_id:
            The value to assign to the protection_policy_id property of this ProtectedDatabase.
        :type protection_policy_id: str

        :param recovery_service_subnets:
            The value to assign to the recovery_service_subnets property of this ProtectedDatabase.
        :type recovery_service_subnets: list[oci.recovery.models.RecoveryServiceSubnetDetails]

        :param database_id:
            The value to assign to the database_id property of this ProtectedDatabase.
        :type database_id: str

        :param database_size_in_gbs:
            The value to assign to the database_size_in_gbs property of this ProtectedDatabase.
        :type database_size_in_gbs: int

        :param change_rate:
            The value to assign to the change_rate property of this ProtectedDatabase.
        :type change_rate: float

        :param compression_ratio:
            The value to assign to the compression_ratio property of this ProtectedDatabase.
        :type compression_ratio: float

        :param is_redo_logs_shipped:
            The value to assign to the is_redo_logs_shipped property of this ProtectedDatabase.
        :type is_redo_logs_shipped: bool

        :param time_created:
            The value to assign to the time_created property of this ProtectedDatabase.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this ProtectedDatabase.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this ProtectedDatabase.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param health:
            The value to assign to the health property of this ProtectedDatabase.
            Allowed values for this property are: "PROTECTED", "WARNING", "ALERT", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type health: str

        :param is_read_only_resource:
            The value to assign to the is_read_only_resource property of this ProtectedDatabase.
        :type is_read_only_resource: bool

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this ProtectedDatabase.
        :type lifecycle_details: str

        :param health_details:
            The value to assign to the health_details property of this ProtectedDatabase.
        :type health_details: str

        :param metrics:
            The value to assign to the metrics property of this ProtectedDatabase.
        :type metrics: oci.recovery.models.Metrics

        :param freeform_tags:
            The value to assign to the freeform_tags property of this ProtectedDatabase.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this ProtectedDatabase.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this ProtectedDatabase.
        :type system_tags: dict(str, dict(str, object))

        ÚidÚstrÚdisplay_nameÚcompartment_idÚdb_unique_nameÚvpc_user_nameÚdatabase_sizeÚprotection_policy_idÚrecovery_service_subnetsz"list[RecoveryServiceSubnetDetails]Údatabase_idÚdatabase_size_in_gbsÚintÚchange_rateÚfloatÚcompression_ratioÚis_redo_logs_shippedÚboolÚtime_createdÚdatetimeÚtime_updatedÚlifecycle_stateÚhealthZMetricszdict(str, str)zdict(str, dict(str, object)))Úis_read_only_resourceÚlifecycle_detailsÚhealth_detailsÚmetricsÚfreeform_tagsÚdefined_tagsÚsystem_tagsZdisplayNameZcompartmentIdZdbUniqueNameZvpcUserNameZdatabaseSizeZprotectionPolicyIdZrecoveryServiceSubnetsZ
databaseIdZdatabaseSizeInGBsZ
changeRateZcompressionRatioZisRedoLogsShippedZtimeCreatedZtimeUpdatedZlifecycleStateZisReadOnlyResourceZlifecycleDetailsZhealthDetailsr0   ZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_mapÚ_idÚ_display_nameÚ_compartment_idÚ_db_unique_nameÚ_vpc_user_nameÚ_database_sizeÚ_protection_policy_idÚ_recovery_service_subnetsÚ_database_idÚ_database_size_in_gbsÚ_change_rateÚ_compression_ratioÚ_is_redo_logs_shippedÚ_time_createdÚ_time_updatedÚ_lifecycle_stateÚ_healthÚ_is_read_only_resourceÚ_lifecycle_detailsÚ_health_detailsÚ_metricsÚ_freeform_tagsÚ_defined_tagsÚ_system_tags)ÚselfÚkwargs© rN   úJusr/lib/python3.10/site-packages/oci/recovery/models/protected_database.pyÚ__init__U   sÜ   lÿþýüûúùø	÷
öõôóòñðï
èÿþýüûúùø	÷
öõôóòñðï
è
zProtectedDatabase.__init__c                 C   ó   | j S )z¼
        **[Required]** Gets the id of this ProtectedDatabase.
        The OCID of the protected database.


        :return: The id of this ProtectedDatabase.
        :rtype: str
        ©r4   ©rL   rN   rN   rO   r     ó   
zProtectedDatabase.idc                 C   ó
   || _ dS )z®
        Sets the id of this ProtectedDatabase.
        The OCID of the protected database.


        :param id: The id of this ProtectedDatabase.
        :type: str
        NrR   )rL   r   rN   rN   rO   r     ó   

c                 C   rQ   )a  
        Gets the display_name of this ProtectedDatabase.
        The protected database name. You can change the displayName. Avoid entering confidential information.


        :return: The display_name of this ProtectedDatabase.
        :rtype: str
        ©r5   rS   rN   rN   rO   r   (  rT   zProtectedDatabase.display_namec                 C   rU   )a  
        Sets the display_name of this ProtectedDatabase.
        The protected database name. You can change the displayName. Avoid entering confidential information.


        :param display_name: The display_name of this ProtectedDatabase.
        :type: str
        NrW   )rL   r   rN   rN   rO   r   4  rV   c                 C   rQ   )zò
        **[Required]** Gets the compartment_id of this ProtectedDatabase.
        The OCID of the compartment that contains the protected database.


        :return: The compartment_id of this ProtectedDatabase.
        :rtype: str
        ©r6   rS   rN   rN   rO   r   @  rT   z ProtectedDatabase.compartment_idc                 C   rU   )zð
        Sets the compartment_id of this ProtectedDatabase.
        The OCID of the compartment that contains the protected database.


        :param compartment_id: The compartment_id of this ProtectedDatabase.
        :type: str
        NrX   )rL   r   rN   rN   rO   r   L  rV   c                 C   rQ   )a  
        **[Required]** Gets the db_unique_name of this ProtectedDatabase.
        The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.


        :return: The db_unique_name of this ProtectedDatabase.
        :rtype: str
        ©r7   rS   rN   rN   rO   r   X  rT   z ProtectedDatabase.db_unique_namec                 C   rU   )a  
        Sets the db_unique_name of this ProtectedDatabase.
        The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.


        :param db_unique_name: The db_unique_name of this ProtectedDatabase.
        :type: str
        NrY   )rL   r   rN   rN   rO   r   d  rV   c                 C   rQ   )a'  
        **[Required]** Gets the vpc_user_name of this ProtectedDatabase.
        The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.


        :return: The vpc_user_name of this ProtectedDatabase.
        :rtype: str
        ©r8   rS   rN   rN   rO   r   p  rT   zProtectedDatabase.vpc_user_namec                 C   rU   )a$  
        Sets the vpc_user_name of this ProtectedDatabase.
        The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.


        :param vpc_user_name: The vpc_user_name of this ProtectedDatabase.
        :type: str
        NrZ   )rL   r   rN   rN   rO   r   |  rV   c                 C   rQ   )a  
        **[Required]** Gets the database_size of this ProtectedDatabase.
        The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.

        Allowed values for this property are: "XS", "S", "M", "L", "XL", "XXL", "AUTO", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The database_size of this ProtectedDatabase.
        :rtype: str
        )r9   rS   rN   rN   rO   r   ˆ  ó   zProtectedDatabase.database_sizec                 C   ó    g d¢}t ||ƒsd}|| _dS )aB  
        Sets the database_size of this ProtectedDatabase.
        The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.


        :param database_size: The database_size of this ProtectedDatabase.
        :type: str
        )r   r   r	   r
   r   r   r   ÚUNKNOWN_ENUM_VALUEN)r   r9   )rL   r   Úallowed_valuesrN   rN   rO   r   —  ó   


c                 C   rQ   )a  
        **[Required]** Gets the protection_policy_id of this ProtectedDatabase.
        The OCID of the protection policy associated with the protected database.


        :return: The protection_policy_id of this ProtectedDatabase.
        :rtype: str
        ©r:   rS   rN   rN   rO   r   ¦  rT   z&ProtectedDatabase.protection_policy_idc                 C   rU   )a
  
        Sets the protection_policy_id of this ProtectedDatabase.
        The OCID of the protection policy associated with the protected database.


        :param protection_policy_id: The protection_policy_id of this ProtectedDatabase.
        :type: str
        Nr`   )rL   r   rN   rN   rO   r   ²  rV   c                 C   rQ   )aI  
        **[Required]** Gets the recovery_service_subnets of this ProtectedDatabase.
        List of recovery service subnet resources associated with the protected database.


        :return: The recovery_service_subnets of this ProtectedDatabase.
        :rtype: list[oci.recovery.models.RecoveryServiceSubnetDetails]
        ©r;   rS   rN   rN   rO   r   ¾  rT   z*ProtectedDatabase.recovery_service_subnetsc                 C   rU   )aQ  
        Sets the recovery_service_subnets of this ProtectedDatabase.
        List of recovery service subnet resources associated with the protected database.


        :param recovery_service_subnets: The recovery_service_subnets of this ProtectedDatabase.
        :type: list[oci.recovery.models.RecoveryServiceSubnetDetails]
        Nra   )rL   r   rN   rN   rO   r   Ê  rV   c                 C   rQ   )z¿
        Gets the database_id of this ProtectedDatabase.
        The OCID of the protected database.


        :return: The database_id of this ProtectedDatabase.
        :rtype: str
        ©r<   rS   rN   rN   rO   r    Ö  rT   zProtectedDatabase.database_idc                 C   rU   )zÉ
        Sets the database_id of this ProtectedDatabase.
        The OCID of the protected database.


        :param database_id: The database_id of this ProtectedDatabase.
        :type: str
        Nrb   )rL   r    rN   rN   rO   r    â  rV   c                 C   rQ   )zÜ
        Gets the database_size_in_gbs of this ProtectedDatabase.
        The size of the database in GBs, in gigabytes.


        :return: The database_size_in_gbs of this ProtectedDatabase.
        :rtype: int
        ©r=   rS   rN   rN   rO   r!   î  rT   z&ProtectedDatabase.database_size_in_gbsc                 C   rU   )zï
        Sets the database_size_in_gbs of this ProtectedDatabase.
        The size of the database in GBs, in gigabytes.


        :param database_size_in_gbs: The database_size_in_gbs of this ProtectedDatabase.
        :type: int
        Nrc   )rL   r!   rN   rN   rO   r!   ú  rV   c                 C   rQ   )zÿ
        Gets the change_rate of this ProtectedDatabase.
        The percentage of data changes that exist in the database between successive incremental backups.


        :return: The change_rate of this ProtectedDatabase.
        :rtype: float
        ©r>   rS   rN   rN   rO   r#     rT   zProtectedDatabase.change_ratec                 C   rU   )a	  
        Sets the change_rate of this ProtectedDatabase.
        The percentage of data changes that exist in the database between successive incremental backups.


        :param change_rate: The change_rate of this ProtectedDatabase.
        :type: float
        Nrd   )rL   r#   rN   rN   rO   r#     rV   c                 C   rQ   )a6  
        Gets the compression_ratio of this ProtectedDatabase.
        The compression ratio of the protected database. The compression ratio represents the ratio of compressed block size to expanded block size.


        :return: The compression_ratio of this ProtectedDatabase.
        :rtype: float
        ©r?   rS   rN   rN   rO   r%     rT   z#ProtectedDatabase.compression_ratioc                 C   rU   )aF  
        Sets the compression_ratio of this ProtectedDatabase.
        The compression ratio of the protected database. The compression ratio represents the ratio of compressed block size to expanded block size.


        :param compression_ratio: The compression_ratio of this ProtectedDatabase.
        :type: float
        Nre   )rL   r%   rN   rN   rO   r%   *  rV   c                 C   rQ   )aC  
        Gets the is_redo_logs_shipped of this ProtectedDatabase.
        The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.
        Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional
        configuration is needed on client side.


        :return: The is_redo_logs_shipped of this ProtectedDatabase.
        :rtype: bool
        ©r@   rS   rN   rN   rO   r&   6  ó   z&ProtectedDatabase.is_redo_logs_shippedc                 C   rU   )aV  
        Sets the is_redo_logs_shipped of this ProtectedDatabase.
        The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.
        Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional
        configuration is needed on client side.


        :param is_redo_logs_shipped: The is_redo_logs_shipped of this ProtectedDatabase.
        :type: bool
        Nrf   )rL   r&   rN   rN   rO   r&   D  ó   
c                 C   rQ   )a)  
        Gets the time_created of this ProtectedDatabase.
        An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'


        :return: The time_created of this ProtectedDatabase.
        :rtype: datetime
        ©rA   rS   rN   rN   rO   r(   R  rT   zProtectedDatabase.time_createdc                 C   rU   )a4  
        Sets the time_created of this ProtectedDatabase.
        An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'


        :param time_created: The time_created of this ProtectedDatabase.
        :type: datetime
        Nri   )rL   r(   rN   rN   rO   r(   ^  rV   c                 C   rQ   )a.  
        Gets the time_updated of this ProtectedDatabase.
        An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'


        :return: The time_updated of this ProtectedDatabase.
        :rtype: datetime
        ©rB   rS   rN   rN   rO   r*   j  rT   zProtectedDatabase.time_updatedc                 C   rU   )a9  
        Sets the time_updated of this ProtectedDatabase.
        An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'


        :param time_updated: The time_updated of this ProtectedDatabase.
        :type: datetime
        Nrj   )rL   r*   rN   rN   rO   r*   v  rV   c                 C   rQ   )a¶  
        Gets the lifecycle_state of this ProtectedDatabase.
        The current state of the Protected Database.

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this ProtectedDatabase.
        :rtype: str
        )rC   rS   rN   rN   rO   r+   ‚  r[   z!ProtectedDatabase.lifecycle_statec                 C   r\   )zÞ
        Sets the lifecycle_state of this ProtectedDatabase.
        The current state of the Protected Database.


        :param lifecycle_state: The lifecycle_state of this ProtectedDatabase.
        :type: str
        )r   r   r   r   r   r   r]   N)r   rC   )rL   r+   r^   rN   rN   rO   r+   ‘  r_   c                 C   rQ   )a  
        Gets the health of this ProtectedDatabase.
        Indicates the protection status of the database. Allowed values are:
         - HEALTHY
         - WARNING
         - ALERT

        A 'HEALTHY' status indicates that Recovery Service can ensure database recovery to any point in time within the entire recovery window. The potential data loss exposure since the last backup is:
         - Less than 10 seconds, if Real-time data protection is enabled
         - Less than 70 minutes if Real-time data protection is disabled

        A 'WARNING' status indicates that Recovery Service can ensure database recovery within the current recovery window - 1 day. The potential data loss exposure since the last backup is:
         - Greater than 10 seconds, if Real-time data protection is enabled
         - Greater than 60 minutes, if if Real-time data protection is disabled

        An 'ALERT' status indicates that Recovery Service cannot recover the database within the current recovery window.

        Allowed values for this property are: "PROTECTED", "WARNING", "ALERT", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The health of this ProtectedDatabase.
        :rtype: str
        )rD   rS   rN   rN   rO   r,      s   zProtectedDatabase.healthc                 C   r\   )aG  
        Sets the health of this ProtectedDatabase.
        Indicates the protection status of the database. Allowed values are:
         - HEALTHY
         - WARNING
         - ALERT

        A 'HEALTHY' status indicates that Recovery Service can ensure database recovery to any point in time within the entire recovery window. The potential data loss exposure since the last backup is:
         - Less than 10 seconds, if Real-time data protection is enabled
         - Less than 70 minutes if Real-time data protection is disabled

        A 'WARNING' status indicates that Recovery Service can ensure database recovery within the current recovery window - 1 day. The potential data loss exposure since the last backup is:
         - Greater than 10 seconds, if Real-time data protection is enabled
         - Greater than 60 minutes, if if Real-time data protection is disabled

        An 'ALERT' status indicates that Recovery Service cannot recover the database within the current recovery window.


        :param health: The health of this ProtectedDatabase.
        :type: str
        )r   r   r   r]   N)r   rD   )rL   r,   r^   rN   rN   rO   r,   ¼  s   

c                 C   rQ   )a[  
        Gets the is_read_only_resource of this ProtectedDatabase.
        Indicates whether the protected database is created by Recovery Service or created manually.
        Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource.
        Set to <b>FALSE</b> for a user-defined protected database.


        :return: The is_read_only_resource of this ProtectedDatabase.
        :rtype: bool
        ©rE   rS   rN   rN   rO   r-   Ø  rg   z'ProtectedDatabase.is_read_only_resourcec                 C   rU   )ao  
        Sets the is_read_only_resource of this ProtectedDatabase.
        Indicates whether the protected database is created by Recovery Service or created manually.
        Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource.
        Set to <b>FALSE</b> for a user-defined protected database.


        :param is_read_only_resource: The is_read_only_resource of this ProtectedDatabase.
        :type: bool
        Nrk   )rL   r-   rN   rN   rO   r-   æ  rh   c                 C   rQ   )aY  
        Gets the lifecycle_details of this ProtectedDatabase.
        Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.


        :return: The lifecycle_details of this ProtectedDatabase.
        :rtype: str
        ©rF   rS   rN   rN   rO   r.   ô  rT   z#ProtectedDatabase.lifecycle_detailsc                 C   rU   )ai  
        Sets the lifecycle_details of this ProtectedDatabase.
        Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.


        :param lifecycle_details: The lifecycle_details of this ProtectedDatabase.
        :type: str
        Nrl   )rL   r.   rN   rN   rO   r.      rV   c                 C   rQ   )zä
        Gets the health_details of this ProtectedDatabase.
        A message describing the current health of the protected database.


        :return: The health_details of this ProtectedDatabase.
        :rtype: str
        ©rG   rS   rN   rN   rO   r/     rT   z ProtectedDatabase.health_detailsc                 C   rU   )zñ
        Sets the health_details of this ProtectedDatabase.
        A message describing the current health of the protected database.


        :param health_details: The health_details of this ProtectedDatabase.
        :type: str
        Nrm   )rL   r/   rN   rN   rO   r/     rV   c                 C   rQ   )z¢
        Gets the metrics of this ProtectedDatabase.

        :return: The metrics of this ProtectedDatabase.
        :rtype: oci.recovery.models.Metrics
        ©rH   rS   rN   rN   rO   r0   $  s   zProtectedDatabase.metricsc                 C   rU   )z¨
        Sets the metrics of this ProtectedDatabase.

        :param metrics: The metrics of this ProtectedDatabase.
        :type: oci.recovery.models.Metrics
        Nrn   )rL   r0   rN   rN   rO   r0   .  s   
c                 C   rQ   )aI  
        Gets the freeform_tags of this ProtectedDatabase.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`


        :return: The freeform_tags of this ProtectedDatabase.
        :rtype: dict(str, str)
        ©rI   rS   rN   rN   rO   r1   8  s   zProtectedDatabase.freeform_tagsc                 C   rU   )aU  
        Sets the freeform_tags of this ProtectedDatabase.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`


        :param freeform_tags: The freeform_tags of this ProtectedDatabase.
        :type: dict(str, str)
        Nro   )rL   r1   rN   rN   rO   r1   E  s   
c                 C   rQ   )aÉ  
        Gets the defined_tags of this ProtectedDatabase.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`. For more information, see `Resource Tags`__

        __ https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this ProtectedDatabase.
        :rtype: dict(str, dict(str, object))
        ©rJ   rS   rN   rN   rO   r2   R  r[   zProtectedDatabase.defined_tagsc                 C   rU   )aÔ  
        Sets the defined_tags of this ProtectedDatabase.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`. For more information, see `Resource Tags`__

        __ https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this ProtectedDatabase.
        :type: dict(str, dict(str, object))
        Nrp   )rL   r2   rN   rN   rO   r2   a  ó   
c                 C   rQ   )aÆ  
        Gets the system_tags of this ProtectedDatabase.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`. For more information, see `Resource Tags`__

        __ https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm


        :return: The system_tags of this ProtectedDatabase.
        :rtype: dict(str, dict(str, object))
        ©rK   rS   rN   rN   rO   r3   p  r[   zProtectedDatabase.system_tagsc                 C   rU   )aÐ  
        Sets the system_tags of this ProtectedDatabase.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`. For more information, see `Resource Tags`__

        __ https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm


        :param system_tags: The system_tags of this ProtectedDatabase.
        :type: dict(str, dict(str, object))
        Nrr   )rL   r3   rN   rN   rO   r3     rq   c                 C   s   t | ƒS ©N)r   rS   rN   rN   rO   Ú__repr__Ž  s   zProtectedDatabase.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©rL   ÚotherrN   rN   rO   Ú__eq__‘  s   zProtectedDatabase.__eq__c                 C   s
   | |k S rs   rN   rv   rN   rN   rO   Ú__ne__—  s   
zProtectedDatabase.__ne__N)2Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZDATABASE_SIZE_XSZDATABASE_SIZE_SZDATABASE_SIZE_MZDATABASE_SIZE_LZDATABASE_SIZE_XLZDATABASE_SIZE_XXLZDATABASE_SIZE_AUTOZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZHEALTH_PROTECTEDZHEALTH_WARNINGZHEALTH_ALERTrP   Úpropertyr   Úsetterr   r   r   r   r   r   r   r    r!   r#   r%   r&   r(   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   rt   rx   ry   rN   rN   rN   rO   r      sî    	 <








































	
	





r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   rN   rN   rN   rO   Ú<module>   s   