Package com.oracle.bmc.datacatalog.model
Class JobMetric.Builder
- java.lang.Object
- 
- com.oracle.bmc.datacatalog.model.JobMetric.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JobMetric.BuilderbatchKey(String batchKey)Batch key for grouping, may be null.JobMetricbuild()JobMetric.Buildercategory(String category)Category of this metric.JobMetric.Buildercopy(JobMetric model)JobMetric.BuildercreatedById(String createdById)OCID of the user who created the metric for this job.JobMetric.Builderdescription(String description)Detailed description of the metric.JobMetric.BuilderdisplayName(String displayName)A user-friendly display name.JobMetric.BuilderjobExecutionKey(String jobExecutionKey)The unique key of the parent job execution for which the job metric resource is being created.JobMetric.Builderkey(String key)Key of the job metric that is immutable.JobMetric.BuildersubCategory(String subCategory)Sub category of this metric under the category.JobMetric.BuildertimeCreated(Date timeCreated)The date and time the job metric was created, in the format defined by RFC3339.JobMetric.BuildertimeInserted(Date timeInserted)The time the metric was logged or captured in the system where the job executed.JobMetric.BuildertimeUpdated(Date timeUpdated)The last time that this metric was updated.JobMetric.Builderunit(String unit)Unit of this metric.JobMetric.BuilderupdatedById(String updatedById)OCID of the user who created the metric for this job.JobMetric.Builderuri(String uri)URI to the job metric instance in the API.JobMetric.Buildervalue(String value)Value of this metric.
 
- 
- 
- 
Method Detail- 
keypublic JobMetric.Builder key(String key) Key of the job metric that is immutable.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic JobMetric.Builder description(String description) Detailed description of the metric.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
jobExecutionKeypublic JobMetric.Builder jobExecutionKey(String jobExecutionKey) The unique key of the parent job execution for which the job metric resource is being created.- Parameters:
- jobExecutionKey- the value to set
- Returns:
- this builder
 
 - 
timeInsertedpublic JobMetric.Builder timeInserted(Date timeInserted) The time the metric was logged or captured in the system where the job executed.An RFC3339 formatted datetime string. - Parameters:
- timeInserted- the value to set
- Returns:
- this builder
 
 - 
categorypublic JobMetric.Builder category(String category) Category of this metric.- Parameters:
- category- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic JobMetric.Builder displayName(String displayName) A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
subCategorypublic JobMetric.Builder subCategory(String subCategory) Sub category of this metric under the category.Used for aggregating values. May be null. - Parameters:
- subCategory- the value to set
- Returns:
- this builder
 
 - 
unitpublic JobMetric.Builder unit(String unit) Unit of this metric.- Parameters:
- unit- the value to set
- Returns:
- this builder
 
 - 
valuepublic JobMetric.Builder value(String value) Value of this metric.- Parameters:
- value- the value to set
- Returns:
- this builder
 
 - 
batchKeypublic JobMetric.Builder batchKey(String batchKey) Batch key for grouping, may be null.- Parameters:
- batchKey- the value to set
- Returns:
- this builder
 
 - 
uripublic JobMetric.Builder uri(String uri) URI to the job metric instance in the API.- Parameters:
- uri- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic JobMetric.Builder timeCreated(Date timeCreated) The date and time the job metric was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic JobMetric.Builder timeUpdated(Date timeUpdated) The last time that this metric was updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
createdByIdpublic JobMetric.Builder createdById(String createdById) OCID of the user who created the metric for this job.Usually the executor of the job instance. - Parameters:
- createdById- the value to set
- Returns:
- this builder
 
 - 
updatedByIdpublic JobMetric.Builder updatedById(String updatedById) OCID of the user who created the metric for this job.Usually the executor of the job instance. - Parameters:
- updatedById- the value to set
- Returns:
- this builder
 
 - 
buildpublic JobMetric build() 
 - 
copypublic JobMetric.Builder copy(JobMetric model) 
 
- 
 
-