public static class ListJobMetricsRequest.Builder extends Object implements BmcRequest.Builder<ListJobMetricsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListJobMetricsRequest.Builder |
batchKey(String batchKey)
Batch key for grouping, may be null.
|
ListJobMetricsRequest |
build()
Build the instance of ListJobMetricsRequest as configured by this builder
|
ListJobMetricsRequest |
buildWithoutInvocationCallback()
Build the instance of ListJobMetricsRequest as configured by this builder
|
ListJobMetricsRequest.Builder |
catalogId(String catalogId)
Unique catalog identifier.
|
ListJobMetricsRequest.Builder |
category(String category)
Category of this metric.
|
ListJobMetricsRequest.Builder |
copy(ListJobMetricsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListJobMetricsRequest.Builder |
createdById(String createdById)
OCID of the user who created the resource.
|
ListJobMetricsRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire display name given.
|
ListJobMetricsRequest.Builder |
displayNameContains(String displayNameContains)
A filter to return only resources that match display name pattern given.
|
ListJobMetricsRequest.Builder |
fields(List<ListJobMetricsRequest.Fields> fields)
Specifies the fields to return in a job metric summary response.
|
ListJobMetricsRequest.Builder |
fields(ListJobMetricsRequest.Fields singularValue)
Singular setter.
|
ListJobMetricsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListJobMetricsRequest.Builder |
jobExecutionKey(String jobExecutionKey)
The key of the job execution.
|
ListJobMetricsRequest.Builder |
jobKey(String jobKey)
Unique job key.
|
ListJobMetricsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListJobMetricsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListJobMetricsRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListJobMetricsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListJobMetricsRequest.Builder |
sortBy(ListJobMetricsRequest.SortBy sortBy)
The field to sort by.
|
ListJobMetricsRequest.Builder |
sortOrder(ListJobMetricsRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
ListJobMetricsRequest.Builder |
subCategory(String subCategory)
Sub category of this metric under the category.
|
ListJobMetricsRequest.Builder |
timeCreated(Date timeCreated)
Time that the resource was created.
|
ListJobMetricsRequest.Builder |
timeInserted(Date timeInserted)
The time the metric was logged or captured in the system where the job executed.
|
ListJobMetricsRequest.Builder |
timeUpdated(Date timeUpdated)
Time that the resource was updated.
|
ListJobMetricsRequest.Builder |
unit(String unit)
Unit of this metric.
|
ListJobMetricsRequest.Builder |
updatedById(String updatedById)
OCID of the user who updated the resource.
|
ListJobMetricsRequest.Builder |
value(String value)
Value of this metric.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListJobMetricsRequest.Builder catalogId(String catalogId)
Unique catalog identifier.
catalogId
- the value to setpublic ListJobMetricsRequest.Builder jobKey(String jobKey)
Unique job key.
jobKey
- the value to setpublic ListJobMetricsRequest.Builder jobExecutionKey(String jobExecutionKey)
The key of the job execution.
jobExecutionKey
- the value to setpublic ListJobMetricsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given. The match is not case sensitive.
displayName
- the value to setpublic ListJobMetricsRequest.Builder displayNameContains(String displayNameContains)
A filter to return only resources that match display name pattern given. The match is not case sensitive. For Example : /folders?displayNameContains=Cu.* The above would match all folders with display name that starts with “Cu” or has the pattern “Cu” anywhere in between.
displayNameContains
- the value to setpublic ListJobMetricsRequest.Builder category(String category)
Category of this metric.
category
- the value to setpublic ListJobMetricsRequest.Builder subCategory(String subCategory)
Sub category of this metric under the category. Used for aggregating values. May be null.
subCategory
- the value to setpublic ListJobMetricsRequest.Builder unit(String unit)
Unit of this metric.
unit
- the value to setpublic ListJobMetricsRequest.Builder value(String value)
Value of this metric.
value
- the value to setpublic ListJobMetricsRequest.Builder batchKey(String batchKey)
Batch key for grouping, may be null.
batchKey
- the value to setpublic ListJobMetricsRequest.Builder timeCreated(Date timeCreated)
Time that the resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic ListJobMetricsRequest.Builder timeUpdated(Date timeUpdated)
Time that the resource was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic ListJobMetricsRequest.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 ListJobMetricsRequest.Builder createdById(String createdById)
OCID of the user who created the resource.
createdById
- the value to setpublic ListJobMetricsRequest.Builder updatedById(String updatedById)
OCID of the user who updated the resource.
updatedById
- the value to setpublic ListJobMetricsRequest.Builder fields(List<ListJobMetricsRequest.Fields> fields)
Specifies the fields to return in a job metric summary response.
fields
- the value to setpublic ListJobMetricsRequest.Builder fields(ListJobMetricsRequest.Fields singularValue)
Singular setter. Specifies the fields to return in a job metric summary response.
singularValue
- the singular value to setpublic ListJobMetricsRequest.Builder sortBy(ListJobMetricsRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
sortBy
- the value to setpublic ListJobMetricsRequest.Builder sortOrder(ListJobMetricsRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
sortOrder
- the value to setpublic ListJobMetricsRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListJobMetricsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
page
- the value to setpublic ListJobMetricsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListJobMetricsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListJobMetricsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListJobMetricsRequest.Builder copy(ListJobMetricsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListJobMetricsRequest,Void>
o
- other request from which to copy valuespublic ListJobMetricsRequest build()
Build the instance of ListJobMetricsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListJobMetricsRequest,Void>
public ListJobMetricsRequest buildWithoutInvocationCallback()
Build the instance of ListJobMetricsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2023. All rights reserved.