Package com.oracle.bmc.datacatalog.model
Class JobMetricSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.JobMetricSummary.Builder
-
- Enclosing class:
- JobMetricSummary
public static class JobMetricSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobMetricSummary.BuilderbatchKey(String batchKey)Batch key for grouping, may be null.JobMetricSummarybuild()JobMetricSummary.Buildercategory(String category)Category of this metric.JobMetricSummary.Buildercopy(JobMetricSummary model)JobMetricSummary.Builderdescription(String description)Detailed description of the metric.JobMetricSummary.BuilderdisplayName(String displayName)A user-friendly display name.JobMetricSummary.BuilderjobExecutionKey(String jobExecutionKey)The unique key of the parent job execution for which the job metric resource was created.JobMetricSummary.Builderkey(String key)Key of the job metric that is immutable.JobMetricSummary.BuildersubCategory(String subCategory)Sub category of this metric under the category.JobMetricSummary.BuildertimeCreated(Date timeCreated)The date and time the job metric was created, in the format defined by RFC3339.JobMetricSummary.BuildertimeInserted(Date timeInserted)The time the metric was logged or captured in the system where the job executed.JobMetricSummary.Builderunit(String unit)Unit of this metric.JobMetricSummary.Builderuri(String uri)URI to the job metric instance in the API.JobMetricSummary.Buildervalue(String value)Value of this metric.
-
-
-
Method Detail
-
key
public JobMetricSummary.Builder key(String key)
Key of the job metric that is immutable.- Parameters:
key- the value to set- Returns:
- this builder
-
description
public JobMetricSummary.Builder description(String description)
Detailed description of the metric.- Parameters:
description- the value to set- Returns:
- this builder
-
jobExecutionKey
public JobMetricSummary.Builder jobExecutionKey(String jobExecutionKey)
The unique key of the parent job execution for which the job metric resource was created.- Parameters:
jobExecutionKey- the value to set- Returns:
- this builder
-
uri
public JobMetricSummary.Builder uri(String uri)
URI to the job metric instance in the API.- Parameters:
uri- the value to set- Returns:
- this builder
-
timeCreated
public JobMetricSummary.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
-
timeInserted
public JobMetricSummary.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
-
category
public JobMetricSummary.Builder category(String category)
Category of this metric.- Parameters:
category- the value to set- Returns:
- this builder
-
displayName
public JobMetricSummary.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
-
subCategory
public JobMetricSummary.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
-
unit
public JobMetricSummary.Builder unit(String unit)
Unit of this metric.- Parameters:
unit- the value to set- Returns:
- this builder
-
value
public JobMetricSummary.Builder value(String value)
Value of this metric.- Parameters:
value- the value to set- Returns:
- this builder
-
batchKey
public JobMetricSummary.Builder batchKey(String batchKey)
Batch key for grouping, may be null.- Parameters:
batchKey- the value to set- Returns:
- this builder
-
build
public JobMetricSummary build()
-
copy
public JobMetricSummary.Builder copy(JobMetricSummary model)
-
-