ruạṛ
a ���f�s � @ 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 Zd ZdZ dZd ZdZdZdZdZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Z e jd%d$� �Z ed&d'� �Z!e!jd(d'� �Z!ed)d*� �Z"e"jd+d*� �Z"ed,d-� �Z#e#jd.d-� �Z#ed/d0� �Z$e$jd1d0� �Z$ed2d3� �Z%e%jd4d3� �Z%ed5d6� �Z&e&jd7d6� �Z&ed8d9� �Z'e'jd:d9� �Z'ed;d<� �Z(e(jd=d<� �Z(ed>d?� �Z)e)jd@d?� �Z)edAdB� �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� �Z0e0jdUdT� �Z0edVdW� �Z1e1jdXdW� �Z1edYdZ� �Z2e2jd[dZ� �Z2ed\d]� �Z3e3jd^d]� �Z3d_d`� Z4dadb� Z5dcdd� Z6deS )f�BdsInstancez% Description of the cluster. �CREATING�ACTIVE�UPDATING� SUSPENDING� SUSPENDED�RESUMING�DELETING�DELETED�FAILED�INACTIVE�CDH5�CDH6�ODH1�ODH0_9�ODH2_0�HADOOP_EXTENDED�HADOOP�HIVE�SPARK�HBASE�TRINO�KAFKAc K s� dddddddddddddddddddd d ddd�| _ dd 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#S )$a� Initializes a new BdsInstance 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 BdsInstance. :type id: str :param compartment_id: The value to assign to the compartment_id property of this BdsInstance. :type compartment_id: str :param display_name: The value to assign to the display_name property of this BdsInstance. :type display_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this BdsInstance. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "SUSPENDING", "SUSPENDED", "RESUMING", "DELETING", "DELETED", "FAILED", "INACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param cluster_version: The value to assign to the cluster_version property of this BdsInstance. Allowed values for this property are: "CDH5", "CDH6", "ODH1", "ODH0_9", "ODH2_0", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type cluster_version: str :param is_high_availability: The value to assign to the is_high_availability property of this BdsInstance. :type is_high_availability: bool :param is_secure: The value to assign to the is_secure property of this BdsInstance. :type is_secure: bool :param is_cloud_sql_configured: The value to assign to the is_cloud_sql_configured property of this BdsInstance. :type is_cloud_sql_configured: bool :param is_kafka_configured: The value to assign to the is_kafka_configured property of this BdsInstance. :type is_kafka_configured: bool :param network_config: The value to assign to the network_config property of this BdsInstance. :type network_config: oci.bds.models.NetworkConfig :param cluster_details: The value to assign to the cluster_details property of this BdsInstance. :type cluster_details: oci.bds.models.ClusterDetails :param nodes: The value to assign to the nodes property of this BdsInstance. :type nodes: list[oci.bds.models.Node] :param cloud_sql_details: The value to assign to the cloud_sql_details property of this BdsInstance. :type cloud_sql_details: oci.bds.models.CloudSqlDetails :param created_by: The value to assign to the created_by property of this BdsInstance. :type created_by: str :param time_created: The value to assign to the time_created property of this BdsInstance. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this BdsInstance. :type time_updated: datetime :param number_of_nodes: The value to assign to the number_of_nodes property of this BdsInstance. :type number_of_nodes: int :param number_of_nodes_requiring_maintenance_reboot: The value to assign to the number_of_nodes_requiring_maintenance_reboot property of this BdsInstance. :type number_of_nodes_requiring_maintenance_reboot: int :param bootstrap_script_url: The value to assign to the bootstrap_script_url property of this BdsInstance. :type bootstrap_script_url: str :param freeform_tags: The value to assign to the freeform_tags property of this BdsInstance. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this BdsInstance. :type defined_tags: dict(str, dict(str, object)) :param kms_key_id: The value to assign to the kms_key_id property of this BdsInstance. :type kms_key_id: str :param cluster_profile: The value to assign to the cluster_profile property of this BdsInstance. Allowed values for this property are: "HADOOP_EXTENDED", "HADOOP", "HIVE", "SPARK", "HBASE", "TRINO", "KAFKA", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type cluster_profile: str �str�boolZ NetworkConfigZClusterDetailsz list[Node]ZCloudSqlDetailsZdatetime�intzdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�lifecycle_state�cluster_version�is_high_availability� is_secure�is_cloud_sql_configured�is_kafka_configured�network_config�cluster_details�nodes�cloud_sql_details� created_by�time_created�time_updated�number_of_nodes�,number_of_nodes_requiring_maintenance_reboot�bootstrap_script_url� freeform_tags�defined_tags� kms_key_id�cluster_profiler Z compartmentIdZdisplayNameZlifecycleStateZclusterVersionZisHighAvailabilityZisSecureZisCloudSqlConfiguredZisKafkaConfiguredZ networkConfigZclusterDetailsr+ ZcloudSqlDetailsZ createdByZtimeCreatedZtimeUpdatedZ numberOfNodesZ'numberOfNodesRequiringMaintenanceRebootZbootstrapScriptUrlZfreeformTagsZdefinedTagsZkmsKeyIdZclusterProfileN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name�_lifecycle_state�_cluster_version�_is_high_availability� _is_secure�_is_cloud_sql_configured�_is_kafka_configured�_network_config�_cluster_details�_nodes�_cloud_sql_details�_created_by� _time_created� _time_updated�_number_of_nodes�-_number_of_nodes_requiring_maintenance_reboot�_bootstrap_script_url�_freeform_tags� _defined_tags�_kms_key_id�_cluster_profile)�self�kwargs� rP �?/usr/lib/python3.9/site-packages/oci/bds/models/bds_instance.py�__init__j s� i��zBdsInstance.__init__c C s | j S )z� **[Required]** Gets the id of this BdsInstance. The OCID of the Big Data Service resource. :return: The id of this BdsInstance. :rtype: str �r7 �rN rP rP rQ r s zBdsInstance.idc C s || _ dS )z� Sets the id of this BdsInstance. The OCID of the Big Data Service resource. :param id: The id of this BdsInstance. :type: str NrS )rN r rP rP rQ r * s c C s | j S )z� **[Required]** Gets the compartment_id of this BdsInstance. The OCID of the compartment. :return: The compartment_id of this BdsInstance. :rtype: str �r8 rT rP rP rQ r! 6 s zBdsInstance.compartment_idc C s || _ dS )z� Sets the compartment_id of this BdsInstance. The OCID of the compartment. :param compartment_id: The compartment_id of this BdsInstance. :type: str NrU )rN r! rP rP rQ r! B s c C s | j S )z� **[Required]** Gets the display_name of this BdsInstance. The name of the cluster. :return: The display_name of this BdsInstance. :rtype: str �r9 rT rP rP rQ r"