Class ListSchedulerExecutionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.requests.ListSchedulerExecutionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSchedulerExecutionsRequest,Void>
- Enclosing class:
- ListSchedulerExecutionsRequest
public static class ListSchedulerExecutionsRequest.Builder extends Object implements BmcRequest.Builder<ListSchedulerExecutionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSchedulerExecutionsRequestbuild()Build the instance of ListSchedulerExecutionsRequest as configured by this builderListSchedulerExecutionsRequestbuildWithoutInvocationCallback()Build the instance of ListSchedulerExecutionsRequest as configured by this builderListSchedulerExecutionsRequest.BuildercompartmentId(String compartmentId)The ID of the compartment in which to list resources.ListSchedulerExecutionsRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it.ListSchedulerExecutionsRequest.Buildercopy(ListSchedulerExecutionsRequest o)Copy method to populate the builder with values from the given instance.ListSchedulerExecutionsRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire display name given.ListSchedulerExecutionsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListSchedulerExecutionsRequest.BuilderlifecycleOperation(String lifecycleOperation)A filter to return only resources their lifecycleOperation matches the given lifecycleOperation.ListSchedulerExecutionsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListSchedulerExecutionsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListSchedulerExecutionsRequest.Builderpage(String page)A token representing the position at which to start retrieving results.ListSchedulerExecutionsRequest.BuilderresourceId(String resourceId)ResourceId filter (Example FleetId)ListSchedulerExecutionsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListSchedulerExecutionsRequest.BuilderrunbookId(String runbookId)A filter to return only schedule definitions whose associated runbookId matches the given runbookId.ListSchedulerExecutionsRequest.BuilderrunbookVersionName(String runbookVersionName)RunbookVersion Name filterListSchedulerExecutionsRequest.BuilderschedulerDefintionId(String schedulerDefintionId)SchedulerDefinition identifierListSchedulerExecutionsRequest.BuilderschedulerJobId(String schedulerJobId)SchedulerJob identifier filterListSchedulerExecutionsRequest.BuildersortBy(ListSchedulerExecutionsRequest.SortBy sortBy)The field to sort by.ListSchedulerExecutionsRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘ASC’ or ‘DESC’.ListSchedulerExecutionsRequest.Buildersubstate(String substate)A filter to return only resources their subState matches the given subState.ListSchedulerExecutionsRequest.BuildertimeScheduledGreaterThanOrEqualTo(Date timeScheduledGreaterThanOrEqualTo)Scheduled TimeListSchedulerExecutionsRequest.BuildertimeScheduledLessThan(Date timeScheduledLessThan)Scheduled Time-
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 ListSchedulerExecutionsRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.Empty only if the resource OCID query param is not specified.
- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
displayName
public ListSchedulerExecutionsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
timeScheduledGreaterThanOrEqualTo
public ListSchedulerExecutionsRequest.Builder timeScheduledGreaterThanOrEqualTo(Date timeScheduledGreaterThanOrEqualTo)
Scheduled Time- Parameters:
timeScheduledGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeScheduledLessThan
public ListSchedulerExecutionsRequest.Builder timeScheduledLessThan(Date timeScheduledLessThan)
Scheduled Time- Parameters:
timeScheduledLessThan- the value to set- Returns:
- this builder instance
-
schedulerDefintionId
public ListSchedulerExecutionsRequest.Builder schedulerDefintionId(String schedulerDefintionId)
SchedulerDefinition identifier- Parameters:
schedulerDefintionId- the value to set- Returns:
- this builder instance
-
schedulerJobId
public ListSchedulerExecutionsRequest.Builder schedulerJobId(String schedulerJobId)
SchedulerJob identifier filter- Parameters:
schedulerJobId- the value to set- Returns:
- this builder instance
-
resourceId
public ListSchedulerExecutionsRequest.Builder resourceId(String resourceId)
ResourceId filter (Example FleetId)- Parameters:
resourceId- the value to set- Returns:
- this builder instance
-
runbookId
public ListSchedulerExecutionsRequest.Builder runbookId(String runbookId)
A filter to return only schedule definitions whose associated runbookId matches the given runbookId.- Parameters:
runbookId- the value to set- Returns:
- this builder instance
-
runbookVersionName
public ListSchedulerExecutionsRequest.Builder runbookVersionName(String runbookVersionName)
RunbookVersion Name filter- Parameters:
runbookVersionName- the value to set- Returns:
- this builder instance
-
substate
public ListSchedulerExecutionsRequest.Builder substate(String substate)
A filter to return only resources their subState matches the given subState.- Parameters:
substate- the value to set- Returns:
- this builder instance
-
lifecycleOperation
public ListSchedulerExecutionsRequest.Builder lifecycleOperation(String lifecycleOperation)
A filter to return only resources their lifecycleOperation matches the given lifecycleOperation.- Parameters:
lifecycleOperation- the value to set- Returns:
- this builder instance
-
compartmentIdInSubtree
public ListSchedulerExecutionsRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it.Which resources are returned and their field contents depends on the value of accessLevel.
- Parameters:
compartmentIdInSubtree- the value to set- Returns:
- this builder instance
-
limit
public ListSchedulerExecutionsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListSchedulerExecutionsRequest.Builder page(String page)
A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of a previous response.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListSchedulerExecutionsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListSchedulerExecutionsRequest.Builder sortBy(ListSchedulerExecutionsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated and timeScheduled is descending.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSchedulerExecutionsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSchedulerExecutionsRequest.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 ListSchedulerExecutionsRequest.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 ListSchedulerExecutionsRequest.Builder copy(ListSchedulerExecutionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListSchedulerExecutionsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSchedulerExecutionsRequest build()
Build the instance of ListSchedulerExecutionsRequest 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<ListSchedulerExecutionsRequest,Void>- Returns:
- instance of ListSchedulerExecutionsRequest
-
buildWithoutInvocationCallback
public ListSchedulerExecutionsRequest buildWithoutInvocationCallback()
Build the instance of ListSchedulerExecutionsRequest 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 ListSchedulerExecutionsRequest
-
-