ruạṛ
a N��f�h � @ 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 ZdZdZdZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �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#jd0d/� �Z#ed1d2� �Z$e$jd3d2� �Z$ed4d5� �Z%e%jd6d5� �Z%ed7d8� �Z&e&jd9d8� �Z&ed:d;� �Z'e'jd<d;� �Z'ed=d>� �Z(e(jd?d>� �Z(ed@dA� �Z)e)jdBdA� �Z)edCdD� �Z*e*jdEdD� �Z*edFdG� �Z+e+jdHdG� �Z+edIdJ� �Z,e,jdKdJ� �Z,edLdM� �Z-e-jdNdM� �Z-edOdP� �Z.e.jdQdP� �Z.edRdS� �Z/e/jdTdS� �Z/edUdV� �Z0e0jdWdV� �Z0dXdY� Z1dZd[� Z2d\d]� Z3d^S )_�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�TRINOc K s� dddddddddddddddddd 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!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 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 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", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type cluster_profile: str �str�bool� NetworkConfig�ClusterDetailsz list[Node]�CloudSqlDetails�datetime�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�network_config�cluster_details�nodes�cloud_sql_details� created_by�time_created�time_updated�number_of_nodes�bootstrap_script_url� freeform_tags�defined_tags� kms_key_id�cluster_profiler# � compartmentId�displayName�lifecycleState�clusterVersion�isHighAvailability�isSecure�isCloudSqlConfigured� networkConfig�clusterDetailsr- �cloudSqlDetails� createdBy�timeCreated�timeUpdated� numberOfNodes�bootstrapScriptUrl�freeformTags�definedTags�kmsKeyId�clusterProfileN)� swagger_types� attribute_map�_id�_compartment_id� _display_name�_lifecycle_state�_cluster_version�_is_high_availability� _is_secure�_is_cloud_sql_configured�_network_config�_cluster_details�_nodes�_cloud_sql_details�_created_by� _time_created� _time_updated�_number_of_nodes�_bootstrap_script_url�_freeform_tags� _defined_tags�_kms_key_id�_cluster_profile)�self�kwargs� rd �/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/bds/models/bds_instance.py�__init__d s� a��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 �rM �rb rd rd re 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 Nrg )rb r# rd rd re 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 �rN rh rd rd re r$ " 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 Nri )rb r$ rd rd re r$ . 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 �rO rh rd rd re r% : s zBdsInstance.display_namec C s || _ dS )z� Sets the display_name of this BdsInstance. The name of the cluster. :param display_name: The display_name of this BdsInstance. :type: str Nrj )rb r% rd rd re r% F s c C s | j S )a� **[Required]** Gets the lifecycle_state of this BdsInstance. The state of the cluster. 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'. :return: The lifecycle_state of this BdsInstance. :rtype: str )rP rh rd rd re r&