ruạṛ
a N��f9O � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdd� Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Ze d0d1� �Zejd2d1� �Ze d3d4� �Zejd5d4� �Ze d6d7� �Zejd8d7� �Zd9d:� Zd;d<� Zd=d>� Zd?S )@�CreateConnectionDetailsz; Details to create a Database Connection resource. �MANUAL� AUTONOMOUS�USER_MANAGED_OCI�ORACLE� RDS_ORACLEc K s� dddddddddddddddd d �| _ ddd dddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a� Initializes a new CreateConnectionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this CreateConnectionDetails. :type compartment_id: str :param display_name: The value to assign to the display_name property of this CreateConnectionDetails. :type display_name: str :param database_type: The value to assign to the database_type property of this CreateConnectionDetails. Allowed values for this property are: "MANUAL", "AUTONOMOUS", "USER_MANAGED_OCI" :type database_type: str :param manual_database_sub_type: The value to assign to the manual_database_sub_type property of this CreateConnectionDetails. Allowed values for this property are: "ORACLE", "RDS_ORACLE" :type manual_database_sub_type: str :param database_id: The value to assign to the database_id property of this CreateConnectionDetails. :type database_id: str :param connect_descriptor: The value to assign to the connect_descriptor property of this CreateConnectionDetails. :type connect_descriptor: oci.database_migration.models.CreateConnectDescriptor :param certificate_tdn: The value to assign to the certificate_tdn property of this CreateConnectionDetails. :type certificate_tdn: str :param tls_wallet: The value to assign to the tls_wallet property of this CreateConnectionDetails. :type tls_wallet: str :param tls_keystore: The value to assign to the tls_keystore property of this CreateConnectionDetails. :type tls_keystore: str :param ssh_details: The value to assign to the ssh_details property of this CreateConnectionDetails. :type ssh_details: oci.database_migration.models.CreateSshDetails :param admin_credentials: The value to assign to the admin_credentials property of this CreateConnectionDetails. :type admin_credentials: oci.database_migration.models.CreateAdminCredentials :param private_endpoint: The value to assign to the private_endpoint property of this CreateConnectionDetails. :type private_endpoint: oci.database_migration.models.CreatePrivateEndpoint :param vault_details: The value to assign to the vault_details property of this CreateConnectionDetails. :type vault_details: oci.database_migration.models.CreateVaultDetails :param freeform_tags: The value to assign to the freeform_tags property of this CreateConnectionDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateConnectionDetails. :type defined_tags: dict(str, dict(str, object)) :param nsg_ids: The value to assign to the nsg_ids property of this CreateConnectionDetails. :type nsg_ids: list[str] �str�CreateConnectDescriptor�CreateSshDetails�CreateAdminCredentials�CreatePrivateEndpoint�CreateVaultDetailszdict(str, str)zdict(str, dict(str, object))z list[str])�compartment_id�display_name� database_type�manual_database_sub_type�database_id�connect_descriptor�certificate_tdn� tls_wallet�tls_keystore�ssh_details�admin_credentials�private_endpoint� vault_details� freeform_tags�defined_tags�nsg_ids� compartmentId�displayName�databaseType�manualDatabaseSubType� databaseId�connectDescriptor�certificateTdn� tlsWallet�tlsKeystore� sshDetails�adminCredentials�privateEndpoint�vaultDetails�freeformTags�definedTags�nsgIdsN)� swagger_types� attribute_map�_compartment_id� _display_name�_database_type�_manual_database_sub_type�_database_id�_connect_descriptor�_certificate_tdn�_tls_wallet� _tls_keystore�_ssh_details�_admin_credentials�_private_endpoint�_vault_details�_freeform_tags� _defined_tags�_nsg_ids)�self�kwargs� rF ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_migration/models/create_connection_details.py�__init__$ sd I��z CreateConnectionDetails.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this CreateConnectionDetails. OCID of the compartment :return: The compartment_id of this CreateConnectionDetails. :rtype: str �r4 �rD rF rF rG r � s z&CreateConnectionDetails.compartment_idc C s || _ dS )z� Sets the compartment_id of this CreateConnectionDetails. OCID of the compartment :param compartment_id: The compartment_id of this CreateConnectionDetails. :type: str NrI )rD r rF rF rG r � s c C s | j S )z� Gets the display_name of this CreateConnectionDetails. Database Connection display name identifier. :return: The display_name of this CreateConnectionDetails. :rtype: str �r5 rJ rF rF rG r � s z$CreateConnectionDetails.display_namec C s || _ dS )z� Sets the display_name of this CreateConnectionDetails. Database Connection display name identifier. :param display_name: The display_name of this CreateConnectionDetails. :type: str NrK )rD r rF rF rG r � s c C s | j S )a. **[Required]** Gets the database_type of this CreateConnectionDetails. Database connection type. Allowed values for this property are: "MANUAL", "AUTONOMOUS", "USER_MANAGED_OCI" :return: The database_type of this CreateConnectionDetails. :rtype: str )r6 rJ rF rF rG r � s z%CreateConnectionDetails.database_typec C s* g d�}t ||�s td�|���|| _dS )z� Sets the database_type of this CreateConnectionDetails. Database connection type. :param database_type: The database_type of this CreateConnectionDetails. :type: str )r r r z=Invalid value for `database_type`, must be None or one of {0}N)r � ValueError�formatr6 )rD r �allowed_valuesrF rF rG r � s ��c C s | j S )ad Gets the manual_database_sub_type of this CreateConnectionDetails. Database manual connection subtype. This value can only be specified for manual connections. Allowed values for this property are: "ORACLE", "RDS_ORACLE" :return: The manual_database_sub_type of this CreateConnectionDetails. :rtype: str )r7 rJ rF rF rG r � s z0CreateConnectionDetails.manual_database_sub_typec C s* ddg}t ||�s td�|���|| _dS )a5 Sets the manual_database_sub_type of this CreateConnectionDetails. Database manual connection subtype. This value can only be specified for manual connections. :param manual_database_sub_type: The manual_database_sub_type of this CreateConnectionDetails. :type: str r r zHInvalid value for `manual_database_sub_type`, must be None or one of {0}N)r rL rM r7 )rD r rN rF rF rG r s ��c C s | j S )z� Gets the database_id of this CreateConnectionDetails. The OCID of the cloud database. Required if the database connection type is Autonomous. :return: The database_id of this CreateConnectionDetails. :rtype: str �r8 rJ rF rF rG r s z#CreateConnectionDetails.database_idc C s || _ dS )a Sets the database_id of this CreateConnectionDetails. The OCID of the cloud database. Required if the database connection type is Autonomous. :param database_id: The database_id of this CreateConnectionDetails. :type: str NrO )rD r rF rF rG r s c C s | j S )z� Gets the connect_descriptor of this CreateConnectionDetails. :return: The connect_descriptor of this CreateConnectionDetails. :rtype: oci.database_migration.models.CreateConnectDescriptor �r9 rJ rF rF rG r + s z*CreateConnectionDetails.connect_descriptorc C s || _ dS )z� Sets the connect_descriptor of this CreateConnectionDetails. :param connect_descriptor: The connect_descriptor of this CreateConnectionDetails. :type: oci.database_migration.models.CreateConnectDescriptor NrP )rD r rF rF rG r 5 s c C s | j S )ar Gets the certificate_tdn of this CreateConnectionDetails. This name is the distinguished name used while creating the certificate on target database. Requires a TLS wallet to be specified. Not required for source container database connections. :return: The certificate_tdn of this CreateConnectionDetails. :rtype: str �r: rJ rF rF rG r ? s z'CreateConnectionDetails.certificate_tdnc C s || _ dS )a� Sets the certificate_tdn of this CreateConnectionDetails. This name is the distinguished name used while creating the certificate on target database. Requires a TLS wallet to be specified. Not required for source container database connections. :param certificate_tdn: The certificate_tdn of this CreateConnectionDetails. :type: str NrQ )rD r rF rF rG r L s c C s | j S )a0 Gets the tls_wallet of this CreateConnectionDetails. cwallet.sso containing containing the TCPS/SSL certificate; base64 encoded String. Not required for source container database connections. :return: The tls_wallet of this CreateConnectionDetails. :rtype: str �r; rJ rF rF rG r Y s z"CreateConnectionDetails.tls_walletc C s || _ dS )a9 Sets the tls_wallet of this CreateConnectionDetails. cwallet.sso containing containing the TCPS/SSL certificate; base64 encoded String. Not required for source container database connections. :param tls_wallet: The tls_wallet of this CreateConnectionDetails. :type: str NrR )rD r rF rF rG r e s c C s | j S )a; Gets the tls_keystore of this CreateConnectionDetails. keystore.jks file contents; base64 encoded String. Requires a TLS wallet to be specified. Not required for source container database connections. :return: The tls_keystore of this CreateConnectionDetails. :rtype: str �r<