a f^@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d d ZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZed d!Zejd"d!Zed#d$Zejd%d$Zed&d'Zejd(d'Zed)d*Zejd+d*Zed,d-Zejd.d-Zed/d0Zejd1d0Zed2d3Zejd4d3Zed5d6Zejd7d6Zed8d9Zejd:d9Zed;d<Z e jd=d<Z ed>d?Z!e!jd@d?Z!edAdBZ"e"jdCdBZ"edDdEZ#e#jdFdEZ#edGdHZ$e$jdIdHZ$edJdKZ%e%jdLdKZ%edMdNZ&e&jdOdNZ&edPdQZ'e'jdRdQZ'edSdTZ(e(jdUdTZ(edVdWZ)e)jdXdWZ)edYdZZ*e*jd[dZZ*ed\d]Z+e+jd^d]Z+ed_d`Z,e,jdad`Z,edbdcZ-e-jdddcZ-ededfZ.e.jdgdfZ.edhdiZ/e/jdjdiZ/edkdlZ0e0jdmdlZ0edndoZ1e1jdpdoZ1edqdrZ2e2jdsdrZ2dtduZ3dvdwZ4dxdyZ5dzS){ Applicationz) A Data Flow application object. SCALAJAVAPYTHONSQLACTIVEDELETEDINACTIVEBATCH STREAMINGSESSIONc#Kshddddddddddddddddddddddddddddd d ddddd "|_d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d "|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_ d-|_ d-|_ d-|_ d-|_ d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_d-|_ d-|_!d-|_"d-|_#d-S).a Initializes a new Application object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param application_log_config: The value to assign to the application_log_config property of this Application. :type application_log_config: oci.data_flow.models.ApplicationLogConfig :param archive_uri: The value to assign to the archive_uri property of this Application. :type archive_uri: str :param arguments: The value to assign to the arguments property of this Application. :type arguments: list[str] :param class_name: The value to assign to the class_name property of this Application. :type class_name: str :param configuration: The value to assign to the configuration property of this Application. :type configuration: dict(str, str) :param compartment_id: The value to assign to the compartment_id property of this Application. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this Application. :type defined_tags: dict(str, dict(str, object)) :param description: The value to assign to the description property of this Application. :type description: str :param display_name: The value to assign to the display_name property of this Application. :type display_name: str :param driver_shape: The value to assign to the driver_shape property of this Application. :type driver_shape: str :param driver_shape_config: The value to assign to the driver_shape_config property of this Application. :type driver_shape_config: oci.data_flow.models.ShapeConfig :param execute: The value to assign to the execute property of this Application. :type execute: str :param executor_shape: The value to assign to the executor_shape property of this Application. :type executor_shape: str :param executor_shape_config: The value to assign to the executor_shape_config property of this Application. :type executor_shape_config: oci.data_flow.models.ShapeConfig :param file_uri: The value to assign to the file_uri property of this Application. :type file_uri: str :param freeform_tags: The value to assign to the freeform_tags property of this Application. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this Application. :type id: str :param language: The value to assign to the language property of this Application. Allowed values for this property are: "SCALA", "JAVA", "PYTHON", "SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type language: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Application. Allowed values for this property are: "ACTIVE", "DELETED", "INACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param logs_bucket_uri: The value to assign to the logs_bucket_uri property of this Application. :type logs_bucket_uri: str :param metastore_id: The value to assign to the metastore_id property of this Application. :type metastore_id: str :param num_executors: The value to assign to the num_executors property of this Application. :type num_executors: int :param owner_principal_id: The value to assign to the owner_principal_id property of this Application. :type owner_principal_id: str :param owner_user_name: The value to assign to the owner_user_name property of this Application. :type owner_user_name: str :param parameters: The value to assign to the parameters property of this Application. :type parameters: list[oci.data_flow.models.ApplicationParameter] :param pool_id: The value to assign to the pool_id property of this Application. :type pool_id: str :param private_endpoint_id: The value to assign to the private_endpoint_id property of this Application. :type private_endpoint_id: str :param spark_version: The value to assign to the spark_version property of this Application. :type spark_version: str :param time_created: The value to assign to the time_created property of this Application. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Application. :type time_updated: datetime :param type: The value to assign to the type property of this Application. Allowed values for this property are: "BATCH", "STREAMING", "SESSION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param warehouse_bucket_uri: The value to assign to the warehouse_bucket_uri property of this Application. :type warehouse_bucket_uri: str :param max_duration_in_minutes: The value to assign to the max_duration_in_minutes property of this Application. :type max_duration_in_minutes: int :param idle_timeout_in_minutes: The value to assign to the idle_timeout_in_minutes property of this Application. :type idle_timeout_in_minutes: int ZApplicationLogConfigstrz list[str]zdict(str, str)zdict(str, dict(str, object))Z ShapeConfigintzlist[ApplicationParameter]Zdatetime)"application_log_config archive_uri arguments class_name configurationcompartment_id defined_tags description display_name driver_shapedriver_shape_configexecuteexecutor_shapeexecutor_shape_configfile_uri freeform_tagsidlanguagelifecycle_statelogs_bucket_uri metastore_id num_executorsowner_principal_idowner_user_name parameterspool_idprivate_endpoint_id spark_version time_created time_updatedtypewarehouse_bucket_urimax_duration_in_minutesidle_timeout_in_minutesZapplicationLogConfigZ archiveUrirZ classNamerZ compartmentIdZ definedTagsrZ displayNameZ driverShapeZdriverShapeConfigrZ executorShapeZexecutorShapeConfigZfileUriZ freeformTagsr#r$ZlifecycleStateZ logsBucketUriZ metastoreIdZ numExecutorsZownerPrincipalIdZ ownerUserNamer+ZpoolIdZprivateEndpointIdZ sparkVersionZ timeCreatedZ timeUpdatedr1ZwarehouseBucketUriZmaxDurationInMinutesZidleTimeoutInMinutesN)$Z swagger_typesZ attribute_map_application_log_config _archive_uri _arguments _class_name_configuration_compartment_id _defined_tags _description _display_name _driver_shape_driver_shape_config_execute_executor_shape_executor_shape_config _file_uri_freeform_tags_id _language_lifecycle_state_logs_bucket_uri _metastore_id_num_executors_owner_principal_id_owner_user_name _parameters_pool_id_private_endpoint_id_spark_version _time_created _time_updated_type_warehouse_bucket_uri_max_duration_in_minutes_idle_timeout_in_minutes)selfkwargsrYD/usr/lib/python3.9/site-packages/oci/data_flow/models/application.py__init__:s&%zApplication.__init__cCs|jS)z Gets the application_log_config of this Application. :return: The application_log_config of this Application. :rtype: oci.data_flow.models.ApplicationLogConfig r5rWrYrYrZr;sz"Application.application_log_configcCs ||_dS)z Sets the application_log_config of this Application. :param application_log_config: The application_log_config of this Application. :type: oci.data_flow.models.ApplicationLogConfig Nr\)rWrrYrYrZrEscCs|jS)a. Gets the archive_uri of this Application. A comma separated list of one or more archive files as Oracle Cloud Infrastructure URIs. For example, ``oci://path/to/a.zip,oci://path/to/b.zip``. An Oracle Cloud Infrastructure URI of an archive.zip file containing custom dependencies that may be used to support the execution of a Python, Java, or Scala application. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :return: The archive_uri of this Application. :rtype: str r6r]rYrYrZrOs zApplication.archive_uricCs ||_dS)a8 Sets the archive_uri of this Application. A comma separated list of one or more archive files as Oracle Cloud Infrastructure URIs. For example, ``oci://path/to/a.zip,oci://path/to/b.zip``. An Oracle Cloud Infrastructure URI of an archive.zip file containing custom dependencies that may be used to support the execution of a Python, Java, or Scala application. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :param archive_uri: The archive_uri of this Application. :type: str Nr^)rWrrYrYrZr\s cCs|jS)a4 Gets the arguments of this Application. The arguments passed to the running application as command line arguments. An argument is either a plain text or a placeholder. Placeholders are replaced using values from the parameters map. Each placeholder specified must be represented in the parameters map else the request (POST or PUT) will fail with a HTTP 400 status code. Placeholders are specified as `Service Api Spec`, where `name` is the name of the parameter. Example: `[ "--input", "${input_file}", "--name", "John Doe" ]` If "input_file" has a value of "mydata.xml", then the value above will be translated to `--input mydata.xml --name "John Doe"` :return: The arguments of this Application. :rtype: list[str] r7r]rYrYrZriszApplication.argumentscCs ||_dS)a< Sets the arguments of this Application. The arguments passed to the running application as command line arguments. An argument is either a plain text or a placeholder. Placeholders are replaced using values from the parameters map. Each placeholder specified must be represented in the parameters map else the request (POST or PUT) will fail with a HTTP 400 status code. Placeholders are specified as `Service Api Spec`, where `name` is the name of the parameter. Example: `[ "--input", "${input_file}", "--name", "John Doe" ]` If "input_file" has a value of "mydata.xml", then the value above will be translated to `--input mydata.xml --name "John Doe"` :param arguments: The arguments of this Application. :type: list[str] Nr_)rWrrYrYrZr|scCs|jS)z Gets the class_name of this Application. The class for the application. :return: The class_name of this Application. :rtype: str r8r]rYrYrZrs zApplication.class_namecCs ||_dS)z Sets the class_name of this Application. The class for the application. :param class_name: The class_name of this Application. :type: str Nr`)rWrrYrYrZrs cCs|jS)a> Gets the configuration of this Application. The Spark configuration passed to the running process. See https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned. :return: The configuration of this Application. :rtype: dict(str, str) r9r]rYrYrZrszApplication.configurationcCs ||_dS)aJ Sets the configuration of this Application. The Spark configuration passed to the running process. See https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned. :param configuration: The configuration of this Application. :type: dict(str, str) Nra)rWrrYrYrZrscCs|jS)z **[Required]** Gets the compartment_id of this Application. The OCID of a compartment. :return: The compartment_id of this Application. :rtype: str r:r]rYrYrZrs zApplication.compartment_idcCs ||_dS)z Sets the compartment_id of this Application. The OCID of a compartment. :param compartment_id: The compartment_id of this Application. :type: str Nrb)rWrrYrYrZrs cCs|jS)a Gets the defined_tags of this Application. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this Application. :rtype: dict(str, dict(str, object)) r;r]rYrYrZrs zApplication.defined_tagscCs ||_dS)a Sets the defined_tags of this Application. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this Application. :type: dict(str, dict(str, object)) Nrc)rWrrYrYrZrs cCs|jS)z Gets the description of this Application. A user-friendly description. :return: The description of this Application. :rtype: str r<r]rYrYrZrs zApplication.descriptioncCs ||_dS)z Sets the description of this Application. A user-friendly description. :param description: The description of this Application. :type: str Nrd)rWrrYrYrZr s cCs|jS)z **[Required]** Gets the display_name of this Application. A user-friendly name. This name is not necessarily unique. :return: The display_name of this Application. :rtype: str r=r]rYrYrZrs zApplication.display_namecCs ||_dS)z Sets the display_name of this Application. A user-friendly name. This name is not necessarily unique. :param display_name: The display_name of this Application. :type: str Nre)rWrrYrYrZr!s cCs|jS)z **[Required]** Gets the driver_shape of this Application. The VM shape for the driver. Sets the driver cores and memory. :return: The driver_shape of this Application. :rtype: str r>r]rYrYrZr-s zApplication.driver_shapecCs ||_dS)z Sets the driver_shape of this Application. The VM shape for the driver. Sets the driver cores and memory. :param driver_shape: The driver_shape of this Application. :type: str Nrf)rWrrYrYrZr9s cCs|jS)z Gets the driver_shape_config of this Application. :return: The driver_shape_config of this Application. :rtype: oci.data_flow.models.ShapeConfig r?r]rYrYrZrEszApplication.driver_shape_configcCs ||_dS)z Sets the driver_shape_config of this Application. :param driver_shape_config: The driver_shape_config of this Application. :type: oci.data_flow.models.ShapeConfig Nrg)rWrrYrYrZrOscCs|jS)a Gets the execute of this Application. The input used for spark-submit command. For more details see https://spark.apache.org/docs/latest/submitting-applications.html#launching-applications-with-spark-submit. Supported options include ``--class``, ``--file``, ``--jars``, ``--conf``, ``--py-files``, and main application file with arguments. Example: ``--jars oci://path/to/a.jar,oci://path/to/b.jar --files oci://path/to/a.json,oci://path/to/b.csv --py-files oci://path/to/a.py,oci://path/to/b.py --conf spark.sql.crossJoin.enabled=true --class org.apache.spark.examples.SparkPi oci://path/to/main.jar 10`` Note: If execute is specified together with applicationId, className, configuration, fileUri, language, arguments, parameters during application create/update, or run create/submit, Data Flow service will use derived information from execute input only. :return: The execute of this Application. :rtype: str r@r]rYrYrZrYszApplication.executecCs ||_dS)a Sets the execute of this Application. The input used for spark-submit command. For more details see https://spark.apache.org/docs/latest/submitting-applications.html#launching-applications-with-spark-submit. Supported options include ``--class``, ``--file``, ``--jars``, ``--conf``, ``--py-files``, and main application file with arguments. Example: ``--jars oci://path/to/a.jar,oci://path/to/b.jar --files oci://path/to/a.json,oci://path/to/b.csv --py-files oci://path/to/a.py,oci://path/to/b.py --conf spark.sql.crossJoin.enabled=true --class org.apache.spark.examples.SparkPi oci://path/to/main.jar 10`` Note: If execute is specified together with applicationId, className, configuration, fileUri, language, arguments, parameters during application create/update, or run create/submit, Data Flow service will use derived information from execute input only. :param execute: The execute of this Application. :type: str Nrh)rWrrYrYrZriscCs|jS)z **[Required]** Gets the executor_shape of this Application. The VM shape for the executors. Sets the executor cores and memory. :return: The executor_shape of this Application. :rtype: str rAr]rYrYrZrys zApplication.executor_shapecCs ||_dS)z Sets the executor_shape of this Application. The VM shape for the executors. Sets the executor cores and memory. :param executor_shape: The executor_shape of this Application. :type: str Nri)rWrrYrYrZrs cCs|jS)z Gets the executor_shape_config of this Application. :return: The executor_shape_config of this Application. :rtype: oci.data_flow.models.ShapeConfig rBr]rYrYrZr sz!Application.executor_shape_configcCs ||_dS)z Sets the executor_shape_config of this Application. :param executor_shape_config: The executor_shape_config of this Application. :type: oci.data_flow.models.ShapeConfig Nrj)rWr rYrYrZr scCs|jS)aN **[Required]** Gets the file_uri of this Application. An Oracle Cloud Infrastructure URI of the file containing the application to execute. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :return: The file_uri of this Application. :rtype: str rCr]rYrYrZr!s zApplication.file_uricCs ||_dS)aF Sets the file_uri of this Application. An Oracle Cloud Infrastructure URI of the file containing the application to execute. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :param file_uri: The file_uri of this Application. :type: str Nrk)rWr!rYrYrZr!s cCs|jS)a Gets the freeform_tags of this Application. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this Application. :rtype: dict(str, str) rDr]rYrYrZr"szApplication.freeform_tagscCs ||_dS)a Sets the freeform_tags of this Application. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this Application. :type: dict(str, str) Nrl)rWr"rYrYrZr"scCs|jS)z **[Required]** Gets the id of this Application. The application ID. :return: The id of this Application. :rtype: str rEr]rYrYrZr#s zApplication.idcCs ||_dS)z Sets the id of this Application. The application ID. :param id: The id of this Application. :type: str Nrm)rWr#rYrYrZr#s cCs|jS)aq **[Required]** Gets the language of this Application. The Spark language. Allowed values for this property are: "SCALA", "JAVA", "PYTHON", "SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The language of this Application. :rtype: str )rFr]rYrYrZr$s zApplication.languagecCs gd}t||sd}||_dS)z Sets the language of this Application. The Spark language. :param language: The language of this Application. :type: str )rrr r UNKNOWN_ENUM_VALUEN)rrF)rWr$allowed_valuesrYrYrZr$s  cCs|jS)a **[Required]** Gets the lifecycle_state of this Application. The current state of this application. Allowed values for this property are: "ACTIVE", "DELETED", "INACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Application. :rtype: str )rGr]rYrYrZr%s zApplication.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this Application. The current state of this application. :param lifecycle_state: The lifecycle_state of this Application. :type: str )r r r rnN)rrG)rWr%rorYrYrZr%$s  cCs|jS)aU Gets the logs_bucket_uri of this Application. An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :return: The logs_bucket_uri of this Application. :rtype: str rHr]rYrYrZr&3s zApplication.logs_bucket_uricCs ||_dS)ac Sets the logs_bucket_uri of this Application. An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :param logs_bucket_uri: The logs_bucket_uri of this Application. :type: str Nrp)rWr&rYrYrZr&@s cCs|jS)z Gets the metastore_id of this Application. The OCID of OCI Hive Metastore. :return: The metastore_id of this Application. :rtype: str rIr]rYrYrZr'Ms zApplication.metastore_idcCs ||_dS)z Sets the metastore_id of this Application. The OCID of OCI Hive Metastore. :param metastore_id: The metastore_id of this Application. :type: str Nrq)rWr'rYrYrZr'Ys cCs|jS)z **[Required]** Gets the num_executors of this Application. The number of executor VMs requested. :return: The num_executors of this Application. :rtype: int rJr]rYrYrZr(es zApplication.num_executorscCs ||_dS)z Sets the num_executors of this Application. The number of executor VMs requested. :param num_executors: The num_executors of this Application. :type: int Nrr)rWr(rYrYrZr(qs cCs|jS)z **[Required]** Gets the owner_principal_id of this Application. The OCID of the user who created the resource. :return: The owner_principal_id of this Application. :rtype: str rKr]rYrYrZr)}s zApplication.owner_principal_idcCs ||_dS)z Sets the owner_principal_id of this Application. The OCID of the user who created the resource. :param owner_principal_id: The owner_principal_id of this Application. :type: str Nrs)rWr)rYrYrZr)s cCs|jS)a[ Gets the owner_user_name of this Application. The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. :return: The owner_user_name of this Application. :rtype: str rLr]rYrYrZr*s zApplication.owner_user_namecCs ||_dS)ai Sets the owner_user_name of this Application. The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. :param owner_user_name: The owner_user_name of this Application. :type: str Nrt)rWr*rYrYrZr*s cCs|jS)aL Gets the parameters of this Application. An array of name/value pairs used to fill placeholders found in properties like `Application.arguments`. The name must be a string of one or more word characters (a-z, A-Z, 0-9, _). The value can be a string of 0 or more characters of any kind. Example: [ { name: "iterations", value: "10"}, { name: "input_file", value: "mydata.xml" }, { name: "variable_x", value: "${x}"} ] :return: The parameters of this Application. :rtype: list[oci.data_flow.models.ApplicationParameter] rMr]rYrYrZr+s zApplication.parameterscCs ||_dS)aU Sets the parameters of this Application. An array of name/value pairs used to fill placeholders found in properties like `Application.arguments`. The name must be a string of one or more word characters (a-z, A-Z, 0-9, _). The value can be a string of 0 or more characters of any kind. Example: [ { name: "iterations", value: "10"}, { name: "input_file", value: "mydata.xml" }, { name: "variable_x", value: "${x}"} ] :param parameters: The parameters of this Application. :type: list[oci.data_flow.models.ApplicationParameter] Nru)rWr+rYrYrZr+s cCs|jS)z Gets the pool_id of this Application. The OCID of a pool. Unique Id to indentify a dataflow pool resource. :return: The pool_id of this Application. :rtype: str rNr]rYrYrZr,s zApplication.pool_idcCs ||_dS)z Sets the pool_id of this Application. The OCID of a pool. Unique Id to indentify a dataflow pool resource. :param pool_id: The pool_id of this Application. :type: str Nrv)rWr,rYrYrZr,s cCs|jS)z Gets the private_endpoint_id of this Application. The OCID of a private endpoint. :return: The private_endpoint_id of this Application. :rtype: str rOr]rYrYrZr-s zApplication.private_endpoint_idcCs ||_dS)z Sets the private_endpoint_id of this Application. The OCID of a private endpoint. :param private_endpoint_id: The private_endpoint_id of this Application. :type: str Nrw)rWr-rYrYrZr-s cCs|jS)z **[Required]** Gets the spark_version of this Application. The Spark version utilized to run the application. :return: The spark_version of this Application. :rtype: str rPr]rYrYrZr.s zApplication.spark_versioncCs ||_dS)z Sets the spark_version of this Application. The Spark version utilized to run the application. :param spark_version: The spark_version of this Application. :type: str Nrx)rWr.rYrYrZr. s cCs|jS)aY **[Required]** Gets the time_created of this Application. The date and time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this Application. :rtype: datetime rQr]rYrYrZr/s zApplication.time_createdcCs ||_dS)aU Sets the time_created of this Application. The date and time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this Application. :type: datetime Nry)rWr/rYrYrZr/$s cCs|jS)aY **[Required]** Gets the time_updated of this Application. The date and time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this Application. :rtype: datetime rRr]rYrYrZr03s zApplication.time_updatedcCs ||_dS)aU Sets the time_updated of this Application. The date and time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this Application. :type: datetime Nrz)rWr0rYrYrZr0Bs cCs|jS)al Gets the type of this Application. The Spark application processing type. Allowed values for this property are: "BATCH", "STREAMING", "SESSION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this Application. :rtype: str )rSr]rYrYrZr1Qs zApplication.typecCs gd}t||sd}||_dS)z Sets the type of this Application. The Spark application processing type. :param type: The type of this Application. :type: str )rrrrnN)rrS)rWr1rorYrYrZr1`s  cCs|jS)ax Gets the warehouse_bucket_uri of this Application. An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :return: The warehouse_bucket_uri of this Application. :rtype: str rTr]rYrYrZr2os z Application.warehouse_bucket_uricCs ||_dS)a Sets the warehouse_bucket_uri of this Application. An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :param warehouse_bucket_uri: The warehouse_bucket_uri of this Application. :type: str Nr{)rWr2rYrYrZr2}s cCs|jS)ai Gets the max_duration_in_minutes of this Application. The maximum duration in minutes for which an Application should run. Data Flow Run would be terminated once it reaches this duration from the time it transitions to `IN_PROGRESS` state. :return: The max_duration_in_minutes of this Application. :rtype: int rUr]rYrYrZr3s z#Application.max_duration_in_minutescCs ||_dS)a Sets the max_duration_in_minutes of this Application. The maximum duration in minutes for which an Application should run. Data Flow Run would be terminated once it reaches this duration from the time it transitions to `IN_PROGRESS` state. :param max_duration_in_minutes: The max_duration_in_minutes of this Application. :type: int Nr|)rWr3rYrYrZr3s cCs|jS)a Gets the idle_timeout_in_minutes of this Application. The timeout value in minutes used to manage Runs. A Run would be stopped after inactivity for this amount of time period. Note: This parameter is currently only applicable for Runs of type `SESSION`. Default value is 2880 minutes (2 days) :return: The idle_timeout_in_minutes of this Application. :rtype: int rVr]rYrYrZr4s z#Application.idle_timeout_in_minutescCs ||_dS)a Sets the idle_timeout_in_minutes of this Application. The timeout value in minutes used to manage Runs. A Run would be stopped after inactivity for this amount of time period. Note: This parameter is currently only applicable for Runs of type `SESSION`. Default value is 2880 minutes (2 days) :param idle_timeout_in_minutes: The idle_timeout_in_minutes of this Application. :type: int Nr})rWr4rYrYrZr4s cCst|SN)rr]rYrYrZ__repr__szApplication.__repr__cCs|dur dS|j|jkS)NF)__dict__rWotherrYrYrZ__eq__szApplication.__eq__cCs ||k Sr~rYrrYrYrZ__ne__szApplication.__ne__N)6__name__ __module__ __qualname____doc__ZLANGUAGE_SCALAZ LANGUAGE_JAVAZLANGUAGE_PYTHONZ LANGUAGE_SQLZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_INACTIVEZ TYPE_BATCHZTYPE_STREAMINGZ TYPE_SESSIONr[propertyrsetterrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4rrrrYrYrYrZr s2                                                                    rN)Zoci.utilrrrZoci.decoratorsrobjectrrYrYrYrZs