Class ListScheduledTasksRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListScheduledTasksRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListScheduledTasksRequest,Void>
- Enclosing class:
- ListScheduledTasksRequest
public static class ListScheduledTasksRequest.Builder extends Object implements BmcRequest.Builder<ListScheduledTasksRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListScheduledTasksRequest
build()
Build the instance of ListScheduledTasksRequest as configured by this builderListScheduledTasksRequest
buildWithoutInvocationCallback()
Build the instance of ListScheduledTasksRequest as configured by this builderListScheduledTasksRequest.Builder
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.ListScheduledTasksRequest.Builder
copy(ListScheduledTasksRequest o)
Copy method to populate the builder with values from the given instance.ListScheduledTasksRequest.Builder
displayName(String displayName)
A filter to return only resources that match the given display name exactly.ListScheduledTasksRequest.Builder
displayNameContains(String displayNameContains)
A filter to return only resources whose display name contains the substring.ListScheduledTasksRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListScheduledTasksRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListScheduledTasksRequest.Builder
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.ListScheduledTasksRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListScheduledTasksRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListScheduledTasksRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListScheduledTasksRequest.Builder
savedSearchId(String savedSearchId)
A filter to return only scheduled tasks whose stream action savedSearchId matches the given ManagementSavedSearch id [OCID] exactly.ListScheduledTasksRequest.Builder
sortBy(ListScheduledTasksRequest.SortBy sortBy)
The field to sort by.ListScheduledTasksRequest.Builder
sortOrder(ListScheduledTasksRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).ListScheduledTasksRequest.Builder
targetService(String targetService)
The target service to use for filtering.ListScheduledTasksRequest.Builder
taskType(TaskType taskType)
Required parameter to specify schedule task type.-
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 ListScheduledTasksRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName
- the value to set- Returns:
- this builder instance
-
taskType
public ListScheduledTasksRequest.Builder taskType(TaskType taskType)
Required parameter to specify schedule task type.- Parameters:
taskType
- the value to set- Returns:
- this builder instance
-
compartmentId
public ListScheduledTasksRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListScheduledTasksRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
limit
public ListScheduledTasksRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListScheduledTasksRequest.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
-
displayName
public ListScheduledTasksRequest.Builder displayName(String displayName)
A filter to return only resources that match the given display name exactly.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListScheduledTasksRequest.Builder sortOrder(ListScheduledTasksRequest.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 ListScheduledTasksRequest.Builder sortBy(ListScheduledTasksRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
savedSearchId
public ListScheduledTasksRequest.Builder savedSearchId(String savedSearchId)
A filter to return only scheduled tasks whose stream action savedSearchId matches the given ManagementSavedSearch id [OCID] exactly.- Parameters:
savedSearchId
- the value to set- Returns:
- this builder instance
-
displayNameContains
public ListScheduledTasksRequest.Builder displayNameContains(String displayNameContains)
A filter to return only resources whose display name contains the substring.- Parameters:
displayNameContains
- the value to set- Returns:
- this builder instance
-
targetService
public ListScheduledTasksRequest.Builder targetService(String targetService)
The target service to use for filtering.- Parameters:
targetService
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListScheduledTasksRequest.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 ListScheduledTasksRequest.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 ListScheduledTasksRequest.Builder copy(ListScheduledTasksRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListScheduledTasksRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListScheduledTasksRequest build()
Build the instance of ListScheduledTasksRequest 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<ListScheduledTasksRequest,Void>
- Returns:
- instance of ListScheduledTasksRequest
-
buildWithoutInvocationCallback
public ListScheduledTasksRequest buildWithoutInvocationCallback()
Build the instance of ListScheduledTasksRequest 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 ListScheduledTasksRequest
-
-