ruạṛ
a ���f�A � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�BdsInstanceSummaryz: Summary details of the Big Data Service cluster. c K s� dddddddddddddddd�| _ dd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a� Initializes a new BdsInstanceSummary 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 BdsInstanceSummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this BdsInstanceSummary. :type compartment_id: str :param display_name: The value to assign to the display_name property of this BdsInstanceSummary. :type display_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this BdsInstanceSummary. :type lifecycle_state: str :param number_of_nodes: The value to assign to the number_of_nodes property of this BdsInstanceSummary. :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 BdsInstanceSummary. :type number_of_nodes_requiring_maintenance_reboot: int :param cluster_version: The value to assign to the cluster_version property of this BdsInstanceSummary. :type cluster_version: str :param is_high_availability: The value to assign to the is_high_availability property of this BdsInstanceSummary. :type is_high_availability: bool :param is_secure: The value to assign to the is_secure property of this BdsInstanceSummary. :type is_secure: bool :param is_cloud_sql_configured: The value to assign to the is_cloud_sql_configured property of this BdsInstanceSummary. :type is_cloud_sql_configured: bool :param is_kafka_configured: The value to assign to the is_kafka_configured property of this BdsInstanceSummary. :type is_kafka_configured: bool :param cluster_profile: The value to assign to the cluster_profile property of this BdsInstanceSummary. :type cluster_profile: str :param time_created: The value to assign to the time_created property of this BdsInstanceSummary. :type time_created: datetime :param freeform_tags: The value to assign to the freeform_tags property of this BdsInstanceSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this BdsInstanceSummary. :type defined_tags: dict(str, dict(str, object)) �str�int�boolZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�lifecycle_state�number_of_nodes�,number_of_nodes_requiring_maintenance_reboot�cluster_version�is_high_availability� is_secure�is_cloud_sql_configured�is_kafka_configured�cluster_profile�time_created� freeform_tags�defined_tagsr Z compartmentIdZdisplayNameZlifecycleStateZ numberOfNodesZ'numberOfNodesRequiringMaintenanceRebootZclusterVersionZisHighAvailabilityZisSecureZisCloudSqlConfiguredZisKafkaConfiguredZclusterProfileZtimeCreatedZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name�_lifecycle_state�_number_of_nodes�-_number_of_nodes_requiring_maintenance_reboot�_cluster_version�_is_high_availability� _is_secure�_is_cloud_sql_configured�_is_kafka_configured�_cluster_profile� _time_created�_freeform_tags� _defined_tags)�self�kwargs� r* �G/usr/lib/python3.9/site-packages/oci/bds/models/bds_instance_summary.py�__init__ s^ C��zBdsInstanceSummary.__init__c C s | j S )z� **[Required]** Gets the id of this BdsInstanceSummary. The OCID of the Big Data Service resource. :return: The id of this BdsInstanceSummary. :rtype: str �r �r( r* r* r+ r � s zBdsInstanceSummary.idc C s || _ dS )z� Sets the id of this BdsInstanceSummary. The OCID of the Big Data Service resource. :param id: The id of this BdsInstanceSummary. :type: str Nr- )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the compartment_id of this BdsInstanceSummary. The OCID of the compartment. :return: The compartment_id of this BdsInstanceSummary. :rtype: str �r r. r* r* r+ r � s z!BdsInstanceSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this BdsInstanceSummary. The OCID of the compartment. :param compartment_id: The compartment_id of this BdsInstanceSummary. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the display_name of this BdsInstanceSummary. The name of the cluster. :return: The display_name of this BdsInstanceSummary. :rtype: str �r r. r* r* r+ r � s zBdsInstanceSummary.display_namec C s || _ dS )z� Sets the display_name of this BdsInstanceSummary. The name of the cluster. :param display_name: The display_name of this BdsInstanceSummary. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the lifecycle_state of this BdsInstanceSummary. The state of the cluster. :return: The lifecycle_state of this BdsInstanceSummary. :rtype: str �r r. r* r* r+ r � s z"BdsInstanceSummary.lifecycle_statec C s || _ dS )z� Sets the lifecycle_state of this BdsInstanceSummary. The state of the cluster. :param lifecycle_state: The lifecycle_state of this BdsInstanceSummary. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the number_of_nodes of this BdsInstanceSummary. The number of nodes that form the cluster. :return: The number_of_nodes of this BdsInstanceSummary. :rtype: int �r r. r* r* r+ r � s z"BdsInstanceSummary.number_of_nodesc C s || _ dS )z� Sets the number_of_nodes of this BdsInstanceSummary. The number of nodes that form the cluster. :param number_of_nodes: The number_of_nodes of this BdsInstanceSummary. :type: int Nr2 )r( r r* r* r+ r � s c C s | j S )a Gets the number_of_nodes_requiring_maintenance_reboot of this BdsInstanceSummary. Number of nodes that require a maintenance reboot :return: The number_of_nodes_requiring_maintenance_reboot of this BdsInstanceSummary. :rtype: int �r r. r* r* r+ r s z?BdsInstanceSummary.number_of_nodes_requiring_maintenance_rebootc C s || _ dS )a< Sets the number_of_nodes_requiring_maintenance_reboot of this BdsInstanceSummary. Number of nodes that require a maintenance reboot :param number_of_nodes_requiring_maintenance_reboot: The number_of_nodes_requiring_maintenance_reboot of this BdsInstanceSummary. :type: int Nr3 )r( r r* r* r+ r s c C s | j S )z� Gets the cluster_version of this BdsInstanceSummary. Version of the Hadoop distribution. :return: The cluster_version of this BdsInstanceSummary. :rtype: str �r r. r* r* r+ r s z"BdsInstanceSummary.cluster_versionc C s || _ dS )z� Sets the cluster_version of this BdsInstanceSummary. Version of the Hadoop distribution. :param cluster_version: The cluster_version of this BdsInstanceSummary. :type: str Nr4 )r( r r* r* r+ r $ s c C s | j S )a **[Required]** Gets the is_high_availability of this BdsInstanceSummary. Boolean flag specifying whether or not the cluster is highly available(HA). :return: The is_high_availability of this BdsInstanceSummary. :rtype: bool �r r. r* r* r+ r 0 s z'BdsInstanceSummary.is_high_availabilityc C s || _ dS )a Sets the is_high_availability of this BdsInstanceSummary. Boolean flag specifying whether or not the cluster is highly available(HA). :param is_high_availability: The is_high_availability of this BdsInstanceSummary. :type: bool Nr5 )r( r r* r* r+ r < s c C s | j S )z� **[Required]** Gets the is_secure of this BdsInstanceSummary. Boolean flag specifying whether or not the cluster should be set up as secure. :return: The is_secure of this BdsInstanceSummary. :rtype: bool �r! r. r* r* r+ r H s zBdsInstanceSummary.is_securec C s || _ dS )z� Sets the is_secure of this BdsInstanceSummary. Boolean flag specifying whether or not the cluster should be set up as secure. :param is_secure: The is_secure of this BdsInstanceSummary. :type: bool Nr6 )r( r r* r* r+ r T s c C s | j S )a **[Required]** Gets the is_cloud_sql_configured of this BdsInstanceSummary. Boolean flag specifying whether Cloud SQL is configured or not. :return: The is_cloud_sql_configured of this BdsInstanceSummary. :rtype: bool �r"