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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�InstanceConfigurationz5 The model deployment instance configuration c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )aO Initializes a new InstanceConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param instance_shape_name: The value to assign to the instance_shape_name property of this InstanceConfiguration. :type instance_shape_name: str :param model_deployment_instance_shape_config_details: The value to assign to the model_deployment_instance_shape_config_details property of this InstanceConfiguration. :type model_deployment_instance_shape_config_details: oci.data_science.models.ModelDeploymentInstanceShapeConfigDetails :param subnet_id: The value to assign to the subnet_id property of this InstanceConfiguration. :type subnet_id: str �strZ)ModelDeploymentInstanceShapeConfigDetails)�instance_shape_name�.model_deployment_instance_shape_config_details� subnet_idZinstanceShapeNameZ)modelDeploymentInstanceShapeConfigDetailsZsubnetIdN)Z swagger_typesZ attribute_map�_instance_shape_name�/_model_deployment_instance_shape_config_details� _subnet_id)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/data_science/models/instance_configuration.py�__init__ s ��zInstanceConfiguration.__init__c C s | j S )z� **[Required]** Gets the instance_shape_name of this InstanceConfiguration. The shape used to launch the model deployment instances. :return: The instance_shape_name of this InstanceConfiguration. :rtype: str �r �r r r r r 4 s z)InstanceConfiguration.instance_shape_namec C s || _ dS )z� Sets the instance_shape_name of this InstanceConfiguration. The shape used to launch the model deployment instances. :param instance_shape_name: The instance_shape_name of this InstanceConfiguration. :type: str Nr )r r r r r r @ s c C s | j S )a Gets the model_deployment_instance_shape_config_details of this InstanceConfiguration. :return: The model_deployment_instance_shape_config_details of this InstanceConfiguration. :rtype: oci.data_science.models.ModelDeploymentInstanceShapeConfigDetails �r r r r r r L s zDInstanceConfiguration.model_deployment_instance_shape_config_detailsc C s || _ dS )aK Sets the model_deployment_instance_shape_config_details of this InstanceConfiguration. :param model_deployment_instance_shape_config_details: The model_deployment_instance_shape_config_details of this InstanceConfiguration. :type: oci.data_science.models.ModelDeploymentInstanceShapeConfigDetails Nr )r r r r r r V s c C s | j S )a� Gets the subnet_id of this InstanceConfiguration. A model deployment instance is provided with a VNIC for network access. This specifies the `OCID`__ of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The subnet_id of this InstanceConfiguration. :rtype: str �r r r r r r ` s zInstanceConfiguration.subnet_idc C s || _ dS )a� Sets the subnet_id of this InstanceConfiguration. A model deployment instance is provided with a VNIC for network access. This specifies the `OCID`__ of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param subnet_id: The subnet_id of this InstanceConfiguration. :type: str Nr )r r r r r r n s c C s t | �S �N)r r r r r �__repr__| s zInstanceConfiguration.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zInstanceConfiguration.__eq__c C s | |k S r r r r r r �__ne__� s zInstanceConfiguration.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"