public static class ListResourceCategoriesRequest.Builder extends Object implements BmcRequest.Builder<ListResourceCategoriesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListResourceCategoriesRequest |
build()
Build the instance of ListResourceCategoriesRequest as configured by this builder
|
ListResourceCategoriesRequest |
buildWithoutInvocationCallback()
Build the instance of ListResourceCategoriesRequest as configured by this builder
|
ListResourceCategoriesRequest.Builder |
categories(String categories)
A comma-separated list of categories used for filtering
|
ListResourceCategoriesRequest.Builder |
copy(ListResourceCategoriesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListResourceCategoriesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListResourceCategoriesRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListResourceCategoriesRequest.Builder |
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.
|
ListResourceCategoriesRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListResourceCategoriesRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListResourceCategoriesRequest.Builder |
resourceIds(String resourceIds)
A comma-separated list of resource unique identifiers used for filtering.
|
ListResourceCategoriesRequest.Builder |
resourceTypes(String resourceTypes)
A comma-separated list of resource types used for filtering.
|
ListResourceCategoriesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListResourceCategoriesRequest.Builder |
sortBy(ListResourceCategoriesRequest.SortBy sortBy)
The attribute used to sort the returned category resources.
|
ListResourceCategoriesRequest.Builder |
sortOrder(ListResourceCategoriesRequest.SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListResourceCategoriesRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.
namespaceName
- the value to setpublic ListResourceCategoriesRequest.Builder categories(String categories)
A comma-separated list of categories used for filtering
categories
- the value to setpublic 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.
resourceTypes
- the value to setpublic 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.
resourceIds
- the value to setpublic ListResourceCategoriesRequest.Builder sortOrder(ListResourceCategoriesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
sortOrder
- the value to setpublic ListResourceCategoriesRequest.Builder sortBy(ListResourceCategoriesRequest.SortBy sortBy)
The attribute used to sort the returned category resources.
sortBy
- the value to setpublic ListResourceCategoriesRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic 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.
page
- the value to setpublic ListResourceCategoriesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListResourceCategoriesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListResourceCategoriesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListResourceCategoriesRequest.Builder copy(ListResourceCategoriesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListResourceCategoriesRequest,Void>
o
- other request from which to copy valuespublic ListResourceCategoriesRequest build()
Build the instance of ListResourceCategoriesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListResourceCategoriesRequest,Void>
public ListResourceCategoriesRequest buildWithoutInvocationCallback()
Build the instance of ListResourceCategoriesRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2023. All rights reserved.