Package com.oracle.bmc.datacatalog.model
Class JobLog.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.JobLog.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobLog
build()
JobLog.Builder
copy(JobLog model)
JobLog.Builder
createdById(String createdById)
OCID of the user who created the log record for this job.JobLog.Builder
jobExecutionKey(String jobExecutionKey)
The unique key of the parent job execution for which the log resource was created.JobLog.Builder
key(String key)
Unique key of the job log that is immutable.JobLog.Builder
logMessage(String logMessage)
Message for this job log.JobLog.Builder
severity(String severity)
Severity level for this log.JobLog.Builder
timeCreated(Date timeCreated)
The date and time the job log was created, in the format defined by RFC3339.JobLog.Builder
timeUpdated(Date timeUpdated)
Job log update time.JobLog.Builder
updatedById(String updatedById)
OCID of the user who created the log record for this job.JobLog.Builder
uri(String uri)
URI to the job log instance in the API.
-
-
-
Method Detail
-
key
public JobLog.Builder key(String key)
Unique key of the job log that is immutable.- Parameters:
key
- the value to set- Returns:
- this builder
-
jobExecutionKey
public JobLog.Builder jobExecutionKey(String jobExecutionKey)
The unique key of the parent job execution for which the log resource was created.- Parameters:
jobExecutionKey
- the value to set- Returns:
- this builder
-
createdById
public JobLog.Builder createdById(String createdById)
OCID of the user who created the log record for this job.Usually the executor of the job instance.
- Parameters:
createdById
- the value to set- Returns:
- this builder
-
updatedById
public JobLog.Builder updatedById(String updatedById)
OCID of the user who created the log record for this job.Usually the executor of the job instance.
- Parameters:
updatedById
- the value to set- Returns:
- this builder
-
timeUpdated
public JobLog.Builder timeUpdated(Date timeUpdated)
Job log update time.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeCreated
public JobLog.Builder timeCreated(Date timeCreated)
The date and time the job log was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
severity
public JobLog.Builder severity(String severity)
Severity level for this log.- Parameters:
severity
- the value to set- Returns:
- this builder
-
logMessage
public JobLog.Builder logMessage(String logMessage)
Message for this job log.- Parameters:
logMessage
- the value to set- Returns:
- this builder
-
uri
public JobLog.Builder uri(String uri)
URI to the job log instance in the API.- Parameters:
uri
- the value to set- Returns:
- this builder
-
build
public JobLog build()
-
copy
public JobLog.Builder copy(JobLog model)
-
-