Package com.oracle.bmc.database.requests
Class ListSchedulingPlansRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListSchedulingPlansRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSchedulingPlansRequest,Void>
- Enclosing class:
- ListSchedulingPlansRequest
public static class ListSchedulingPlansRequest.Builder extends Object implements BmcRequest.Builder<ListSchedulingPlansRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSchedulingPlansRequest
build()
Build the instance of ListSchedulingPlansRequest as configured by this builderListSchedulingPlansRequest
buildWithoutInvocationCallback()
Build the instance of ListSchedulingPlansRequest as configured by this builderListSchedulingPlansRequest.Builder
compartmentId(String compartmentId)
The compartment OCID.ListSchedulingPlansRequest.Builder
copy(ListSchedulingPlansRequest o)
Copy method to populate the builder with values from the given instance.ListSchedulingPlansRequest.Builder
displayName(String displayName)
A filter to return only resources that match the entire display name given.ListSchedulingPlansRequest.Builder
id(String id)
A filter to return only resources that match the given Schedule Plan id exactly.ListSchedulingPlansRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListSchedulingPlansRequest.Builder
lifecycleState(SchedulingPlanSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.ListSchedulingPlansRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListSchedulingPlansRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListSchedulingPlansRequest.Builder
page(String page)
The pagination token to continue listing from.ListSchedulingPlansRequest.Builder
resourceId(String resourceId)
A filter to return only resources that match the given resource id exactly.ListSchedulingPlansRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListSchedulingPlansRequest.Builder
schedulingPolicyId(String schedulingPolicyId)
A filter to return only resources that match the given scheduling policy id exactly.ListSchedulingPlansRequest.Builder
sortBy(ListSchedulingPlansRequest.SortBy sortBy)
The field to sort by.ListSchedulingPlansRequest.Builder
sortOrder(ListSchedulingPlansRequest.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
-
compartmentId
public ListSchedulingPlansRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
limit
public ListSchedulingPlansRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListSchedulingPlansRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSchedulingPlansRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
sortBy
public ListSchedulingPlansRequest.Builder sortBy(ListSchedulingPlansRequest.SortBy sortBy)
The field to sort by.You can provide one sort order (sortOrder). Default order for TIMECREATED is descending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListSchedulingPlansRequest.Builder sortOrder(ListSchedulingPlansRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListSchedulingPlansRequest.Builder lifecycleState(SchedulingPlanSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
schedulingPolicyId
public ListSchedulingPlansRequest.Builder schedulingPolicyId(String schedulingPolicyId)
A filter to return only resources that match the given scheduling policy id exactly.- Parameters:
schedulingPolicyId
- the value to set- Returns:
- this builder instance
-
displayName
public ListSchedulingPlansRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.The match is not case sensitive.
- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
resourceId
public ListSchedulingPlansRequest.Builder resourceId(String resourceId)
A filter to return only resources that match the given resource id exactly.- Parameters:
resourceId
- the value to set- Returns:
- this builder instance
-
id
public ListSchedulingPlansRequest.Builder id(String id)
A filter to return only resources that match the given Schedule Plan id exactly.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSchedulingPlansRequest.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 ListSchedulingPlansRequest.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 ListSchedulingPlansRequest.Builder copy(ListSchedulingPlansRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListSchedulingPlansRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSchedulingPlansRequest build()
Build the instance of ListSchedulingPlansRequest 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<ListSchedulingPlansRequest,Void>
- Returns:
- instance of ListSchedulingPlansRequest
-
buildWithoutInvocationCallback
public ListSchedulingPlansRequest buildWithoutInvocationCallback()
Build the instance of ListSchedulingPlansRequest 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 ListSchedulingPlansRequest
-
-