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 )�ReencryptObjectDetailsaj The details used to re-encrypt the data encryption keys associated with an object. You can only specify either a kmsKeyId or an sseCustomerKey in the request payload, not both. If the request payload is empty, the object is encrypted using the encryption key assigned to the bucket. The bucket encryption mechanism can either be a master encryption key managed by Oracle or the Vault service. - The sseCustomerKey field specifies the customer-provided encryption key (SSE-C) that will be used to re-encrypt the data encryption keys of the object and its chunks. - The sourceSSECustomerKey field specifies information about the customer-provided encryption key that is currently associated with the object source. Specify a value for the sourceSSECustomerKey only if the object is encrypted with a customer-provided encryption key. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a" Initializes a new ReencryptObjectDetails 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 ReencryptObjectDetails. :type kms_key_id: str :param sse_customer_key: The value to assign to the sse_customer_key property of this ReencryptObjectDetails. :type sse_customer_key: oci.object_storage.models.SSECustomerKeyDetails :param source_sse_customer_key: The value to assign to the source_sse_customer_key property of this ReencryptObjectDetails. :type source_sse_customer_key: oci.object_storage.models.SSECustomerKeyDetails �strZSSECustomerKeyDetails)� kms_key_id�sse_customer_key�source_sse_customer_keyZkmsKeyIdZsseCustomerKeyZsourceSseCustomerKeyN)Z swagger_typesZ attribute_map�_kms_key_id�_sse_customer_key�_source_sse_customer_key)�self�kwargs� r �V/usr/lib/python3.9/site-packages/oci/object_storage/models/reencrypt_object_details.py�__init__ s ��zReencryptObjectDetails.__init__c C s | j S )a� Gets the kms_key_id of this ReencryptObjectDetails. The `OCID`__ of the master encryption key used to call the Vault service to re-encrypt the data encryption keys associated with the object and its chunks. If the kmsKeyId value is empty, whether null or an empty string, the API will perform re-encryption by using the kmsKeyId associated with the bucket or the master encryption key managed by Oracle, depending on the bucket encryption mechanism. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The kms_key_id of this ReencryptObjectDetails. :rtype: str �r �r r r r r >