public static class GetJobLogsRequest.Builder extends Object implements BmcRequest.Builder<GetJobLogsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetJobLogsRequest |
build()
Build the instance of GetJobLogsRequest as configured by this builder
|
GetJobLogsRequest |
buildWithoutInvocationCallback()
Build the instance of GetJobLogsRequest as configured by this builder
|
GetJobLogsRequest.Builder |
copy(GetJobLogsRequest o)
Copy method to populate the builder with values from the given instance.
|
GetJobLogsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetJobLogsRequest.Builder |
jobId(String jobId)
The OCID
of the job.
|
GetJobLogsRequest.Builder |
levelGreaterThanOrEqualTo(LogEntry.Level levelGreaterThanOrEqualTo)
A filter that returns only log entries that match a given severity level or greater.
|
GetJobLogsRequest.Builder |
limit(Integer limit)
The number of items returned in a paginated
List call. |
GetJobLogsRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetJobLogsRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the preceding List
call. |
GetJobLogsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetJobLogsRequest.Builder |
sortOrder(GetJobLogsRequest.SortOrder sortOrder)
The sort order to use when sorting returned resources.
|
GetJobLogsRequest.Builder |
timestampGreaterThanOrEqualTo(Date timestampGreaterThanOrEqualTo)
Time stamp specifying the lower time limit for which logs are returned in a query.
|
GetJobLogsRequest.Builder |
timestampLessThanOrEqualTo(Date timestampLessThanOrEqualTo)
Time stamp specifying the upper time limit for which logs are returned in a query.
|
GetJobLogsRequest.Builder |
type(List<LogEntry.Type> type)
A filter that returns only logs of a specified type.
|
GetJobLogsRequest.Builder |
type(LogEntry.Type singularValue)
Singular setter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetJobLogsRequest.Builder jobId(String jobId)
The OCID of the job.
jobId
- the value to setpublic GetJobLogsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic GetJobLogsRequest.Builder type(List<LogEntry.Type> type)
A filter that returns only logs of a specified type.
type
- the value to setpublic GetJobLogsRequest.Builder type(LogEntry.Type singularValue)
Singular setter. A filter that returns only logs of a specified type.
singularValue
- the singular value to setpublic GetJobLogsRequest.Builder levelGreaterThanOrEqualTo(LogEntry.Level levelGreaterThanOrEqualTo)
A filter that returns only log entries that match a given severity level or greater.
levelGreaterThanOrEqualTo
- the value to setpublic GetJobLogsRequest.Builder sortOrder(GetJobLogsRequest.SortOrder sortOrder)
The sort order to use when sorting returned resources. Ascending (ASC
) or
descending (DESC
).
sortOrder
- the value to setpublic GetJobLogsRequest.Builder limit(Integer limit)
The number of items returned in a paginated List
call. For information about
pagination, see List
Pagination.
limit
- the value to setpublic GetJobLogsRequest.Builder page(String page)
The value of the opc-next-page
response header from the preceding List
call. For information about pagination, see List
Pagination.
page
- the value to setpublic GetJobLogsRequest.Builder timestampGreaterThanOrEqualTo(Date timestampGreaterThanOrEqualTo)
Time stamp specifying the lower time limit for which logs are returned in a query. Format
is defined by RFC3339. Example: 2020-01-01T12:00:00.000Z
timestampGreaterThanOrEqualTo
- the value to setpublic GetJobLogsRequest.Builder timestampLessThanOrEqualTo(Date timestampLessThanOrEqualTo)
Time stamp specifying the upper time limit for which logs are returned in a query. Format
is defined by RFC3339. Example: 2020-02-01T12:00:00.000Z
timestampLessThanOrEqualTo
- the value to setpublic GetJobLogsRequest.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 GetJobLogsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetJobLogsRequest.Builder copy(GetJobLogsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetJobLogsRequest,Void>
o
- other request from which to copy valuespublic GetJobLogsRequest build()
Build the instance of GetJobLogsRequest 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<GetJobLogsRequest,Void>
public GetJobLogsRequest buildWithoutInvocationCallback()
Build the instance of GetJobLogsRequest 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–2024. All rights reserved.