UpdateJobDetails¶
-
class
oci.database_management.models.
UpdateJobDetails
(**kwargs)¶ Bases:
object
The details required to update a job.
Attributes
JOB_TYPE_SQL
A constant which can be used with the job_type property of a UpdateJobDetails. description
Gets the description of this UpdateJobDetails. job_type
Gets the job_type of this UpdateJobDetails. result_location
Gets the result_location of this UpdateJobDetails. schedule_details
Gets the schedule_details of this UpdateJobDetails. timeout
Gets the timeout of this UpdateJobDetails. Methods
__init__
(**kwargs)Initializes a new UpdateJobDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
JOB_TYPE_SQL
= 'SQL'¶ A constant which can be used with the job_type property of a UpdateJobDetails. This constant has a value of “SQL”
-
__init__
(**kwargs)¶ Initializes a new UpdateJobDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - description (str) – The value to assign to the description property of this UpdateJobDetails.
- job_type (str) – The value to assign to the job_type property of this UpdateJobDetails. Allowed values for this property are: “SQL”
- timeout (str) – The value to assign to the timeout property of this UpdateJobDetails.
- result_location (oci.database_management.models.JobExecutionResultLocation) – The value to assign to the result_location property of this UpdateJobDetails.
- schedule_details (oci.database_management.models.JobScheduleDetails) – The value to assign to the schedule_details property of this UpdateJobDetails.
-
description
¶ Gets the description of this UpdateJobDetails. The description of the job.
Returns: The description of this UpdateJobDetails. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
job_type
¶ Gets the job_type of this UpdateJobDetails. The type of job.
Allowed values for this property are: “SQL”
Returns: The job_type of this UpdateJobDetails. Return type: str
-
result_location
¶ Gets the result_location of this UpdateJobDetails.
Returns: The result_location of this UpdateJobDetails. Return type: oci.database_management.models.JobExecutionResultLocation
-
schedule_details
¶ Gets the schedule_details of this UpdateJobDetails.
Returns: The schedule_details of this UpdateJobDetails. Return type: oci.database_management.models.JobScheduleDetails
-
timeout
¶ Gets the timeout of this UpdateJobDetails. The job timeout duration, which is expressed like “1h 10m 15s”.
Returns: The timeout of this UpdateJobDetails. Return type: str
-