Class ListParsersRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListParsersRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListParsersRequest,Void>
- Enclosing class:
- ListParsersRequest
public static class ListParsersRequest.Builder extends Object implements BmcRequest.Builder<ListParsersRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListParsersRequest
build()
Build the instance of ListParsersRequest as configured by this builderListParsersRequest
buildWithoutInvocationCallback()
Build the instance of ListParsersRequest as configured by this builderListParsersRequest.Builder
categories(String categories)
A comma-separated list of categories used for filteringListParsersRequest.Builder
copy(ListParsersRequest o)
Copy method to populate the builder with values from the given instance.ListParsersRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListParsersRequest.Builder
isMatchAll(Boolean isMatchAll)
A flag indicating how to handle filtering when multiple filter criteria are specified.ListParsersRequest.Builder
isSystem(ListParsersRequest.IsSystem isSystem)
The system value used for filtering.ListParsersRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListParsersRequest.Builder
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.ListParsersRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListParsersRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListParsersRequest.Builder
parserDisplayText(String parserDisplayText)
The parser display text used for filtering.ListParsersRequest.Builder
parserName(String parserName)
The parser name used for filtering.ListParsersRequest.Builder
parserType(ListParsersRequest.ParserType parserType)
The parser type used for filtering.ListParsersRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListParsersRequest.Builder
sortBy(ListParsersRequest.SortBy sortBy)
The attribute used to sort the returned parsersListParsersRequest.Builder
sortOrder(ListParsersRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).ListParsersRequest.Builder
sourceType(ListParsersRequest.SourceType sourceType)
The source type used for filtering.-
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 ListParsersRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName
- the value to set- Returns:
- this builder instance
-
isMatchAll
public ListParsersRequest.Builder isMatchAll(Boolean isMatchAll)
A flag indicating how to handle filtering when multiple filter criteria are specified.A value of true will always result in the most expansive list of items being returned. For example, if two field lists are supplies as filter criteria, a value of true will result in any item matching a field in either list being returned, while a value of false will result in a list of items which only have fields contained in both input lists.
- Parameters:
isMatchAll
- the value to set- Returns:
- this builder instance
-
sourceType
public ListParsersRequest.Builder sourceType(ListParsersRequest.SourceType sourceType)
The source type used for filtering.Only parsers associated with a source of the specified type will be returned.
- Parameters:
sourceType
- the value to set- Returns:
- this builder instance
-
parserName
public ListParsersRequest.Builder parserName(String parserName)
The parser name used for filtering.- Parameters:
parserName
- the value to set- Returns:
- this builder instance
-
parserDisplayText
public ListParsersRequest.Builder parserDisplayText(String parserDisplayText)
The parser display text used for filtering.Only parsers with the specified name or description will be returned.
- Parameters:
parserDisplayText
- the value to set- Returns:
- this builder instance
-
parserType
public ListParsersRequest.Builder parserType(ListParsersRequest.ParserType parserType)
The parser type used for filtering.Only items with, or associated with, parsers of the specified type will be returned.
- Parameters:
parserType
- the value to set- Returns:
- this builder instance
-
categories
public ListParsersRequest.Builder categories(String categories)
A comma-separated list of categories used for filtering- Parameters:
categories
- the value to set- Returns:
- this builder instance
-
isSystem
public ListParsersRequest.Builder isSystem(ListParsersRequest.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
-
limit
public ListParsersRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListParsersRequest.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 ListParsersRequest.Builder sortOrder(ListParsersRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListParsersRequest.Builder sortBy(ListParsersRequest.SortBy sortBy)
The attribute used to sort the returned parsers- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListParsersRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListParsersRequest.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 ListParsersRequest.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 ListParsersRequest.Builder copy(ListParsersRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListParsersRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListParsersRequest build()
Build the instance of ListParsersRequest 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<ListParsersRequest,Void>
- Returns:
- instance of ListParsersRequest
-
buildWithoutInvocationCallback
public ListParsersRequest buildWithoutInvocationCallback()
Build the instance of ListParsersRequest 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 ListParsersRequest
-
-