o
    ɶdR                     @   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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)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*ed\d] Z+e+jd^d] Z+ed_d` Z,e,jdad` Z,edbdc Z-e-jdddc Z-ededf Z.e.jdgdf Z.edhdi Z/e/jdjdi Z/dkdl Z0dmdn Z1dodp Z2dqS )rDatabasez
    Database model.
    PROVISIONING	AVAILABLEUPDATINGBACKUP_IN_PROGRESS	UPGRADING
CONVERTINGTERMINATING
TERMINATEDRESTORE_FAILEDFAILEDc                 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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/d0d1d2d3d4d5d6d7d8d9d| _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:S );a  
        Initializes a new Database 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 Database.
        :type id: str

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

        :param character_set:
            The value to assign to the character_set property of this Database.
        :type character_set: str

        :param ncharacter_set:
            The value to assign to the ncharacter_set property of this Database.
        :type ncharacter_set: str

        :param db_home_id:
            The value to assign to the db_home_id property of this Database.
        :type db_home_id: str

        :param db_system_id:
            The value to assign to the db_system_id property of this Database.
        :type db_system_id: str

        :param vm_cluster_id:
            The value to assign to the vm_cluster_id property of this Database.
        :type vm_cluster_id: str

        :param db_name:
            The value to assign to the db_name property of this Database.
        :type db_name: str

        :param pdb_name:
            The value to assign to the pdb_name property of this Database.
        :type pdb_name: str

        :param db_workload:
            The value to assign to the db_workload property of this Database.
        :type db_workload: str

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

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

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Database.
            Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

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

        :param last_backup_timestamp:
            The value to assign to the last_backup_timestamp property of this Database.
        :type last_backup_timestamp: datetime

        :param last_backup_duration_in_seconds:
            The value to assign to the last_backup_duration_in_seconds property of this Database.
        :type last_backup_duration_in_seconds: int

        :param last_failed_backup_timestamp:
            The value to assign to the last_failed_backup_timestamp property of this Database.
        :type last_failed_backup_timestamp: datetime

        :param db_backup_config:
            The value to assign to the db_backup_config property of this Database.
        :type db_backup_config: oci.database.models.DbBackupConfig

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

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

        :param connection_strings:
            The value to assign to the connection_strings property of this Database.
        :type connection_strings: oci.database.models.DatabaseConnectionStrings

        :param kms_key_id:
            The value to assign to the kms_key_id property of this Database.
        :type kms_key_id: str

        :param kms_key_version_id:
            The value to assign to the kms_key_version_id property of this Database.
        :type kms_key_version_id: str

        :param vault_id:
            The value to assign to the vault_id property of this Database.
        :type vault_id: str

        :param source_database_point_in_time_recovery_timestamp:
            The value to assign to the source_database_point_in_time_recovery_timestamp property of this Database.
        :type source_database_point_in_time_recovery_timestamp: datetime

        :param database_software_image_id:
            The value to assign to the database_software_image_id property of this Database.
        :type database_software_image_id: str

        :param is_cdb:
            The value to assign to the is_cdb property of this Database.
        :type is_cdb: bool

        :param database_management_config:
            The value to assign to the database_management_config property of this Database.
        :type database_management_config: oci.database.models.CloudDatabaseManagementConfig

        :param sid_prefix:
            The value to assign to the sid_prefix property of this Database.
        :type sid_prefix: str

        :param key_store_id:
            The value to assign to the key_store_id property of this Database.
        :type key_store_id: str

        :param key_store_wallet_name:
            The value to assign to the key_store_wallet_name property of this Database.
        :type key_store_wallet_name: str

        idstrcompartment_idcharacter_setncharacter_set
db_home_iddb_system_idvm_cluster_iddb_namepdb_namedb_workloaddb_unique_namelifecycle_detailslifecycle_statetime_createddatetimelast_backup_timestamplast_backup_duration_in_secondsintlast_failed_backup_timestampZDbBackupConfigzdict(str, str)zdict(str, dict(str, object))ZDatabaseConnectionStringsboolZCloudDatabaseManagementConfig)db_backup_configfreeform_tagsdefined_tagsconnection_strings
kms_key_idkms_key_version_idvault_id0source_database_point_in_time_recovery_timestampdatabase_software_image_idis_cdbdatabase_management_config
sid_prefixkey_store_idkey_store_wallet_nameZcompartmentIdZcharacterSetZncharacterSetZdbHomeIdZ
dbSystemIdZvmClusterIdZdbNameZpdbNameZ
dbWorkloadZdbUniqueNameZlifecycleDetailsZlifecycleStateZtimeCreatedZlastBackupTimestampZlastBackupDurationInSecondsZlastFailedBackupTimestampZdbBackupConfigZfreeformTagsZdefinedTagsZconnectionStringsZkmsKeyIdZkmsKeyVersionIdZvaultIdZ*sourceDatabasePointInTimeRecoveryTimestampZdatabaseSoftwareImageIdZisCdbZdatabaseManagementConfigZ	sidPrefixZ
keyStoreIdZkeyStoreWalletNameN)!Zswagger_typesZattribute_map_id_compartment_id_character_set_ncharacter_set_db_home_id_db_system_id_vm_cluster_id_db_name	_pdb_name_db_workload_db_unique_name_lifecycle_details_lifecycle_state_time_created_last_backup_timestamp _last_backup_duration_in_seconds_last_failed_backup_timestamp_db_backup_config_freeform_tags_defined_tags_connection_strings_kms_key_id_kms_key_version_id	_vault_id1_source_database_point_in_time_recovery_timestamp_database_software_image_id_is_cdb_database_management_config_sid_prefix_key_store_id_key_store_wallet_name)selfkwargs rU   @usr/lib/python3.10/site-packages/oci/database/models/database.py__init__:   s   	

"	

"
zDatabase.__init__c                 C      | j S )z
        **[Required]** Gets the id of this Database.
        The `OCID`__ of the database.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The id of this Database.
        :rtype: str
        r4   rS   rU   rU   rV   r   "     zDatabase.idc                 C   
   || _ dS )z
        Sets the id of this Database.
        The `OCID`__ of the database.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param id: The id of this Database.
        :type: str
        NrY   )rS   r   rU   rU   rV   r   0     
c                 C   rX   )a  
        **[Required]** Gets the compartment_id of this Database.
        The `OCID`__ of the compartment.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this Database.
        :rtype: str
        r5   rZ   rU   rU   rV   r   >  r[   zDatabase.compartment_idc                 C   r\   )a  
        Sets the compartment_id of this Database.
        The `OCID`__ of the compartment.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this Database.
        :type: str
        Nr^   )rS   r   rU   rU   rV   r   L  r]   c                 C   rX   )z
        Gets the character_set of this Database.
        The character set for the database.


        :return: The character_set of this Database.
        :rtype: str
        r6   rZ   rU   rU   rV   r   Z     
zDatabase.character_setc                 C   r\   )z
        Sets the character_set of this Database.
        The character set for the database.


        :param character_set: The character_set of this Database.
        :type: str
        Nr_   )rS   r   rU   rU   rV   r   f     

c                 C   rX   )z
        Gets the ncharacter_set of this Database.
        The national character set for the database.


        :return: The ncharacter_set of this Database.
        :rtype: str
        r7   rZ   rU   rU   rV   r   r  r`   zDatabase.ncharacter_setc                 C   r\   )z
        Sets the ncharacter_set of this Database.
        The national character set for the database.


        :param ncharacter_set: The ncharacter_set of this Database.
        :type: str
        Nrb   )rS   r   rU   rU   rV   r   ~  ra   c                 C   rX   )z
        Gets the db_home_id of this Database.
        The `OCID`__ of the Database Home.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The db_home_id of this Database.
        :rtype: str
        r8   rZ   rU   rU   rV   r     r[   zDatabase.db_home_idc                 C   r\   )a  
        Sets the db_home_id of this Database.
        The `OCID`__ of the Database Home.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param db_home_id: The db_home_id of this Database.
        :type: str
        Nrc   )rS   r   rU   rU   rV   r     r]   c                 C   rX   )z
        Gets the db_system_id of this Database.
        The `OCID`__ of the DB system.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The db_system_id of this Database.
        :rtype: str
        r9   rZ   rU   rU   rV   r     r[   zDatabase.db_system_idc                 C   r\   )a  
        Sets the db_system_id of this Database.
        The `OCID`__ of the DB system.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param db_system_id: The db_system_id of this Database.
        :type: str
        Nrd   )rS   r   rU   rU   rV   r     r]   c                 C   rX   )a   
        Gets the vm_cluster_id of this Database.
        The `OCID`__ of the VM cluster.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The vm_cluster_id of this Database.
        :rtype: str
        r:   rZ   rU   rU   rV   r     r[   zDatabase.vm_cluster_idc                 C   r\   )a  
        Sets the vm_cluster_id of this Database.
        The `OCID`__ of the VM cluster.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param vm_cluster_id: The vm_cluster_id of this Database.
        :type: str
        Nre   )rS   r   rU   rU   rV   r     r]   c                 C   rX   )z
        **[Required]** Gets the db_name of this Database.
        The database name.


        :return: The db_name of this Database.
        :rtype: str
        r;   rZ   rU   rU   rV   r     r`   zDatabase.db_namec                 C   r\   )z
        Sets the db_name of this Database.
        The database name.


        :param db_name: The db_name of this Database.
        :type: str
        Nrf   )rS   r   rU   rU   rV   r     ra   c                 C   rX   )as  
        Gets the pdb_name of this Database.
        The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.


        :return: The pdb_name of this Database.
        :rtype: str
        r<   rZ   rU   rU   rV   r     r`   zDatabase.pdb_namec                 C   r\   )az  
        Sets the pdb_name of this Database.
        The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.


        :param pdb_name: The pdb_name of this Database.
        :type: str
        Nrg   )rS   r   rU   rU   rV   r     ra   c                 C   rX   )aQ  
        Gets the db_workload of this Database.
        **Deprecated.** The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service.
        Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.

        The database workload type.


        :return: The db_workload of this Database.
        :rtype: str
        r=   rZ   rU   rU   rV   r        zDatabase.db_workloadc                 C   r\   )a[  
        Sets the db_workload of this Database.
        **Deprecated.** The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service.
        Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.

        The database workload type.


        :param db_workload: The db_workload of this Database.
        :type: str
        Nrh   )rS   r   rU   rU   rV   r        
c                 C   rX   )aQ  
        **[Required]** Gets the db_unique_name of this Database.
        A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.


        :return: The db_unique_name of this Database.
        :rtype: str
        r>   rZ   rU   rU   rV   r   ,  r`   zDatabase.db_unique_namec                 C   r\   )aO  
        Sets the db_unique_name of this Database.
        A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.


        :param db_unique_name: The db_unique_name of this Database.
        :type: str
        Nrk   )rS   r   rU   rU   rV   r   8  ra   c                 C   rX   )z
        Gets the lifecycle_details of this Database.
        Additional information about the current lifecycle state.


        :return: The lifecycle_details of this Database.
        :rtype: str
        r?   rZ   rU   rU   rV   r   D  r`   zDatabase.lifecycle_detailsc                 C   r\   )z
        Sets the lifecycle_details of this Database.
        Additional information about the current lifecycle state.


        :param lifecycle_details: The lifecycle_details of this Database.
        :type: str
        Nrl   )rS   r   rU   rU   rV   r   P  ra   c                 C   rX   )a  
        **[Required]** Gets the lifecycle_state of this Database.
        The current state of the database.

        Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Database.
        :rtype: str
        )r@   rZ   rU   rU   rV   r   \  ri   zDatabase.lifecycle_statec                 C   s    g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this Database.
        The current state of the database.


        :param lifecycle_state: The lifecycle_state of this Database.
        :type: str
        )
r   r   r	   r
   r   r   r   r   r   r   ZUNKNOWN_ENUM_VALUEN)r   r@   )rS   r   Zallowed_valuesrU   rU   rV   r   k  s   


c                 C   rX   )z
        Gets the time_created of this Database.
        The date and time the database was created.


        :return: The time_created of this Database.
        :rtype: datetime
        rA   rZ   rU   rU   rV   r   z  r`   zDatabase.time_createdc                 C   r\   )z
        Sets the time_created of this Database.
        The date and time the database was created.


        :param time_created: The time_created of this Database.
        :type: datetime
        Nrm   )rS   r   rU   rU   rV   r     ra   c                 C   rX   )z
        Gets the last_backup_timestamp of this Database.
        The date and time when the latest database backup was created.


        :return: The last_backup_timestamp of this Database.
        :rtype: datetime
        rB   rZ   rU   rU   rV   r!     r`   zDatabase.last_backup_timestampc                 C   r\   )z
        Sets the last_backup_timestamp of this Database.
        The date and time when the latest database backup was created.


        :param last_backup_timestamp: The last_backup_timestamp of this Database.
        :type: datetime
        Nrn   )rS   r!   rU   rU   rV   r!     ra   c                 C   rX   )z
        Gets the last_backup_duration_in_seconds of this Database.
        The duration when the latest database backup created.


        :return: The last_backup_duration_in_seconds of this Database.
        :rtype: int
        rC   rZ   rU   rU   rV   r"     r`   z(Database.last_backup_duration_in_secondsc                 C   r\   )a  
        Sets the last_backup_duration_in_seconds of this Database.
        The duration when the latest database backup created.


        :param last_backup_duration_in_seconds: The last_backup_duration_in_seconds of this Database.
        :type: int
        Nro   )rS   r"   rU   rU   rV   r"     ra   c                 C   rX   )z
        Gets the last_failed_backup_timestamp of this Database.
        The date and time when the latest database backup failed.


        :return: The last_failed_backup_timestamp of this Database.
        :rtype: datetime
        rD   rZ   rU   rU   rV   r$     r`   z%Database.last_failed_backup_timestampc                 C   r\   )a  
        Sets the last_failed_backup_timestamp of this Database.
        The date and time when the latest database backup failed.


        :param last_failed_backup_timestamp: The last_failed_backup_timestamp of this Database.
        :type: datetime
        Nrp   )rS   r$   rU   rU   rV   r$     ra   c                 C   rX   )z
        Gets the db_backup_config of this Database.

        :return: The db_backup_config of this Database.
        :rtype: oci.database.models.DbBackupConfig
        rE   rZ   rU   rU   rV   r&        zDatabase.db_backup_configc                 C   r\   )z
        Sets the db_backup_config of this Database.

        :param db_backup_config: The db_backup_config of this Database.
        :type: oci.database.models.DbBackupConfig
        Nrq   )rS   r&   rU   rU   rV   r&        
c                 C   rX   )a  
        Gets the freeform_tags of this Database.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this Database.
        :rtype: dict(str, str)
        rF   rZ   rU   rU   rV   r'     s   zDatabase.freeform_tagsc                 C   r\   )a  
        Sets the freeform_tags of this Database.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this Database.
        :type: dict(str, str)
        Nrt   )rS   r'   rU   rU   rV   r'     s   
c                 C   rX   )a  
        Gets the defined_tags of this Database.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this Database.
        :rtype: dict(str, dict(str, object))
        rG   rZ   rU   rU   rV   r(     ri   zDatabase.defined_tagsc                 C   r\   )a  
        Sets the defined_tags of this Database.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this Database.
        :type: dict(str, dict(str, object))
        Nru   )rS   r(   rU   rU   rV   r(     rj   c                 C   rX   )a   
        Gets the connection_strings of this Database.
        The Connection strings used to connect to the Oracle Database.


        :return: The connection_strings of this Database.
        :rtype: oci.database.models.DatabaseConnectionStrings
        rH   rZ   rU   rU   rV   r)   .  r`   zDatabase.connection_stringsc                 C   r\   )a  
        Sets the connection_strings of this Database.
        The Connection strings used to connect to the Oracle Database.


        :param connection_strings: The connection_strings of this Database.
        :type: oci.database.models.DatabaseConnectionStrings
        Nrv   )rS   r)   rU   rU   rV   r)   :  ra   c                 C   rX   )a	  
        Gets the kms_key_id of this Database.
        The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.


        :return: The kms_key_id of this Database.
        :rtype: str
        rI   rZ   rU   rU   rV   r*   F  r`   zDatabase.kms_key_idc                 C   r\   )a  
        Sets the kms_key_id of this Database.
        The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.


        :param kms_key_id: The kms_key_id of this Database.
        :type: str
        Nrw   )rS   r*   rU   rU   rV   r*   R  ra   c                 C   rX   )a  
        Gets the kms_key_version_id of this Database.
        The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation.


        :return: The kms_key_version_id of this Database.
        :rtype: str
        rJ   rZ   rU   rU   rV   r+   ^  r`   zDatabase.kms_key_version_idc                 C   r\   )a  
        Sets the kms_key_version_id of this Database.
        The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation.


        :param kms_key_version_id: The kms_key_version_id of this Database.
        :type: str
        Nrx   )rS   r+   rU   rU   rV   r+   j  ra   c                 C   rX   )ar  
        Gets the vault_id of this Database.
        The `OCID`__ of the Oracle Cloud Infrastructure `vault`__.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
        __ https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm#concepts


        :return: The vault_id of this Database.
        :rtype: str
        rK   rZ   rU   rU   rV   r,   v  ri   zDatabase.vault_idc                 C   r\   )ay  
        Sets the vault_id of this Database.
        The `OCID`__ of the Oracle Cloud Infrastructure `vault`__.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
        __ https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm#concepts


        :param vault_id: The vault_id of this Database.
        :type: str
        Nry   )rS   r,   rU   rU   rV   r,     rj   c                 C   rX   )a  
        Gets the source_database_point_in_time_recovery_timestamp of this Database.
        Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in `RFC 3339`__

        __ https://tools.ietf.org/rfc/rfc3339


        :return: The source_database_point_in_time_recovery_timestamp of this Database.
        :rtype: datetime
        rL   rZ   rU   rU   rV   r-     r[   z9Database.source_database_point_in_time_recovery_timestampc                 C   r\   )a  
        Sets the source_database_point_in_time_recovery_timestamp of this Database.
        Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in `RFC 3339`__

        __ https://tools.ietf.org/rfc/rfc3339


        :param source_database_point_in_time_recovery_timestamp: The source_database_point_in_time_recovery_timestamp of this Database.
        :type: datetime
        Nrz   )rS   r-   rU   rU   rV   r-     r]   c                 C   rX   )a  
        Gets the database_software_image_id of this Database.
        The database software image `OCID`__

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The database_software_image_id of this Database.
        :rtype: str
        rM   rZ   rU   rU   rV   r.     r[   z#Database.database_software_image_idc                 C   r\   )a8  
        Sets the database_software_image_id of this Database.
        The database software image `OCID`__

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param database_software_image_id: The database_software_image_id of this Database.
        :type: str
        Nr{   )rS   r.   rU   rU   rV   r.     r]   c                 C   rX   )z
        Gets the is_cdb of this Database.
        True if the database is a container database.


        :return: The is_cdb of this Database.
        :rtype: bool
        rN   rZ   rU   rU   rV   r/     r`   zDatabase.is_cdbc                 C   r\   )z
        Sets the is_cdb of this Database.
        True if the database is a container database.


        :param is_cdb: The is_cdb of this Database.
        :type: bool
        Nr|   )rS   r/   rU   rU   rV   r/     ra   c                 C   rX   )z
        Gets the database_management_config of this Database.

        :return: The database_management_config of this Database.
        :rtype: oci.database.models.CloudDatabaseManagementConfig
        rO   rZ   rU   rU   rV   r0     rr   z#Database.database_management_configc                 C   r\   )z
        Sets the database_management_config of this Database.

        :param database_management_config: The database_management_config of this Database.
        :type: oci.database.models.CloudDatabaseManagementConfig
        Nr}   )rS   r0   rU   rU   rV   r0     rs   c                 C   rX   )z
        Gets the sid_prefix of this Database.
        Specifies a prefix for the `Oracle SID` of the database to be created.


        :return: The sid_prefix of this Database.
        :rtype: str
        rP   rZ   rU   rU   rV   r1     r`   zDatabase.sid_prefixc                 C   r\   )z
        Sets the sid_prefix of this Database.
        Specifies a prefix for the `Oracle SID` of the database to be created.


        :param sid_prefix: The sid_prefix of this Database.
        :type: str
        Nr~   )rS   r1   rU   rU   rV   r1     ra   c                 C   rX   )z
        Gets the key_store_id of this Database.
        The `OCID`__ of the key store.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The key_store_id of this Database.
        :rtype: str
        rQ   rZ   rU   rU   rV   r2     r[   zDatabase.key_store_idc                 C   r\   )a  
        Sets the key_store_id of this Database.
        The `OCID`__ of the key store.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param key_store_id: The key_store_id of this Database.
        :type: str
        Nr   )rS   r2   rU   rU   rV   r2     r]   c                 C   rX   )z
        Gets the key_store_wallet_name of this Database.
        The wallet name for Oracle Key Vault.


        :return: The key_store_wallet_name of this Database.
        :rtype: str
        rR   rZ   rU   rU   rV   r3   ,  r`   zDatabase.key_store_wallet_namec                 C   r\   )z
        Sets the key_store_wallet_name of this Database.
        The wallet name for Oracle Key Vault.


        :param key_store_wallet_name: The key_store_wallet_name of this Database.
        :type: str
        Nr   )rS   r3   rU   rU   rV   r3   8  ra   c                 C   s   t | S N)r   rZ   rU   rU   rV   __repr__D  s   zDatabase.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__rS   otherrU   rU   rV   __eq__G  s   zDatabase.__eq__c                 C   s
   | |k S r   rU   r   rU   rU   rV   __ne__M  s   
zDatabase.__ne__N)3__name__
__module____qualname____doc__ZLIFECYCLE_STATE_PROVISIONINGZLIFECYCLE_STATE_AVAILABLEZLIFECYCLE_STATE_UPDATINGZ"LIFECYCLE_STATE_BACKUP_IN_PROGRESSZLIFECYCLE_STATE_UPGRADINGZLIFECYCLE_STATE_CONVERTINGZLIFECYCLE_STATE_TERMINATINGZLIFECYCLE_STATE_TERMINATEDZLIFECYCLE_STATE_RESTORE_FAILEDZLIFECYCLE_STATE_FAILEDrW   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r   r!   r"   r$   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r   r   r   rU   rU   rU   rV   r      s    i


































	
	


















	
	





r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   rU   rU   rU   rV   <module>   s   