ruạṛ
a ���f- � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�#AutonomousDatabaseConnectionStringsa7 Connection strings to connect to an Oracle Autonomous Database. Example output for connection strings. See :func:`database_connection_string_profile` for additional details: "connectionStrings": { "allConnectionStrings": { "HIGH": "adb.region.oraclecloud.com:1522/unique_id_databasename_high.adwc.oraclecloud.com", "LOW": "adb.region.oraclecloud.com:1522/unique_id_databasename_low.adwc.oraclecloud.com", "MEDIUM": "adb.region.oraclecloud.com:1522/unique_id_databasename_medium.adwc.oraclecloud.com" }, "profiles": [ { "displayName": "databasename_high", "value": "(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_high.adwc.oraclecloud.com))(security=(ssl_server_cert_dn="CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US")))", "consumerGroup": "HIGH", "protocol": "TCPS", "tlsAuthentication": "MUTUAL", "hostFormat": "FQDN", "sessionMode": "DIRECT", "syntaxFormat": "LONG" }, { "displayName": "databasename_low", "value": "(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_low.adwc.oraclecloud.com))(security=(ssl_server_cert_dn="CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US")))", "consumerGroup": "LOW", "protocol": "TCPS", "tlsAuthentication": "MUTUAL", "hostFormat": "FQDN", "sessionMode": "DIRECT", "syntaxFormat": "LONG" }, { "displayName": "databasename_medium", "value": "(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_medium.adwc.oraclecloud.com))(security=(ssl_server_cert_dn="CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US")))", "consumerGroup": "MEDIUM", "protocol": "TCPS", "tlsAuthentication": "MUTUAL", "hostFormat": "FQDN", "sessionMode": "DIRECT", "syntaxFormat": "LONG" } ], "dedicated": null, "high": "adb.region.oraclecloud.com:1522/unique_id_databasename_high.adwc.oraclecloud.com", "low": "adb.region.oraclecloud.com:1522/unique_id_databasename_low.adwc.oraclecloud.com", "medium": "adb.region.oraclecloud.com:1522/unique_id_databasename_medium.adwc.oraclecloud.com" } c K sP ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new AutonomousDatabaseConnectionStrings object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param high: The value to assign to the high property of this AutonomousDatabaseConnectionStrings. :type high: str :param medium: The value to assign to the medium property of this AutonomousDatabaseConnectionStrings. :type medium: str :param low: The value to assign to the low property of this AutonomousDatabaseConnectionStrings. :type low: str :param dedicated: The value to assign to the dedicated property of this AutonomousDatabaseConnectionStrings. :type dedicated: str :param all_connection_strings: The value to assign to the all_connection_strings property of this AutonomousDatabaseConnectionStrings. :type all_connection_strings: dict(str, str) :param profiles: The value to assign to the profiles property of this AutonomousDatabaseConnectionStrings. :type profiles: list[oci.database.models.DatabaseConnectionStringProfile] �strzdict(str, str)z%list[DatabaseConnectionStringProfile])�high�medium�low� dedicated�all_connection_strings�profilesr r r r ZallConnectionStringsr N)Z swagger_typesZ attribute_map�_high�_medium�_low� _dedicated�_all_connection_strings� _profiles)�self�kwargs� r �^/usr/lib/python3.9/site-packages/oci/database/models/autonomous_database_connection_strings.py�__init__@ s( � � z,AutonomousDatabaseConnectionStrings.__init__c C s | j S )al Gets the high of this AutonomousDatabaseConnectionStrings. The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements. :return: The high of this AutonomousDatabaseConnectionStrings. :rtype: str �r �r r r r r w s z(AutonomousDatabaseConnectionStrings.highc C s || _ dS )ao Sets the high of this AutonomousDatabaseConnectionStrings. The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements. :param high: The high of this AutonomousDatabaseConnectionStrings. :type: str Nr )r r r r r r � s c C s | j S )al Gets the medium of this AutonomousDatabaseConnectionStrings. The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements. :return: The medium of this AutonomousDatabaseConnectionStrings. :rtype: str �r r r r r r � s z*AutonomousDatabaseConnectionStrings.mediumc C s || _ dS )aq Sets the medium of this AutonomousDatabaseConnectionStrings. The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements. :param medium: The medium of this AutonomousDatabaseConnectionStrings. :type: str Nr )r r r r r r � s c C s | j S )a@ Gets the low of this AutonomousDatabaseConnectionStrings. The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements. :return: The low of this AutonomousDatabaseConnectionStrings. :rtype: str �r r r r r r � s z'AutonomousDatabaseConnectionStrings.lowc C s || _ dS )aB Sets the low of this AutonomousDatabaseConnectionStrings. The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements. :param low: The low of this AutonomousDatabaseConnectionStrings. :type: str Nr )r r r r r r � s c C s | j S )aH Gets the dedicated of this AutonomousDatabaseConnectionStrings. The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements. :return: The dedicated of this AutonomousDatabaseConnectionStrings. :rtype: str �r r r r r r � s z-AutonomousDatabaseConnectionStrings.dedicatedc C s || _ dS )aP Sets the dedicated of this AutonomousDatabaseConnectionStrings. The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements. :param dedicated: The dedicated of this AutonomousDatabaseConnectionStrings. :type: str Nr )r r r r r r � s c C s | j S )a0 Gets the all_connection_strings of this AutonomousDatabaseConnectionStrings. Returns all connection strings that can be used to connect to the Autonomous Database. For more information, please see `Predefined Database Service Names for Autonomous Transaction Processing`__ __ https://docs.oracle.com/en/cloud/paas/atp-cloud/atpug/connect-predefined.html#GUID-9747539B-FD46-44F1-8FF8-F5AC650F15BE :return: The all_connection_strings of this AutonomousDatabaseConnectionStrings. :rtype: dict(str, str) �r r r r r r � s z:AutonomousDatabaseConnectionStrings.all_connection_stringsc C s || _ dS )aE Sets the all_connection_strings of this AutonomousDatabaseConnectionStrings. Returns all connection strings that can be used to connect to the Autonomous Database. For more information, please see `Predefined Database Service Names for Autonomous Transaction Processing`__ __ https://docs.oracle.com/en/cloud/paas/atp-cloud/atpug/connect-predefined.html#GUID-9747539B-FD46-44F1-8FF8-F5AC650F15BE :param all_connection_strings: The all_connection_strings of this AutonomousDatabaseConnectionStrings. :type: dict(str, str) Nr )r r r r r r � s c C s | j S )ax Gets the profiles of this AutonomousDatabaseConnectionStrings. A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata. :return: The profiles of this AutonomousDatabaseConnectionStrings. :rtype: list[oci.database.models.DatabaseConnectionStringProfile] �r r r r r r � s z,AutonomousDatabaseConnectionStrings.profilesc C s || _ dS )a Sets the profiles of this AutonomousDatabaseConnectionStrings. A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata. :param profiles: The profiles of this AutonomousDatabaseConnectionStrings. :type: list[oci.database.models.DatabaseConnectionStringProfile] Nr )r r r r r r s c C s t | �S �N)r r r r r �__repr__ s z,AutonomousDatabaseConnectionStrings.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s z*AutonomousDatabaseConnectionStrings.__eq__c C s | |k S r r r# r r r �__ne__ s z*AutonomousDatabaseConnectionStrings.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r! r% r&