Class ListLookupsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListLookupsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListLookupsRequest,Void>
- Enclosing class:
- ListLookupsRequest
public static class ListLookupsRequest.Builder extends Object implements BmcRequest.Builder<ListLookupsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListLookupsRequest
build()
Build the instance of ListLookupsRequest as configured by this builderListLookupsRequest
buildWithoutInvocationCallback()
Build the instance of ListLookupsRequest as configured by this builderListLookupsRequest.Builder
categories(String categories)
A comma-separated list of categories used for filteringListLookupsRequest.Builder
copy(ListLookupsRequest o)
Copy method to populate the builder with values from the given instance.ListLookupsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListLookupsRequest.Builder
isHideSpecial(Boolean isHideSpecial)
A flag indicating whether or not to return OMC annotated or hidden lookups.ListLookupsRequest.Builder
isSystem(ListLookupsRequest.IsSystem isSystem)
The system value used for filtering.ListLookupsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListLookupsRequest.Builder
lookupDisplayText(String lookupDisplayText)
The lookup text used for filtering.ListLookupsRequest.Builder
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.ListLookupsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListLookupsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListLookupsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListLookupsRequest.Builder
sortBy(ListLookupsRequest.SortBy sortBy)
sort by fieldListLookupsRequest.Builder
sortOrder(ListLookupsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).ListLookupsRequest.Builder
status(ListLookupsRequest.Status status)
The lookup status used for filtering when fetching a list of lookups.ListLookupsRequest.Builder
type(ListLookupsRequest.Type type)
The lookup 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
-
namespaceName
public ListLookupsRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName
- the value to set- Returns:
- this builder instance
-
type
public ListLookupsRequest.Builder type(ListLookupsRequest.Type type)
The lookup type.Valid values are Lookup, Dictionary or Module.
- Parameters:
type
- the value to set- Returns:
- this builder instance
-
lookupDisplayText
public ListLookupsRequest.Builder lookupDisplayText(String lookupDisplayText)
The lookup text used for filtering.Only lookups with the specified name or description will be returned.
- Parameters:
lookupDisplayText
- the value to set- Returns:
- this builder instance
-
isSystem
public ListLookupsRequest.Builder isSystem(ListLookupsRequest.IsSystem isSystem)
The system value used for filtering.Only items with the specified system value will be returned. Valid values are built in, custom (for user defined items), or all (for all items, regardless of system value).
- Parameters:
isSystem
- the value to set- Returns:
- this builder instance
-
sortBy
public ListLookupsRequest.Builder sortBy(ListLookupsRequest.SortBy sortBy)
sort by field- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
status
public ListLookupsRequest.Builder status(ListLookupsRequest.Status status)
The lookup status used for filtering when fetching a list of lookups.- Parameters:
status
- the value to set- Returns:
- this builder instance
-
categories
public ListLookupsRequest.Builder categories(String categories)
A comma-separated list of categories used for filtering- Parameters:
categories
- the value to set- Returns:
- this builder instance
-
isHideSpecial
public ListLookupsRequest.Builder isHideSpecial(Boolean isHideSpecial)
A flag indicating whether or not to return OMC annotated or hidden lookups.- Parameters:
isHideSpecial
- the value to set- Returns:
- this builder instance
-
limit
public ListLookupsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListLookupsRequest.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
-
sortOrder
public ListLookupsRequest.Builder sortOrder(ListLookupsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListLookupsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListLookupsRequest.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 ListLookupsRequest.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 ListLookupsRequest.Builder copy(ListLookupsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListLookupsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListLookupsRequest build()
Build the instance of ListLookupsRequest 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<ListLookupsRequest,Void>
- Returns:
- instance of ListLookupsRequest
-
buildWithoutInvocationCallback
public ListLookupsRequest buildWithoutInvocationCallback()
Build the instance of ListLookupsRequest 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 ListLookupsRequest
-
-