Class ListEventsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • eventSummary

        public ListEventsRequest.Builder eventSummary​(String eventSummary)
        A filter to return only events whose summary matches the given value.
        Parameters:
        eventSummary - the value to set
        Returns:
        this builder instance
      • eventSummaryContains

        public ListEventsRequest.Builder eventSummaryContains​(String eventSummaryContains)
        A filter to return only events with a summary that contains the value provided.
        Parameters:
        eventSummaryContains - the value to set
        Returns:
        this builder instance
      • eventFingerprint

        public ListEventsRequest.Builder eventFingerprint​(String eventFingerprint)
        The eventFingerprint of the KernelEventData.
        Parameters:
        eventFingerprint - the value to set
        Returns:
        this builder instance
      • compartmentId

        public ListEventsRequest.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
      • lifecycleState

        public ListEventsRequest.Builder lifecycleState​(Event.LifecycleState lifecycleState)
        A filter to return only events that match the state provided.

        The state value is case-insensitive.

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder instance
      • resourceId

        public ListEventsRequest.Builder resourceId​(String resourceId)
        The OCID of the resource.

        This filter returns resources associated with the specified resource.

        Parameters:
        resourceId - the value to set
        Returns:
        this builder instance
      • type

        public ListEventsRequest.Builder type​(List<EventType> type)
        A filter to return only resources whose type matches the given value.
        Parameters:
        type - the value to set
        Returns:
        this builder instance
      • type

        public ListEventsRequest.Builder type​(EventType singularValue)
        Singular setter.

        A filter to return only resources whose type matches the given value.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • limit

        public ListEventsRequest.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 ListEventsRequest.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
      • timeCreatedLessThan

        public ListEventsRequest.Builder timeCreatedLessThan​(Date timeCreatedLessThan)
        A filter that returns events that occurred on or before the date provided.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreatedLessThan - the value to set
        Returns:
        this builder instance
      • timeCreatedGreaterThanOrEqualTo

        public ListEventsRequest.Builder timeCreatedGreaterThanOrEqualTo​(Date timeCreatedGreaterThanOrEqualTo)
        A filter that returns events that occurred on or after the date provided.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreatedGreaterThanOrEqualTo - the value to set
        Returns:
        this builder instance
      • sortOrder

        public ListEventsRequest.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 ListEventsRequest.Builder sortBy​(ListEventsRequest.SortBy sortBy)
        The field to sort by.

        Only one sort order may be provided. Default order for timeCreated, timeOccurredAt and timeUpdated is descending. Default order for eventSummary is ascending.

        Parameters:
        sortBy - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListEventsRequest.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
      • isManagedByAutonomousLinux

        public ListEventsRequest.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 ListEventsRequest.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 ListEventsRequest.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