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 ListSchedulingPlansRequestbuild()Build the instance of ListSchedulingPlansRequest as configured by this builderListSchedulingPlansRequestbuildWithoutInvocationCallback()Build the instance of ListSchedulingPlansRequest as configured by this builderListSchedulingPlansRequest.BuildercompartmentId(String compartmentId)The compartment OCID.ListSchedulingPlansRequest.Buildercopy(ListSchedulingPlansRequest o)Copy method to populate the builder with values from the given instance.ListSchedulingPlansRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire display name given.ListSchedulingPlansRequest.Builderid(String id)A filter to return only resources that match the given Schedule Plan id exactly.ListSchedulingPlansRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListSchedulingPlansRequest.BuilderlifecycleState(SchedulingPlanSummary.LifecycleState lifecycleState)A filter to return only resources that match the given lifecycle state exactly.ListSchedulingPlansRequest.Builderlimit(Integer limit)The maximum number of items to return per page.ListSchedulingPlansRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListSchedulingPlansRequest.Builderpage(String page)The pagination token to continue listing from.ListSchedulingPlansRequest.BuilderresourceId(String resourceId)A filter to return only resources that match the given resource id exactly.ListSchedulingPlansRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListSchedulingPlansRequest.BuilderschedulingPolicyId(String schedulingPolicyId)A filter to return only resources that match the given scheduling policy id exactly.ListSchedulingPlansRequest.BuildersortBy(ListSchedulingPlansRequest.SortBy sortBy)The field to sort by.ListSchedulingPlansRequest.BuildersortOrder(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:
copyin 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:
buildin 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
-
-