Class GetWorkRequestLogEntriesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.requests.GetWorkRequestLogEntriesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetWorkRequestLogEntriesRequest,Void>
- Enclosing class:
- GetWorkRequestLogEntriesRequest
public static class GetWorkRequestLogEntriesRequest.Builder extends Object implements BmcRequest.Builder<GetWorkRequestLogEntriesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetWorkRequestLogEntriesRequestbuild()Build the instance of GetWorkRequestLogEntriesRequest as configured by this builderGetWorkRequestLogEntriesRequestbuildWithoutInvocationCallback()Build the instance of GetWorkRequestLogEntriesRequest as configured by this builderGetWorkRequestLogEntriesRequest.Buildercopy(GetWorkRequestLogEntriesRequest o)Copy method to populate the builder with values from the given instance.GetWorkRequestLogEntriesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetWorkRequestLogEntriesRequest.BuilderlevelGreaterThanOrEqualTo(LogEntry.Level levelGreaterThanOrEqualTo)A filter that returns only log entries that match a given severity level or greater.GetWorkRequestLogEntriesRequest.Builderlimit(Integer limit)The number of items returned in a paginated List call.GetWorkRequestLogEntriesRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetWorkRequestLogEntriesRequest.Builderpage(String page)The value of the opc-next-page response header from the preceding List call.GetWorkRequestLogEntriesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetWorkRequestLogEntriesRequest.BuildersortOrder(GetWorkRequestLogEntriesRequest.SortOrder sortOrder)The sort order to use when sorting returned resources.GetWorkRequestLogEntriesRequest.BuildertimestampGreaterThanOrEqualTo(Date timestampGreaterThanOrEqualTo)Time stamp specifying the lower time limit for which logs are returned in a query.GetWorkRequestLogEntriesRequest.BuildertimestampLessThanOrEqualTo(Date timestampLessThanOrEqualTo)Time stamp specifying the upper time limit for which logs are returned in a query.GetWorkRequestLogEntriesRequest.Buildertype(LogEntry.Type singularValue)Singular setter.GetWorkRequestLogEntriesRequest.Buildertype(List<LogEntry.Type> type)A filter that returns only logs of a specified type.GetWorkRequestLogEntriesRequest.BuilderworkRequestId(String workRequestId)The OCID of the work request.-
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
-
workRequestId
public GetWorkRequestLogEntriesRequest.Builder workRequestId(String workRequestId)
The OCID of the work request.- Parameters:
workRequestId- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.Builder sortOrder(GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.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 GetWorkRequestLogEntriesRequest.Builder copy(GetWorkRequestLogEntriesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetWorkRequestLogEntriesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetWorkRequestLogEntriesRequest build()
Build the instance of GetWorkRequestLogEntriesRequest 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:
buildin interfaceBmcRequest.Builder<GetWorkRequestLogEntriesRequest,Void>- Returns:
- instance of GetWorkRequestLogEntriesRequest
-
buildWithoutInvocationCallback
public GetWorkRequestLogEntriesRequest buildWithoutInvocationCallback()
Build the instance of GetWorkRequestLogEntriesRequest 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 GetWorkRequestLogEntriesRequest
-
-