Class ListStorageWorkRequestsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListStorageWorkRequestsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListStorageWorkRequestsRequest,Void>
- Enclosing class:
- ListStorageWorkRequestsRequest
public static class ListStorageWorkRequestsRequest.Builder extends Object implements BmcRequest.Builder<ListStorageWorkRequestsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStorageWorkRequestsRequestbuild()Build the instance of ListStorageWorkRequestsRequest as configured by this builderListStorageWorkRequestsRequestbuildWithoutInvocationCallback()Build the instance of ListStorageWorkRequestsRequest as configured by this builderListStorageWorkRequestsRequest.BuildercompartmentId(String compartmentId)The ID of the compartment in which to list resources.ListStorageWorkRequestsRequest.Buildercopy(ListStorageWorkRequestsRequest o)Copy method to populate the builder with values from the given instance.ListStorageWorkRequestsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListStorageWorkRequestsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListStorageWorkRequestsRequest.BuildernamespaceName(String namespaceName)The Logging Analytics namespace used for the request.ListStorageWorkRequestsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListStorageWorkRequestsRequest.BuilderoperationType(StorageOperationType operationType)The is the work request type query parameterListStorageWorkRequestsRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListStorageWorkRequestsRequest.BuilderpolicyId(String policyId)This is the query parameter of purge policy IDListStorageWorkRequestsRequest.BuilderpolicyName(String policyName)This is the query parameter of purge policy nameListStorageWorkRequestsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListStorageWorkRequestsRequest.BuildersortBy(ListStorageWorkRequestsRequest.SortBy sortBy)This is the query parameter of which field to sort by.ListStorageWorkRequestsRequest.BuildersortOrder(ListStorageWorkRequestsRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListStorageWorkRequestsRequest.Builderstatus(WorkRequestStatus status)The is the work request status query parameterListStorageWorkRequestsRequest.BuildertimeFinished(Date timeFinished)The is the query parameter of when the processing of work request was finishedListStorageWorkRequestsRequest.BuildertimeStarted(Date timeStarted)The is the query parameter of when the processing of work request was started-
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
-
compartmentId
public ListStorageWorkRequestsRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
namespaceName
public ListStorageWorkRequestsRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListStorageWorkRequestsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
limit
public ListStorageWorkRequestsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListStorageWorkRequestsRequest.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 ListStorageWorkRequestsRequest.Builder sortOrder(ListStorageWorkRequestsRequest.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 ListStorageWorkRequestsRequest.Builder sortBy(ListStorageWorkRequestsRequest.SortBy sortBy)
This is the query parameter of which field to sort by.Only one sort order may be provided. Default order for timeAccepted is descending. If no value is specified timeAccepted is default.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
operationType
public ListStorageWorkRequestsRequest.Builder operationType(StorageOperationType operationType)
The is the work request type query parameter- Parameters:
operationType- the value to set- Returns:
- this builder instance
-
status
public ListStorageWorkRequestsRequest.Builder status(WorkRequestStatus status)
The is the work request status query parameter- Parameters:
status- the value to set- Returns:
- this builder instance
-
timeStarted
public ListStorageWorkRequestsRequest.Builder timeStarted(Date timeStarted)
The is the query parameter of when the processing of work request was started- Parameters:
timeStarted- the value to set- Returns:
- this builder instance
-
timeFinished
public ListStorageWorkRequestsRequest.Builder timeFinished(Date timeFinished)
The is the query parameter of when the processing of work request was finished- Parameters:
timeFinished- the value to set- Returns:
- this builder instance
-
policyName
public ListStorageWorkRequestsRequest.Builder policyName(String policyName)
This is the query parameter of purge policy name- Parameters:
policyName- the value to set- Returns:
- this builder instance
-
policyId
public ListStorageWorkRequestsRequest.Builder policyId(String policyId)
This is the query parameter of purge policy ID- Parameters:
policyId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListStorageWorkRequestsRequest.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 ListStorageWorkRequestsRequest.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 ListStorageWorkRequestsRequest.Builder copy(ListStorageWorkRequestsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListStorageWorkRequestsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListStorageWorkRequestsRequest build()
Build the instance of ListStorageWorkRequestsRequest 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<ListStorageWorkRequestsRequest,Void>- Returns:
- instance of ListStorageWorkRequestsRequest
-
buildWithoutInvocationCallback
public ListStorageWorkRequestsRequest buildWithoutInvocationCallback()
Build the instance of ListStorageWorkRequestsRequest 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 ListStorageWorkRequestsRequest
-
-