Class ListJobLogsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.requests.ListJobLogsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListJobLogsRequest,Void>
- Enclosing class:
- ListJobLogsRequest
public static class ListJobLogsRequest.Builder extends Object implements BmcRequest.Builder<ListJobLogsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListJobLogsRequest
build()
Build the instance of ListJobLogsRequest as configured by this builderListJobLogsRequest
buildWithoutInvocationCallback()
Build the instance of ListJobLogsRequest as configured by this builderListJobLogsRequest.Builder
catalogId(String catalogId)
Unique catalog identifier.ListJobLogsRequest.Builder
copy(ListJobLogsRequest o)
Copy method to populate the builder with values from the given instance.ListJobLogsRequest.Builder
createdById(String createdById)
OCID of the user who created the resource.ListJobLogsRequest.Builder
fields(ListJobLogsRequest.Fields singularValue)
Singular setter.ListJobLogsRequest.Builder
fields(List<ListJobLogsRequest.Fields> fields)
Specifies the fields to return in a job log summary response.ListJobLogsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListJobLogsRequest.Builder
jobExecutionKey(String jobExecutionKey)
The key of the job execution.ListJobLogsRequest.Builder
jobKey(String jobKey)
Unique job key.ListJobLogsRequest.Builder
lifecycleState(LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state.ListJobLogsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListJobLogsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListJobLogsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListJobLogsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListJobLogsRequest.Builder
severity(String severity)
Severity level for this Log.ListJobLogsRequest.Builder
sortBy(ListJobLogsRequest.SortBy sortBy)
The field to sort by.ListJobLogsRequest.Builder
sortOrder(ListJobLogsRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.ListJobLogsRequest.Builder
timeCreated(Date timeCreated)
Time that the resource was created.ListJobLogsRequest.Builder
timeUpdated(Date timeUpdated)
Time that the resource was updated.ListJobLogsRequest.Builder
updatedById(String updatedById)
OCID of the user who updated the resource.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
catalogId
public ListJobLogsRequest.Builder catalogId(String catalogId)
Unique catalog identifier.- Parameters:
catalogId
- the value to set- Returns:
- this builder instance
-
jobKey
public ListJobLogsRequest.Builder jobKey(String jobKey)
Unique job key.- Parameters:
jobKey
- the value to set- Returns:
- this builder instance
-
jobExecutionKey
public ListJobLogsRequest.Builder jobExecutionKey(String jobExecutionKey)
The key of the job execution.- Parameters:
jobExecutionKey
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListJobLogsRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state.The value is case insensitive.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
severity
public ListJobLogsRequest.Builder severity(String severity)
Severity level for this Log.- Parameters:
severity
- the value to set- Returns:
- this builder instance
-
timeCreated
public ListJobLogsRequest.Builder timeCreated(Date timeCreated)
Time that the resource was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder instance
-
timeUpdated
public ListJobLogsRequest.Builder timeUpdated(Date timeUpdated)
Time that the resource was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder instance
-
createdById
public ListJobLogsRequest.Builder createdById(String createdById)
OCID of the user who created the resource.- Parameters:
createdById
- the value to set- Returns:
- this builder instance
-
updatedById
public ListJobLogsRequest.Builder updatedById(String updatedById)
OCID of the user who updated the resource.- Parameters:
updatedById
- the value to set- Returns:
- this builder instance
-
fields
public ListJobLogsRequest.Builder fields(List<ListJobLogsRequest.Fields> fields)
Specifies the fields to return in a job log summary response.- Parameters:
fields
- the value to set- Returns:
- this builder instance
-
fields
public ListJobLogsRequest.Builder fields(ListJobLogsRequest.Fields singularValue)
Singular setter.Specifies the fields to return in a job log summary response.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
sortBy
public ListJobLogsRequest.Builder sortBy(ListJobLogsRequest.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.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListJobLogsRequest.Builder sortOrder(ListJobLogsRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
limit
public ListJobLogsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListJobLogsRequest.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.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListJobLogsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListJobLogsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListJobLogsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListJobLogsRequest.Builder copy(ListJobLogsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListJobLogsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListJobLogsRequest build()
Build the instance of ListJobLogsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<ListJobLogsRequest,Void>
- Returns:
- instance of ListJobLogsRequest
-
buildWithoutInvocationCallback
public ListJobLogsRequest buildWithoutInvocationCallback()
Build the instance of ListJobLogsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of ListJobLogsRequest
-
-