Class ListConfigWorkRequestsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListConfigWorkRequestsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListConfigWorkRequestsRequest,Void>
- Enclosing class:
- ListConfigWorkRequestsRequest
public static class ListConfigWorkRequestsRequest.Builder extends Object implements BmcRequest.Builder<ListConfigWorkRequestsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListConfigWorkRequestsRequest
build()
Build the instance of ListConfigWorkRequestsRequest as configured by this builderListConfigWorkRequestsRequest
buildWithoutInvocationCallback()
Build the instance of ListConfigWorkRequestsRequest as configured by this builderListConfigWorkRequestsRequest.Builder
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.ListConfigWorkRequestsRequest.Builder
copy(ListConfigWorkRequestsRequest o)
Copy method to populate the builder with values from the given instance.ListConfigWorkRequestsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListConfigWorkRequestsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListConfigWorkRequestsRequest.Builder
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.ListConfigWorkRequestsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListConfigWorkRequestsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListConfigWorkRequestsRequest.Builder
sortBy(ListConfigWorkRequestsRequest.SortBy sortBy)
The attribute used to sort the returned work requestsListConfigWorkRequestsRequest.Builder
sortOrder(ListConfigWorkRequestsRequest.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 ListConfigWorkRequestsRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName
- the value to set- Returns:
- this builder instance
-
compartmentId
public ListConfigWorkRequestsRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListConfigWorkRequestsRequest.Builder sortOrder(ListConfigWorkRequestsRequest.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 ListConfigWorkRequestsRequest.Builder sortBy(ListConfigWorkRequestsRequest.SortBy sortBy)
The attribute used to sort the returned work requests- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
limit
public ListConfigWorkRequestsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListConfigWorkRequestsRequest.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
-
invocationCallback
public ListConfigWorkRequestsRequest.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 ListConfigWorkRequestsRequest.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 ListConfigWorkRequestsRequest.Builder copy(ListConfigWorkRequestsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListConfigWorkRequestsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListConfigWorkRequestsRequest build()
Build the instance of ListConfigWorkRequestsRequest 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<ListConfigWorkRequestsRequest,Void>
- Returns:
- instance of ListConfigWorkRequestsRequest
-
buildWithoutInvocationCallback
public ListConfigWorkRequestsRequest buildWithoutInvocationCallback()
Build the instance of ListConfigWorkRequestsRequest 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 ListConfigWorkRequestsRequest
-
-