public static class JobMetricSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobMetricSummary.Builder |
batchKey(String batchKey)
Batch key for grouping, may be null.
|
JobMetricSummary |
build() |
JobMetricSummary.Builder |
category(String category)
Category of this metric.
|
JobMetricSummary.Builder |
copy(JobMetricSummary model) |
JobMetricSummary.Builder |
description(String description)
Detailed description of the metric.
|
JobMetricSummary.Builder |
displayName(String displayName)
A user-friendly display name.
|
JobMetricSummary.Builder |
jobExecutionKey(String jobExecutionKey)
The unique key of the parent job execution for which the job metric resource was created.
|
JobMetricSummary.Builder |
key(String key)
Key of the job metric that is immutable.
|
JobMetricSummary.Builder |
subCategory(String subCategory)
Sub category of this metric under the category.
|
JobMetricSummary.Builder |
timeCreated(Date timeCreated)
The date and time the job metric was created, in the format defined by
RFC3339.
|
JobMetricSummary.Builder |
timeInserted(Date timeInserted)
The time the metric was logged or captured in the system where the job executed.
|
JobMetricSummary.Builder |
unit(String unit)
Unit of this metric.
|
JobMetricSummary.Builder |
uri(String uri)
URI to the job metric instance in the API.
|
JobMetricSummary.Builder |
value(String value)
Value of this metric.
|
public JobMetricSummary.Builder key(String key)
Key of the job metric that is immutable.
key
- the value to setpublic JobMetricSummary.Builder description(String description)
Detailed description of the metric.
description
- the value to setpublic JobMetricSummary.Builder jobExecutionKey(String jobExecutionKey)
The unique key of the parent job execution for which the job metric resource was created.
jobExecutionKey
- the value to setpublic JobMetricSummary.Builder uri(String uri)
URI to the job metric instance in the API.
uri
- the value to setpublic 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
timeCreated
- the value to setpublic 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.
timeInserted
- the value to setpublic JobMetricSummary.Builder category(String category)
Category of this metric.
category
- the value to setpublic JobMetricSummary.Builder displayName(String displayName)
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic JobMetricSummary.Builder subCategory(String subCategory)
Sub category of this metric under the category. Used for aggregating values. May be null.
subCategory
- the value to setpublic JobMetricSummary.Builder unit(String unit)
Unit of this metric.
unit
- the value to setpublic JobMetricSummary.Builder value(String value)
Value of this metric.
value
- the value to setpublic JobMetricSummary.Builder batchKey(String batchKey)
Batch key for grouping, may be null.
batchKey
- the value to setpublic JobMetricSummary build()
public JobMetricSummary.Builder copy(JobMetricSummary model)
Copyright © 2016–2024. All rights reserved.