Class ListScheduledJobsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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​(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