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 ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;d<� �Zejd=d<� �Zed>d?� �Zejd@d?� �ZedAdB� �Z e jdCdB� �Z edDdE� �Z!e!jdFdE� �Z!edGdH� �Z"e"jdIdH� �Z"edJdK� �Z#e#jdLdK� �Z#edMdN� �Z$e$jdOdN� �Z$edPdQ� �Z%e%jdRdQ� �Z%edSdT� �Z&e&jdUdT� �Z&edVdW� �Z'e'jdXdW� �Z'dYdZ� Z(d[d\� Z)d]d^� Z*d_S )`�SqlEndpointSummaryz( A summary of the Sql Endpoint. �CREATING�ACTIVE�DELETING�DELETED�FAILED�UPDATING�NEEDS_ATTENTIONc K s ddddddddddddddddddddddddddd�| _ d d ddd ddddddddddddddddddd 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 SqlEndpointSummary 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 SqlEndpointSummary. :type id: str :param display_name: The value to assign to the display_name property of this SqlEndpointSummary. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this SqlEndpointSummary. :type compartment_id: str :param jdbc_endpoint_url: The value to assign to the jdbc_endpoint_url property of this SqlEndpointSummary. :type jdbc_endpoint_url: str :param time_created: The value to assign to the time_created property of this SqlEndpointSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SqlEndpointSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this SqlEndpointSummary. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param state_message: The value to assign to the state_message property of this SqlEndpointSummary. :type state_message: str :param sql_endpoint_version: The value to assign to the sql_endpoint_version property of this SqlEndpointSummary. :type sql_endpoint_version: str :param driver_shape: The value to assign to the driver_shape property of this SqlEndpointSummary. :type driver_shape: str :param driver_shape_config: The value to assign to the driver_shape_config property of this SqlEndpointSummary. :type driver_shape_config: oci.data_flow.models.ShapeConfig :param executor_shape: The value to assign to the executor_shape property of this SqlEndpointSummary. :type executor_shape: str :param executor_shape_config: The value to assign to the executor_shape_config property of this SqlEndpointSummary. :type executor_shape_config: oci.data_flow.models.ShapeConfig :param min_executor_count: The value to assign to the min_executor_count property of this SqlEndpointSummary. :type min_executor_count: int :param max_executor_count: The value to assign to the max_executor_count property of this SqlEndpointSummary. :type max_executor_count: int :param owner_principal_id: The value to assign to the owner_principal_id property of this SqlEndpointSummary. :type owner_principal_id: str :param metastore_id: The value to assign to the metastore_id property of this SqlEndpointSummary. :type metastore_id: str :param lake_id: The value to assign to the lake_id property of this SqlEndpointSummary. :type lake_id: str :param warehouse_bucket_uri: The value to assign to the warehouse_bucket_uri property of this SqlEndpointSummary. :type warehouse_bucket_uri: str :param description: The value to assign to the description property of this SqlEndpointSummary. :type description: str :param last_accepted_request_token: The value to assign to the last_accepted_request_token property of this SqlEndpointSummary. :type last_accepted_request_token: str :param freeform_tags: The value to assign to the freeform_tags property of this SqlEndpointSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this SqlEndpointSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this SqlEndpointSummary. :type system_tags: dict(str, dict(str, object)) :param spark_advanced_configurations: The value to assign to the spark_advanced_configurations property of this SqlEndpointSummary. :type spark_advanced_configurations: dict(str, str) :param network_configuration: The value to assign to the network_configuration property of this SqlEndpointSummary. :type network_configuration: oci.data_flow.models.SqlEndpointNetworkConfiguration �strZdatetimeZShapeConfig�intzdict(str, str)zdict(str, dict(str, object))ZSqlEndpointNetworkConfiguration)�id�display_name�compartment_id�jdbc_endpoint_url�time_created�time_updated�lifecycle_state� state_message�sql_endpoint_version�driver_shape�driver_shape_config�executor_shape�executor_shape_config�min_executor_count�max_executor_count�owner_principal_id�metastore_id�lake_id�warehouse_bucket_uri�description�last_accepted_request_token� freeform_tags�defined_tags�system_tags�spark_advanced_configurations�network_configurationr ZdisplayNameZ compartmentIdZjdbcEndpointUrlZtimeCreatedZtimeUpdatedZlifecycleStateZstateMessageZsqlEndpointVersionZdriverShapeZdriverShapeConfigZ executorShapeZexecutorShapeConfigZminExecutorCountZmaxExecutorCountZownerPrincipalIdZmetastoreIdZlakeIdZwarehouseBucketUrir# ZlastAcceptedRequestTokenZfreeformTagsZdefinedTagsZ systemTagsZsparkAdvancedConfigurationsZnetworkConfigurationN)Z swagger_typesZ attribute_map�_id� _display_name�_compartment_id�_jdbc_endpoint_url� _time_created� _time_updated�_lifecycle_state�_state_message�_sql_endpoint_version� _driver_shape�_driver_shape_config�_executor_shape�_executor_shape_config�_min_executor_count�_max_executor_count�_owner_principal_id� _metastore_id�_lake_id�_warehouse_bucket_uri�_description�_last_accepted_request_token�_freeform_tags� _defined_tags�_system_tags�_spark_advanced_configurations�_network_configuration)�self�kwargs� rF �M/usr/lib/python3.9/site-packages/oci/data_flow/models/sql_endpoint_summary.py�__init__. s� q��zSqlEndpointSummary.__init__c C s | j S )z� **[Required]** Gets the id of this SqlEndpointSummary. The provision identifier that is immutable on creation. :return: The id of this SqlEndpointSummary. :rtype: str �r* �rD rF rF rG r � s zSqlEndpointSummary.idc C s || _ dS )z� Sets the id of this SqlEndpointSummary. The provision identifier that is immutable on creation. :param id: The id of this SqlEndpointSummary. :type: str NrI )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the display_name of this SqlEndpointSummary. The SQL Endpoint name, which can be changed. :return: The display_name of this SqlEndpointSummary. :rtype: str �r+ rJ rF rF rG r s zSqlEndpointSummary.display_namec C s || _ dS )z� Sets the display_name of this SqlEndpointSummary. The SQL Endpoint name, which can be changed. :param display_name: The display_name of this SqlEndpointSummary. :type: str NrK )rD r rF rF rG r s c C s | j S )z� **[Required]** Gets the compartment_id of this SqlEndpointSummary. The OCID of a compartment. :return: The compartment_id of this SqlEndpointSummary. :rtype: str �r, rJ rF rF rG r # s z!SqlEndpointSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this SqlEndpointSummary. The OCID of a compartment. :param compartment_id: The compartment_id of this SqlEndpointSummary. :type: str NrL )rD r rF rF rG r / s c C s | j S )a Gets the jdbc_endpoint_url of this SqlEndpointSummary. The JDBC URL field. For example, jdbc:spark://{serviceFQDN}:443/default;SparkServerType=DFI :return: The jdbc_endpoint_url of this SqlEndpointSummary. :rtype: str �r- rJ rF rF rG r ; s z$SqlEndpointSummary.jdbc_endpoint_urlc C s || _ dS )a Sets the jdbc_endpoint_url of this SqlEndpointSummary. The JDBC URL field. For example, jdbc:spark://{serviceFQDN}:443/default;SparkServerType=DFI :param jdbc_endpoint_url: The jdbc_endpoint_url of this SqlEndpointSummary. :type: str NrM )rD r rF rF rG r G s c C s | j S )z� Gets the time_created of this SqlEndpointSummary. The time the Sql Endpoint was created. An RFC3339 formatted datetime string. :return: The time_created of this SqlEndpointSummary. :rtype: datetime �r. rJ rF rF rG r S s zSqlEndpointSummary.time_createdc C s || _ dS )z� Sets the time_created of this SqlEndpointSummary. The time the Sql Endpoint was created. An RFC3339 formatted datetime string. :param time_created: The time_created of this SqlEndpointSummary. :type: datetime NrN )rD r rF rF rG r _ s c C s | j S )z� Gets the time_updated of this SqlEndpointSummary. The time the Sql Endpoint was updated. An RFC3339 formatted datetime string. :return: The time_updated of this SqlEndpointSummary. :rtype: datetime �r/ rJ rF rF rG r k s zSqlEndpointSummary.time_updatedc C s || _ dS )z� Sets the time_updated of this SqlEndpointSummary. The time the Sql Endpoint was updated. An RFC3339 formatted datetime string. :param time_updated: The time_updated of this SqlEndpointSummary. :type: datetime NrO )rD r rF rF rG r w s c C s | j S )a� Gets the lifecycle_state of this SqlEndpointSummary. The current state of the Sql Endpoint. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this SqlEndpointSummary. :rtype: str )r0 rJ rF rF rG r � s z"SqlEndpointSummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this SqlEndpointSummary. The current state of the Sql Endpoint. :param lifecycle_state: The lifecycle_state of this SqlEndpointSummary. :type: str )r r r r r r r ZUNKNOWN_ENUM_VALUEN)r r0 )rD r Zallowed_valuesrF rF rG r � s c C s | j S )aw Gets the state_message of this SqlEndpointSummary. A message describing the reason why the resource is in it's current state. Helps bubble up errors in state changes. For example, it can be used to provide actionable information for a resource in the Failed state. :return: The state_message of this SqlEndpointSummary. :rtype: str �r1 rJ rF rF rG r � s z SqlEndpointSummary.state_messagec C s || _ dS )a� Sets the state_message of this SqlEndpointSummary. A message describing the reason why the resource is in it's current state. Helps bubble up errors in state changes. For example, it can be used to provide actionable information for a resource in the Failed state. :param state_message: The state_message of this SqlEndpointSummary. :type: str NrP )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the sql_endpoint_version of this SqlEndpointSummary. The version of SQL Endpoint. :return: The sql_endpoint_version of this SqlEndpointSummary. :rtype: str �r2 rJ rF rF rG r � s z'SqlEndpointSummary.sql_endpoint_versionc C s || _ dS )z� Sets the sql_endpoint_version of this SqlEndpointSummary. The version of SQL Endpoint. :param sql_endpoint_version: The sql_endpoint_version of this SqlEndpointSummary. :type: str NrQ )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the driver_shape of this SqlEndpointSummary. The shape of the SQL Endpoint driver instance. :return: The driver_shape of this SqlEndpointSummary. :rtype: str �r3 rJ rF rF rG r � s zSqlEndpointSummary.driver_shapec C s || _ dS )z� Sets the driver_shape of this SqlEndpointSummary. The shape of the SQL Endpoint driver instance. :param driver_shape: The driver_shape of this SqlEndpointSummary. :type: str NrR )rD r rF rF rG r � s c C s | j S )z� Gets the driver_shape_config of this SqlEndpointSummary. :return: The driver_shape_config of this SqlEndpointSummary. :rtype: oci.data_flow.models.ShapeConfig �r4 rJ rF rF rG r � s z&SqlEndpointSummary.driver_shape_configc C s || _ dS )z� Sets the driver_shape_config of this SqlEndpointSummary. :param driver_shape_config: The driver_shape_config of this SqlEndpointSummary. :type: oci.data_flow.models.ShapeConfig NrS )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the executor_shape of this SqlEndpointSummary. The shape of the SQL Endpoint executor instance. :return: The executor_shape of this SqlEndpointSummary. :rtype: str �r5 rJ rF rF rG r � s z!SqlEndpointSummary.executor_shapec C s || _ dS )z� Sets the executor_shape of this SqlEndpointSummary. The shape of the SQL Endpoint executor instance. :param executor_shape: The executor_shape of this SqlEndpointSummary. :type: str NrT )rD r rF rF rG r s c C s | j S )z� Gets the executor_shape_config of this SqlEndpointSummary. :return: The executor_shape_config of this SqlEndpointSummary. :rtype: oci.data_flow.models.ShapeConfig �r6 rJ rF rF rG r s z(SqlEndpointSummary.executor_shape_configc C s || _ dS )z� Sets the executor_shape_config of this SqlEndpointSummary. :param executor_shape_config: The executor_shape_config of this SqlEndpointSummary. :type: oci.data_flow.models.ShapeConfig NrU )rD r rF rF rG r s c C s | j S )z� **[Required]** Gets the min_executor_count of this SqlEndpointSummary. The minimum number of executors. :return: The min_executor_count of this SqlEndpointSummary. :rtype: int �r7 rJ rF rF rG r ) s z%SqlEndpointSummary.min_executor_countc C s || _ dS )z� Sets the min_executor_count of this SqlEndpointSummary. The minimum number of executors. :param min_executor_count: The min_executor_count of this SqlEndpointSummary. :type: int NrV )rD r rF rF rG r 5 s c C s | j S )z� **[Required]** Gets the max_executor_count of this SqlEndpointSummary. The maximum number of executors. :return: The max_executor_count of this SqlEndpointSummary. :rtype: int �r8 rJ rF rF rG r A s z%SqlEndpointSummary.max_executor_countc C s || _ dS )z� Sets the max_executor_count of this SqlEndpointSummary. The maximum number of executors. :param max_executor_count: The max_executor_count of this SqlEndpointSummary. :type: int NrW )rD r rF rF rG r M s c C s | j S )z� Gets the owner_principal_id of this SqlEndpointSummary. The OCID of the user who created the resource. :return: The owner_principal_id of this SqlEndpointSummary. :rtype: str �r9 rJ rF rF rG r Y s z%SqlEndpointSummary.owner_principal_idc C s || _ dS )z� Sets the owner_principal_id of this SqlEndpointSummary. The OCID of the user who created the resource. :param owner_principal_id: The owner_principal_id of this SqlEndpointSummary. :type: str NrX )rD r rF rF rG r e s c C s | j S )z� **[Required]** Gets the metastore_id of this SqlEndpointSummary. The OCID of OCI Hive Metastore. :return: The metastore_id of this SqlEndpointSummary. :rtype: str �r: rJ rF rF rG r q s zSqlEndpointSummary.metastore_idc C s || _ dS )z� Sets the metastore_id of this SqlEndpointSummary. The OCID of OCI Hive Metastore. :param metastore_id: The metastore_id of this SqlEndpointSummary. :type: str NrY )rD r rF rF rG r } s c C s | j S )z� **[Required]** Gets the lake_id of this SqlEndpointSummary. The OCID of OCI Lake. :return: The lake_id of this SqlEndpointSummary. :rtype: str �r; rJ rF rF rG r! � s zSqlEndpointSummary.lake_idc C s || _ dS )z� Sets the lake_id of this SqlEndpointSummary. The OCID of OCI Lake. :param lake_id: The lake_id of this SqlEndpointSummary. :type: str NrZ )rD r! rF rF rG r! � s c C s | j S )au **[Required]** Gets the warehouse_bucket_uri of this SqlEndpointSummary. The warehouse bucket URI. It is a Oracle Cloud Infrastructure Object Storage bucket URI as defined here https://docs.oracle.com/en/cloud/paas/atp-cloud/atpud/object-storage-uris.html :return: The warehouse_bucket_uri of this SqlEndpointSummary. :rtype: str �r<