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 )�ClusterEndpointConfigzX The properties that define the network configuration for the Cluster endpoint. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a� Initializes a new ClusterEndpointConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param subnet_id: The value to assign to the subnet_id property of this ClusterEndpointConfig. :type subnet_id: str :param nsg_ids: The value to assign to the nsg_ids property of this ClusterEndpointConfig. :type nsg_ids: list[str] :param is_public_ip_enabled: The value to assign to the is_public_ip_enabled property of this ClusterEndpointConfig. :type is_public_ip_enabled: bool �strz list[str]�bool)� subnet_id�nsg_ids�is_public_ip_enabledZsubnetIdZnsgIdsZisPublicIpEnabledN)Z swagger_typesZ attribute_map� _subnet_id�_nsg_ids�_is_public_ip_enabled)�self�kwargs� r �W/usr/lib/python3.9/site-packages/oci/container_engine/models/cluster_endpoint_config.py�__init__ s ��zClusterEndpointConfig.__init__c C s | j S )z� Gets the subnet_id of this ClusterEndpointConfig. The OCID of the regional subnet in which to place the Cluster endpoint. :return: The subnet_id of this ClusterEndpointConfig. :rtype: str �r �r r r r r 4 s zClusterEndpointConfig.subnet_idc C s || _ dS )z� Sets the subnet_id of this ClusterEndpointConfig. The OCID of the regional subnet in which to place the Cluster endpoint. :param subnet_id: The subnet_id of this ClusterEndpointConfig. :type: str Nr )r r r r r r @ s c C s | j S )aA Gets the nsg_ids of this ClusterEndpointConfig. A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see :class:`NetworkSecurityGroup`. :return: The nsg_ids of this ClusterEndpointConfig. :rtype: list[str] �r r r r r r L s zClusterEndpointConfig.nsg_idsc C s || _ dS )aG Sets the nsg_ids of this ClusterEndpointConfig. A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see :class:`NetworkSecurityGroup`. :param nsg_ids: The nsg_ids of this ClusterEndpointConfig. :type: list[str] Nr )r r r r r r X s c C s | j S )aM Gets the is_public_ip_enabled of this ClusterEndpointConfig. Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail. :return: The is_public_ip_enabled of this ClusterEndpointConfig. :rtype: bool �r r r r r r d s z*ClusterEndpointConfig.is_public_ip_enabledc C s || _ dS )a` Sets the is_public_ip_enabled of this ClusterEndpointConfig. Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail. :param is_public_ip_enabled: The is_public_ip_enabled of this ClusterEndpointConfig. :type: bool Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s zClusterEndpointConfig.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zClusterEndpointConfig.__eq__c C s | |k S r r r r r r �__ne__� s zClusterEndpointConfig.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"