Class ListScheduledJobsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.requests.ListScheduledJobsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListScheduledJobsRequest,Void>
- Enclosing class:
- ListScheduledJobsRequest
public static class ListScheduledJobsRequest.Builder extends Object implements BmcRequest.Builder<ListScheduledJobsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListScheduledJobsRequestbuild()Build the instance of ListScheduledJobsRequest as configured by this builderListScheduledJobsRequestbuildWithoutInvocationCallback()Build the instance of ListScheduledJobsRequest as configured by this builderListScheduledJobsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the resources to list.ListScheduledJobsRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)Indicates whether to include subcompartments in the returned results.ListScheduledJobsRequest.Buildercopy(ListScheduledJobsRequest o)Copy method to populate the builder with values from the given instance.ListScheduledJobsRequest.BuilderdisplayName(String displayName)A filter to return resources that match the given user-friendly name.ListScheduledJobsRequest.BuilderdisplayNameContains(String displayNameContains)A filter to return resources that may partially match the given display name.ListScheduledJobsRequest.Builderid(String id)The OCID of the scheduled job.ListScheduledJobsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListScheduledJobsRequest.BuilderisManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)Indicates whether to list only resources managed by the Autonomous Linux service.ListScheduledJobsRequest.BuilderisRestricted(Boolean isRestricted)A filter to return only restricted scheduled jobs.ListScheduledJobsRequest.BuilderlifecycleStageId(String lifecycleStageId)The OCID of the lifecycle stage.ListScheduledJobsRequest.BuilderlifecycleState(ScheduledJob.LifecycleState lifecycleState)A filter to return only scheduled jobs currently in the given state.ListScheduledJobsRequest.Builderlimit(Integer limit)For list pagination.ListScheduledJobsRequest.Builderlocation(ManagedInstanceLocation singularValue)Singular setter.ListScheduledJobsRequest.Builderlocation(List<ManagedInstanceLocation> location)A filter to return only resources whose location matches the given value.ListScheduledJobsRequest.BuilderlocationNotEqualTo(ManagedInstanceLocation singularValue)Singular setter.ListScheduledJobsRequest.BuilderlocationNotEqualTo(List<ManagedInstanceLocation> locationNotEqualTo)A filter to return only resources whose location does not match the given value.ListScheduledJobsRequest.BuildermanagedCompartmentId(String managedCompartmentId)The OCID of the managed compartment.ListScheduledJobsRequest.BuildermanagedInstanceGroupId(String managedInstanceGroupId)The OCID of the managed instance group.ListScheduledJobsRequest.BuildermanagedInstanceId(String managedInstanceId)The OCID of the managed instance.ListScheduledJobsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListScheduledJobsRequest.BuilderoperationType(OperationTypes operationType)A filter to return only scheduled jobs with the given operation type.ListScheduledJobsRequest.Builderpage(String page)For list pagination.ListScheduledJobsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListScheduledJobsRequest.BuilderscheduleType(ScheduleTypes scheduleType)A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).ListScheduledJobsRequest.BuildersortBy(ListScheduledJobsRequest.SortBy sortBy)The field to sort by.ListScheduledJobsRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘ASC’ or ‘DESC’.ListScheduledJobsRequest.BuildertimeEnd(Date timeEnd)A filter to return only resources with a date on or before the given value, in ISO 8601 format.ListScheduledJobsRequest.BuildertimeStart(Date timeStart)A filter to return only resources with a date on or after the given value, in ISO 8601 format.-
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 ListScheduledJobsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the resources to list.This filter returns only resources contained within the specified compartment.
- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
displayName
public ListScheduledJobsRequest.Builder displayName(String displayName)
A filter to return resources that match the given user-friendly name.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
displayNameContains
public ListScheduledJobsRequest.Builder displayNameContains(String displayNameContains)
A filter to return resources that may partially match the given display name.- Parameters:
displayNameContains- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListScheduledJobsRequest.Builder lifecycleState(ScheduledJob.LifecycleState lifecycleState)
A filter to return only scheduled jobs currently in the given state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
managedInstanceId
public ListScheduledJobsRequest.Builder managedInstanceId(String managedInstanceId)
The OCID of the managed instance.This filter returns resources associated with this managed instance.
- Parameters:
managedInstanceId- the value to set- Returns:
- this builder instance
-
managedInstanceGroupId
public ListScheduledJobsRequest.Builder managedInstanceGroupId(String managedInstanceGroupId)
The OCID of the managed instance group.This filter returns resources associated with this group.
- Parameters:
managedInstanceGroupId- the value to set- Returns:
- this builder instance
-
managedCompartmentId
public ListScheduledJobsRequest.Builder managedCompartmentId(String managedCompartmentId)
The OCID of the managed compartment.This filter returns resources associated with this compartment.
- Parameters:
managedCompartmentId- the value to set- Returns:
- this builder instance
-
lifecycleStageId
public ListScheduledJobsRequest.Builder lifecycleStageId(String lifecycleStageId)
The OCID of the lifecycle stage.This resource returns resources associated with this lifecycle stage.
- Parameters:
lifecycleStageId- the value to set- Returns:
- this builder instance
-
operationType
public ListScheduledJobsRequest.Builder operationType(OperationTypes operationType)
A filter to return only scheduled jobs with the given operation type.- Parameters:
operationType- the value to set- Returns:
- this builder instance
-
scheduleType
public ListScheduledJobsRequest.Builder scheduleType(ScheduleTypes scheduleType)
A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).- Parameters:
scheduleType- the value to set- Returns:
- this builder instance
-
timeStart
public ListScheduledJobsRequest.Builder timeStart(Date timeStart)
A filter to return only resources with a date on or after the given value, in ISO 8601 format.Example: 2017-07-14T02:40:00.000Z
- Parameters:
timeStart- the value to set- Returns:
- this builder instance
-
timeEnd
public ListScheduledJobsRequest.Builder timeEnd(Date timeEnd)
A filter to return only resources with a date on or before the given value, in ISO 8601 format.Example: 2017-07-14T02:40:00.000Z
- Parameters:
timeEnd- the value to set- Returns:
- this builder instance
-
limit
public ListScheduledJobsRequest.Builder limit(Integer limit)
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
Example: 50
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListScheduledJobsRequest.Builder page(String page)
For list pagination.The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.
Example: 3
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListScheduledJobsRequest.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 ListScheduledJobsRequest.Builder sortBy(ListScheduledJobsRequest.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.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListScheduledJobsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
isRestricted
public ListScheduledJobsRequest.Builder isRestricted(Boolean isRestricted)
A filter to return only restricted scheduled jobs.- Parameters:
isRestricted- the value to set- Returns:
- this builder instance
-
id
public ListScheduledJobsRequest.Builder id(String id)
The OCID of the scheduled job.A filter to return the specified job.
- Parameters:
id- the value to set- Returns:
- this builder instance
-
compartmentIdInSubtree
public ListScheduledJobsRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
Indicates whether to include subcompartments in the returned results.Default is false.
- Parameters:
compartmentIdInSubtree- the value to set- Returns:
- this builder instance
-
location
public ListScheduledJobsRequest.Builder location(List<ManagedInstanceLocation> location)
A filter to return only resources whose location matches the given value.- Parameters:
location- the value to set- Returns:
- this builder instance
-
location
public ListScheduledJobsRequest.Builder location(ManagedInstanceLocation singularValue)
Singular setter.A filter to return only resources whose location matches the given value.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
locationNotEqualTo
public ListScheduledJobsRequest.Builder locationNotEqualTo(List<ManagedInstanceLocation> locationNotEqualTo)
A filter to return only resources whose location does not match the given value.- Parameters:
locationNotEqualTo- the value to set- Returns:
- this builder instance
-
locationNotEqualTo
public ListScheduledJobsRequest.Builder locationNotEqualTo(ManagedInstanceLocation singularValue)
Singular setter.A filter to return only resources whose location does not match the given value.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
isManagedByAutonomousLinux
public ListScheduledJobsRequest.Builder isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether to list only resources managed by the Autonomous Linux service.- Parameters:
isManagedByAutonomousLinux- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListScheduledJobsRequest.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 ListScheduledJobsRequest.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 ListScheduledJobsRequest.Builder copy(ListScheduledJobsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListScheduledJobsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListScheduledJobsRequest build()
Build the instance of ListScheduledJobsRequest 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<ListScheduledJobsRequest,Void>- Returns:
- instance of ListScheduledJobsRequest
-
buildWithoutInvocationCallback
public ListScheduledJobsRequest buildWithoutInvocationCallback()
Build the instance of ListScheduledJobsRequest 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 ListScheduledJobsRequest
-
-