ruạṛ
a ���fG- � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� Connection� )�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 )�ConnectionFromHdfsz9 The connection details for the HDFS data asset. c K s� dddddddddddddddddddd d �| _ ddd dddddddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d | _dS )!a Initializes a new ConnectionFromHdfs object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.ConnectionFromHdfs.model_type` attribute of this class is ``HDFS_CONNECTION`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this ConnectionFromHdfs. Allowed values for this property are: "ORACLE_ADWC_CONNECTION", "ORACLE_ATP_CONNECTION", "ORACLE_OBJECT_STORAGE_CONNECTION", "ORACLEDB_CONNECTION", "MYSQL_CONNECTION", "GENERIC_JDBC_CONNECTION", "BICC_CONNECTION", "AMAZON_S3_CONNECTION", "BIP_CONNECTION", "LAKE_CONNECTION", "ORACLE_PEOPLESOFT_CONNECTION", "ORACLE_EBS_CONNECTION", "ORACLE_SIEBEL_CONNECTION", "HDFS_CONNECTION", "MYSQL_HEATWAVE_CONNECTION", "REST_NO_AUTH_CONNECTION", "REST_BASIC_AUTH_CONNECTION", "OAUTH2_CONNECTION" :type model_type: str :param key: The value to assign to the key property of this ConnectionFromHdfs. :type key: str :param model_version: The value to assign to the model_version property of this ConnectionFromHdfs. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this ConnectionFromHdfs. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this ConnectionFromHdfs. :type name: str :param description: The value to assign to the description property of this ConnectionFromHdfs. :type description: str :param object_version: The value to assign to the object_version property of this ConnectionFromHdfs. :type object_version: int :param object_status: The value to assign to the object_status property of this ConnectionFromHdfs. :type object_status: int :param identifier: The value to assign to the identifier property of this ConnectionFromHdfs. :type identifier: str :param primary_schema: The value to assign to the primary_schema property of this ConnectionFromHdfs. :type primary_schema: oci.data_integration.models.Schema :param connection_properties: The value to assign to the connection_properties property of this ConnectionFromHdfs. :type connection_properties: list[oci.data_integration.models.ConnectionProperty] :param is_default: The value to assign to the is_default property of this ConnectionFromHdfs. :type is_default: bool :param metadata: The value to assign to the metadata property of this ConnectionFromHdfs. :type metadata: oci.data_integration.models.ObjectMetadata :param key_map: The value to assign to the key_map property of this ConnectionFromHdfs. :type key_map: dict(str, str) :param hdfs_principal: The value to assign to the hdfs_principal property of this ConnectionFromHdfs. :type hdfs_principal: str :param data_node_principal: The value to assign to the data_node_principal property of this ConnectionFromHdfs. :type data_node_principal: str :param name_node_principal: The value to assign to the name_node_principal property of this ConnectionFromHdfs. :type name_node_principal: str :param realm: The value to assign to the realm property of this ConnectionFromHdfs. :type realm: str :param key_distribution_center: The value to assign to the key_distribution_center property of this ConnectionFromHdfs. :type key_distribution_center: str :param key_tab_content: The value to assign to the key_tab_content property of this ConnectionFromHdfs. :type key_tab_content: oci.data_integration.models.SensitiveAttribute �strZParentReference�intZSchemazlist[ConnectionProperty]�boolZObjectMetadatazdict(str, str)ZSensitiveAttribute)Z model_type�keyZ model_versionZ parent_ref�name�descriptionZobject_versionZ object_status� identifierZprimary_schemaZconnection_propertiesZ is_default�metadataZkey_map�hdfs_principal�data_node_principal�name_node_principal�realm�key_distribution_center�key_tab_contentZ modelTyper ZmodelVersionZ parentRefr r Z objectVersionZobjectStatusr Z primarySchemaZconnectionPropertiesZ isDefaultr ZkeyMapZ hdfsPrincipalZdataNodePrincipalZnameNodePrincipalr ZkeyDistributionCenterZ keyTabContentNZHDFS_CONNECTION)Z swagger_typesZ attribute_mapZ_model_typeZ_keyZ_model_versionZ_parent_ref�_nameZ_descriptionZ_object_versionZ_object_statusZ_identifierZ_primary_schemaZ_connection_propertiesZ_is_defaultZ _metadataZ_key_map�_hdfs_principal�_data_node_principal�_name_node_principal�_realm�_key_distribution_center�_key_tab_content)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/data_integration/models/connection_from_hdfs.py�__init__ s~ Y��zConnectionFromHdfs.__init__c C s | j S )z� **[Required]** Gets the hdfs_principal of this ConnectionFromHdfs. The HDFS principal. :return: The hdfs_principal of this ConnectionFromHdfs. :rtype: str �r �r r r r! r � s z!ConnectionFromHdfs.hdfs_principalc C s || _ dS )z� Sets the hdfs_principal of this ConnectionFromHdfs. The HDFS principal. :param hdfs_principal: The hdfs_principal of this ConnectionFromHdfs. :type: str Nr# )r r r r r! r � s c C s | j S )z� **[Required]** Gets the data_node_principal of this ConnectionFromHdfs. The HDFS Data Node principal. :return: The data_node_principal of this ConnectionFromHdfs. :rtype: str �r r$ r r r! r � s z&ConnectionFromHdfs.data_node_principalc C s || _ dS )z� Sets the data_node_principal of this ConnectionFromHdfs. The HDFS Data Node principal. :param data_node_principal: The data_node_principal of this ConnectionFromHdfs. :type: str Nr% )r r r r r! r � s c C s | j S )z� **[Required]** Gets the name_node_principal of this ConnectionFromHdfs. The HDFS Name Node principal. :return: The name_node_principal of this ConnectionFromHdfs. :rtype: str �r r$ r r r! r � s z&ConnectionFromHdfs.name_node_principalc C s || _ dS )z� Sets the name_node_principal of this ConnectionFromHdfs. The HDFS Name Node principal. :param name_node_principal: The name_node_principal of this ConnectionFromHdfs. :type: str Nr&