Package com.oracle.bmc.jms.requests
Class ListTaskSchedulesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.requests.ListTaskSchedulesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListTaskSchedulesRequest,Void>
- Enclosing class:
- ListTaskSchedulesRequest
public static class ListTaskSchedulesRequest.Builder extends Object implements BmcRequest.Builder<ListTaskSchedulesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTaskSchedulesRequest
build()
Build the instance of ListTaskSchedulesRequest as configured by this builderListTaskSchedulesRequest
buildWithoutInvocationCallback()
Build the instance of ListTaskSchedulesRequest as configured by this builderListTaskSchedulesRequest.Builder
copy(ListTaskSchedulesRequest o)
Copy method to populate the builder with values from the given instance.ListTaskSchedulesRequest.Builder
fleetId(String fleetId)
The ID of the Fleet.ListTaskSchedulesRequest.Builder
id(String id)
The OCID to identify this task schedule.ListTaskSchedulesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListTaskSchedulesRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListTaskSchedulesRequest.Builder
managedInstanceId(String managedInstanceId)
The Fleet-unique identifier of the related managed instance.ListTaskSchedulesRequest.Builder
name(String name)
The task name.ListTaskSchedulesRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListTaskSchedulesRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListTaskSchedulesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListTaskSchedulesRequest.Builder
sortBy(TaskScheduleSortBy sortBy)
The field used to sort task schedule records.ListTaskSchedulesRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.ListTaskSchedulesRequest.Builder
taskScheduleNameContains(String taskScheduleNameContains)
Filter the list with task schedule name contains the given value.-
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
-
fleetId
public ListTaskSchedulesRequest.Builder fleetId(String fleetId)
The ID of the Fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder instance
-
id
public ListTaskSchedulesRequest.Builder id(String id)
The OCID to identify this task schedule.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
managedInstanceId
public ListTaskSchedulesRequest.Builder managedInstanceId(String managedInstanceId)
The Fleet-unique identifier of the related managed instance.- Parameters:
managedInstanceId
- the value to set- Returns:
- this builder instance
-
name
public ListTaskSchedulesRequest.Builder name(String name)
The task name.- Parameters:
name
- the value to set- Returns:
- this builder instance
-
taskScheduleNameContains
public ListTaskSchedulesRequest.Builder taskScheduleNameContains(String taskScheduleNameContains)
Filter the list with task schedule name contains the given value.- Parameters:
taskScheduleNameContains
- the value to set- Returns:
- this builder instance
-
limit
public ListTaskSchedulesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListTaskSchedulesRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.The token is usually retrieved from a previous list call.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListTaskSchedulesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListTaskSchedulesRequest.Builder sortBy(TaskScheduleSortBy sortBy)
The field used to sort task schedule records.Only one sort order may be provided. Default order for timeCreated is ascending. If no value is specified, timeCreated is default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListTaskSchedulesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListTaskSchedulesRequest.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 ListTaskSchedulesRequest.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 ListTaskSchedulesRequest.Builder copy(ListTaskSchedulesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListTaskSchedulesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListTaskSchedulesRequest build()
Build the instance of ListTaskSchedulesRequest 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<ListTaskSchedulesRequest,Void>
- Returns:
- instance of ListTaskSchedulesRequest
-
buildWithoutInvocationCallback
public ListTaskSchedulesRequest buildWithoutInvocationCallback()
Build the instance of ListTaskSchedulesRequest 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 ListTaskSchedulesRequest
-
-