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 ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Zdd� Zdd� ZdS )�CustomEncryptionKeyza Custom Encryption Key which will be used for encryption by all the streams in the pool. �ACTIVE�CREATING�DELETING�NONE�FAILED�UPDATINGc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new CustomEncryptionKey object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param kms_key_id: The value to assign to the kms_key_id property of this CustomEncryptionKey. :type kms_key_id: str :param key_state: The value to assign to the key_state property of this CustomEncryptionKey. Allowed values for this property are: "ACTIVE", "CREATING", "DELETING", "NONE", "FAILED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type key_state: str �str)� kms_key_id� key_stateZkmsKeyIdZkeyStateN)Z swagger_typesZ attribute_map�_kms_key_id� _key_state)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/streaming/models/custom_encryption_key.py�__init__* s ��zCustomEncryptionKey.__init__c C s | j S )z� Gets the kms_key_id of this CustomEncryptionKey. Custom Encryption Key (Master Key) ocid. :return: The kms_key_id of this CustomEncryptionKey. :rtype: str �r �r r r r r G s zCustomEncryptionKey.kms_key_idc C s || _ dS )z� Sets the kms_key_id of this CustomEncryptionKey. Custom Encryption Key (Master Key) ocid. :param kms_key_id: The kms_key_id of this CustomEncryptionKey. :type: str Nr )r r r r r r S s c C s | j S )a� Gets the key_state of this CustomEncryptionKey. Life cycle State of the custom key Allowed values for this property are: "ACTIVE", "CREATING", "DELETING", "NONE", "FAILED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The key_state of this CustomEncryptionKey. :rtype: str )r r r r r r _ s zCustomEncryptionKey.key_statec C s g d�}t ||�sd}|| _dS )z� Sets the key_state of this CustomEncryptionKey. Life cycle State of the custom key :param key_state: The key_state of this CustomEncryptionKey. :type: str )r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r n s c C s t | �S �N)r r r r r �__repr__} s zCustomEncryptionKey.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCustomEncryptionKey.__eq__c C s | |k S r r r r r r �__ne__� s zCustomEncryptionKey.__ne__N)�__name__� __module__�__qualname__�__doc__ZKEY_STATE_ACTIVEZKEY_STATE_CREATINGZKEY_STATE_DELETINGZKEY_STATE_NONEZKEY_STATE_FAILEDZKEY_STATE_UPDATINGr �propertyr �setterr r r r r r r r r s&