Class GetJobLogsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.requests.GetJobLogsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetJobLogsRequest,Void>
- Enclosing class:
- GetJobLogsRequest
public static class GetJobLogsRequest.Builder extends Object implements BmcRequest.Builder<GetJobLogsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetJobLogsRequest
build()
Build the instance of GetJobLogsRequest as configured by this builderGetJobLogsRequest
buildWithoutInvocationCallback()
Build the instance of GetJobLogsRequest as configured by this builderGetJobLogsRequest.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(LogEntry.Type singularValue)
Singular setter.GetJobLogsRequest.Builder
type(List<LogEntry.Type> type)
A filter that returns only logs of a specified type.-
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
-
jobId
public GetJobLogsRequest.Builder jobId(String jobId)
The OCID of the job.- Parameters:
jobId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public 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.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
type
public GetJobLogsRequest.Builder type(List<LogEntry.Type> type)
A filter that returns only logs of a specified type.- Parameters:
type
- the value to set- Returns:
- this builder instance
-
type
public GetJobLogsRequest.Builder type(LogEntry.Type singularValue)
Singular setter.A filter that returns only logs of a specified type.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
levelGreaterThanOrEqualTo
public GetJobLogsRequest.Builder levelGreaterThanOrEqualTo(LogEntry.Level levelGreaterThanOrEqualTo)
A filter that returns only log entries that match a given severity level or greater.- Parameters:
levelGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
sortOrder
public GetJobLogsRequest.Builder sortOrder(GetJobLogsRequest.SortOrder sortOrder)
The sort order to use when sorting returned resources.Ascending (ASC) or descending (DESC).
- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
limit
public GetJobLogsRequest.Builder limit(Integer limit)
The number of items returned in a paginated List call.For information about pagination, see List Pagination.
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public 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.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
timestampGreaterThanOrEqualTo
public 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
- Parameters:
timestampGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
timestampLessThanOrEqualTo
public 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
- Parameters:
timestampLessThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetJobLogsRequest.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 GetJobLogsRequest.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 GetJobLogsRequest.Builder copy(GetJobLogsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetJobLogsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetJobLogsRequest build()
Build the instance of GetJobLogsRequest 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<GetJobLogsRequest,Void>
- Returns:
- instance of GetJobLogsRequest
-
buildWithoutInvocationCallback
public GetJobLogsRequest buildWithoutInvocationCallback()
Build the instance of GetJobLogsRequest 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 GetJobLogsRequest
-
-