Class ListResourceCategoriesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListResourceCategoriesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListResourceCategoriesRequest,Void>
- Enclosing class:
- ListResourceCategoriesRequest
public static class ListResourceCategoriesRequest.Builder extends Object implements BmcRequest.Builder<ListResourceCategoriesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListResourceCategoriesRequestbuild()Build the instance of ListResourceCategoriesRequest as configured by this builderListResourceCategoriesRequestbuildWithoutInvocationCallback()Build the instance of ListResourceCategoriesRequest as configured by this builderListResourceCategoriesRequest.Buildercategories(String categories)A comma-separated list of categories used for filteringListResourceCategoriesRequest.BuildercompartmentId(String compartmentId)The compartment idListResourceCategoriesRequest.Buildercopy(ListResourceCategoriesRequest o)Copy method to populate the builder with values from the given instance.ListResourceCategoriesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListResourceCategoriesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListResourceCategoriesRequest.BuildernamespaceName(String namespaceName)The Logging Analytics namespace used for the request.ListResourceCategoriesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListResourceCategoriesRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListResourceCategoriesRequest.BuilderresourceIds(String resourceIds)A comma-separated list of resource unique identifiers used for filtering.ListResourceCategoriesRequest.BuilderresourceTypes(String resourceTypes)A comma-separated list of resource types used for filtering.ListResourceCategoriesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListResourceCategoriesRequest.BuildersortBy(ListResourceCategoriesRequest.SortBy sortBy)The attribute used to sort the returned category resources.ListResourceCategoriesRequest.BuildersortOrder(ListResourceCategoriesRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).-
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 ListResourceCategoriesRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName- the value to set- Returns:
- this builder instance
-
categories
public ListResourceCategoriesRequest.Builder categories(String categories)
A comma-separated list of categories used for filtering- Parameters:
categories- the value to set- Returns:
- this builder instance
-
resourceTypes
public ListResourceCategoriesRequest.Builder resourceTypes(String resourceTypes)
A comma-separated list of resource types used for filtering.Only resources of the types specified will be returned. Examples include SOURCE, PARSER, LOOKUP, etc.
- Parameters:
resourceTypes- the value to set- Returns:
- this builder instance
-
resourceIds
public ListResourceCategoriesRequest.Builder resourceIds(String resourceIds)
A comma-separated list of resource unique identifiers used for filtering.Only resources with matching unique identifiers will be returned.
- Parameters:
resourceIds- the value to set- Returns:
- this builder instance
-
compartmentId
public ListResourceCategoriesRequest.Builder compartmentId(String compartmentId)
The compartment id- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
sortOrder
public ListResourceCategoriesRequest.Builder sortOrder(ListResourceCategoriesRequest.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 ListResourceCategoriesRequest.Builder sortBy(ListResourceCategoriesRequest.SortBy sortBy)
The attribute used to sort the returned category resources.- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
limit
public ListResourceCategoriesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListResourceCategoriesRequest.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
-
opcRequestId
public ListResourceCategoriesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListResourceCategoriesRequest.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 ListResourceCategoriesRequest.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 ListResourceCategoriesRequest.Builder copy(ListResourceCategoriesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListResourceCategoriesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListResourceCategoriesRequest build()
Build the instance of ListResourceCategoriesRequest 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<ListResourceCategoriesRequest,Void>- Returns:
- instance of ListResourceCategoriesRequest
-
buildWithoutInvocationCallback
public ListResourceCategoriesRequest buildWithoutInvocationCallback()
Build the instance of ListResourceCategoriesRequest 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 ListResourceCategoriesRequest
-
-