ruạṛ
a N��f�% � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DatabaseConnectionCredentials� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z dd� Zdd� Zdd� ZdS )� DatabaseSslConnectionCredentialszL Ssl connection credential details used to connect to the database. �SYSDBA�NORMALc K sV ddddddd�| _ ddddddd�| _d | _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new DatabaseSslConnectionCredentials object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.DatabaseSslConnectionCredentials.credential_type` attribute of this class is ``SSL_DETAILS`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param credential_type: The value to assign to the credential_type property of this DatabaseSslConnectionCredentials. Allowed values for this property are: "NAME_REFERENCE", "DETAILS", "SSL_DETAILS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type credential_type: str :param credential_name: The value to assign to the credential_name property of this DatabaseSslConnectionCredentials. :type credential_name: str :param username: The value to assign to the username property of this DatabaseSslConnectionCredentials. :type username: str :param password: The value to assign to the password property of this DatabaseSslConnectionCredentials. :type password: str :param role: The value to assign to the role property of this DatabaseSslConnectionCredentials. Allowed values for this property are: "SYSDBA", "NORMAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type role: str :param ssl_secret_id: The value to assign to the ssl_secret_id property of this DatabaseSslConnectionCredentials. :type ssl_secret_id: str �str)�credential_type�credential_name�username�password�role� ssl_secret_id�credentialType�credentialNamer r r �sslSecretIdN�SSL_DETAILS)� swagger_types� attribute_map�_credential_type�_credential_name� _username� _password�_role�_ssl_secret_id)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/database_ssl_connection_credentials.py�__init__ s* $� � z)DatabaseSslConnectionCredentials.__init__c C s | j S )a� Gets the credential_name of this DatabaseSslConnectionCredentials. The name of the credential information that used to connect to the database. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the OCI region the credential is being created in. If you specify a name that duplicates the name of another credential within the same OCI region, you may overwrite or corrupt the credential that is already using the name. For example: inventorydb.abc112233445566778899 :return: The credential_name of this DatabaseSslConnectionCredentials. :rtype: str �r �r r r r! r U s z0DatabaseSslConnectionCredentials.credential_namec C s || _ dS )a� Sets the credential_name of this DatabaseSslConnectionCredentials. The name of the credential information that used to connect to the database. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the OCI region the credential is being created in. If you specify a name that duplicates the name of another credential within the same OCI region, you may overwrite or corrupt the credential that is already using the name. For example: inventorydb.abc112233445566778899 :param credential_name: The credential_name of this DatabaseSslConnectionCredentials. :type: str Nr# )r r r r r! r i s c C s | j S )z� **[Required]** Gets the username of this DatabaseSslConnectionCredentials. The username that will be used to connect to the database. :return: The username of this DatabaseSslConnectionCredentials. :rtype: str �r r$ r r r! r } s z)DatabaseSslConnectionCredentials.usernamec C s || _ dS )z� Sets the username of this DatabaseSslConnectionCredentials. The username that will be used to connect to the database. :param username: The username of this DatabaseSslConnectionCredentials. :type: str Nr% )r r r r r! r � s c C s | j S )z� **[Required]** Gets the password of this DatabaseSslConnectionCredentials. The password that will be used to connect to the database. :return: The password of this DatabaseSslConnectionCredentials. :rtype: str �r r$ r r r! r � s z)DatabaseSslConnectionCredentials.passwordc C s || _ dS )z� Sets the password of this DatabaseSslConnectionCredentials. The password that will be used to connect to the database. :param password: The password of this DatabaseSslConnectionCredentials. :type: str Nr&