Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
data_integration
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: update_data_asset_from_hdfs.py
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430 from .update_data_asset_details import UpdateDataAssetDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class UpdateDataAssetFromHdfs(UpdateDataAssetDetails): """ Details for the HDFS data asset type. """ def __init__(self, **kwargs): """ Initializes a new UpdateDataAssetFromHdfs object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.UpdateDataAssetFromHdfs.model_type` attribute of this class is ``HDFS_DATA_ASSET`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this UpdateDataAssetFromHdfs. Allowed values for this property are: "ORACLE_DATA_ASSET", "ORACLE_OBJECT_STORAGE_DATA_ASSET", "ORACLE_ATP_DATA_ASSET", "ORACLE_ADWC_DATA_ASSET", "MYSQL_DATA_ASSET", "GENERIC_JDBC_DATA_ASSET", "FUSION_APP_DATA_ASSET", "AMAZON_S3_DATA_ASSET", "LAKE_DATA_ASSET", "ORACLE_PEOPLESOFT_DATA_ASSET", "ORACLE_SIEBEL_DATA_ASSET", "ORACLE_EBS_DATA_ASSET", "HDFS_DATA_ASSET", "MYSQL_HEATWAVE_DATA_ASSET", "REST_DATA_ASSET" :type model_type: str :param key: The value to assign to the key property of this UpdateDataAssetFromHdfs. :type key: str :param model_version: The value to assign to the model_version property of this UpdateDataAssetFromHdfs. :type model_version: str :param name: The value to assign to the name property of this UpdateDataAssetFromHdfs. :type name: str :param description: The value to assign to the description property of this UpdateDataAssetFromHdfs. :type description: str :param object_status: The value to assign to the object_status property of this UpdateDataAssetFromHdfs. :type object_status: int :param object_version: The value to assign to the object_version property of this UpdateDataAssetFromHdfs. :type object_version: int :param identifier: The value to assign to the identifier property of this UpdateDataAssetFromHdfs. :type identifier: str :param external_key: The value to assign to the external_key property of this UpdateDataAssetFromHdfs. :type external_key: str :param asset_properties: The value to assign to the asset_properties property of this UpdateDataAssetFromHdfs. :type asset_properties: dict(str, str) :param registry_metadata: The value to assign to the registry_metadata property of this UpdateDataAssetFromHdfs. :type registry_metadata: oci.data_integration.models.RegistryMetadata :param host: The value to assign to the host property of this UpdateDataAssetFromHdfs. :type host: str :param port: The value to assign to the port property of this UpdateDataAssetFromHdfs. :type port: str :param protocol: The value to assign to the protocol property of this UpdateDataAssetFromHdfs. :type protocol: str :param validate_certificate: The value to assign to the validate_certificate property of this UpdateDataAssetFromHdfs. :type validate_certificate: bool :param default_connection: The value to assign to the default_connection property of this UpdateDataAssetFromHdfs. :type default_connection: oci.data_integration.models.UpdateConnectionFromHdfs """ self.swagger_types = { 'model_type': 'str', 'key': 'str', 'model_version': 'str', 'name': 'str', 'description': 'str', 'object_status': 'int', 'object_version': 'int', 'identifier': 'str', 'external_key': 'str', 'asset_properties': 'dict(str, str)', 'registry_metadata': 'RegistryMetadata', 'host': 'str', 'port': 'str', 'protocol': 'str', 'validate_certificate': 'bool', 'default_connection': 'UpdateConnectionFromHdfs' } self.attribute_map = { 'model_type': 'modelType', 'key': 'key', 'model_version': 'modelVersion', 'name': 'name', 'description': 'description', 'object_status': 'objectStatus', 'object_version': 'objectVersion', 'identifier': 'identifier', 'external_key': 'externalKey', 'asset_properties': 'assetProperties', 'registry_metadata': 'registryMetadata', 'host': 'host', 'port': 'port', 'protocol': 'protocol', 'validate_certificate': 'validateCertificate', 'default_connection': 'defaultConnection' } self._model_type = None self._key = None self._model_version = None self._name = None self._description = None self._object_status = None self._object_version = None self._identifier = None self._external_key = None self._asset_properties = None self._registry_metadata = None self._host = None self._port = None self._protocol = None self._validate_certificate = None self._default_connection = None self._model_type = 'HDFS_DATA_ASSET' @property def host(self): """ **[Required]** Gets the host of this UpdateDataAssetFromHdfs. The HDFS hostname. :return: The host of this UpdateDataAssetFromHdfs. :rtype: str """ return self._host @host.setter def host(self, host): """ Sets the host of this UpdateDataAssetFromHdfs. The HDFS hostname. :param host: The host of this UpdateDataAssetFromHdfs. :type: str """ self._host = host @property def port(self): """ **[Required]** Gets the port of this UpdateDataAssetFromHdfs. The HDFS port. :return: The port of this UpdateDataAssetFromHdfs. :rtype: str """ return self._port @port.setter def port(self, port): """ Sets the port of this UpdateDataAssetFromHdfs. The HDFS port. :param port: The port of this UpdateDataAssetFromHdfs. :type: str """ self._port = port @property def protocol(self): """ **[Required]** Gets the protocol of this UpdateDataAssetFromHdfs. The HDFS Protocol name. :return: The protocol of this UpdateDataAssetFromHdfs. :rtype: str """ return self._protocol @protocol.setter def protocol(self, protocol): """ Sets the protocol of this UpdateDataAssetFromHdfs. The HDFS Protocol name. :param protocol: The protocol of this UpdateDataAssetFromHdfs. :type: str """ self._protocol = protocol @property def validate_certificate(self): """ Gets the validate_certificate of this UpdateDataAssetFromHdfs. Specifies whether certificate validation is needed :return: The validate_certificate of this UpdateDataAssetFromHdfs. :rtype: bool """ return self._validate_certificate @validate_certificate.setter def validate_certificate(self, validate_certificate): """ Sets the validate_certificate of this UpdateDataAssetFromHdfs. Specifies whether certificate validation is needed :param validate_certificate: The validate_certificate of this UpdateDataAssetFromHdfs. :type: bool """ self._validate_certificate = validate_certificate @property def default_connection(self): """ **[Required]** Gets the default_connection of this UpdateDataAssetFromHdfs. :return: The default_connection of this UpdateDataAssetFromHdfs. :rtype: oci.data_integration.models.UpdateConnectionFromHdfs """ return self._default_connection @default_connection.setter def default_connection(self, default_connection): """ Sets the default_connection of this UpdateDataAssetFromHdfs. :param default_connection: The default_connection of this UpdateDataAssetFromHdfs. :type: oci.data_integration.models.UpdateConnectionFromHdfs """ self._default_connection = default_connection def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other