Class ListDataFilesRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • apmDomainId

        public ListDataFilesRequest.Builder apmDomainId​(String apmDomainId)
        The APM Domain ID the request is intended for.
        Parameters:
        apmDomainId - the value to set
        Returns:
        this builder instance
      • apmType

        public ListDataFilesRequest.Builder apmType​(String apmType)
        The type of the data file.
        Parameters:
        apmType - the value to set
        Returns:
        this builder instance
      • name

        public ListDataFilesRequest.Builder name​(String name)
        A filter to return resources that match the specified name.

        Supports regular expressions to filter data files.

        Parameters:
        name - the value to set
        Returns:
        this builder instance
      • timeLastModifiedBefore

        public ListDataFilesRequest.Builder timeLastModifiedBefore​(Date timeLastModifiedBefore)
        Return data files with time ‘timeLastModified’ before the specified time, expressed in RFC 3339 timestamp format.

        Example: 2020-02-19T22:47:12.613Z

        Parameters:
        timeLastModifiedBefore - the value to set
        Returns:
        this builder instance
      • timeLastModifiedAfter

        public ListDataFilesRequest.Builder timeLastModifiedAfter​(Date timeLastModifiedAfter)
        Return data files with the ‘timeLastModified’ after the specified time, expressed in RFC 3339 timestamp format.

        Example: 2020-02-19T22:47:12.613Z

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

        public ListDataFilesRequest.Builder limit​(Integer limit)
        The maximum number of items to return.
        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • page

        public ListDataFilesRequest.Builder page​(String page)
        The maximum number of results per page, or items to return in a paginated “List” call.

        For information on how pagination works, see List Pagination. Example: 50

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

        public ListDataFilesRequest.Builder sortOrder​(SortOrders sortOrder)
        The sort order to use, either ascending (ASC) or descending (DESC).

        The displayName sort order is case-sensitive.

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

        public ListDataFilesRequest.Builder sortBy​(ListDataFilesRequest.SortBy sortBy)
        The field to sort by.

        You can provide one “sortBy” value. The default order for displayName, timeCreated and timeUpdated is ascending. The displayName sort by is case-sensitive.

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

        public ListDataFilesRequest.Builder metadata​(String metadata)
        A string containing a JSON-encoded object with metadata related to the uploaded file or resource.

        Example: {“fileName”:“report.pdf”,“uploader”:“jane.doe”,“category”:“financial”}

        Parameters:
        metadata - the value to set
        Returns:
        this builder instance
      • opcRetryToken

        public ListDataFilesRequest.Builder opcRetryToken​(String opcRetryToken)
        A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.

        Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

        Parameters:
        opcRetryToken - the value to set
        Returns:
        this builder instance
      • opcClientRequestId

        public ListDataFilesRequest.Builder opcClientRequestId​(String opcClientRequestId)
        The client request ID for tracing.
        Parameters:
        opcClientRequestId - the value to set
        Returns:
        this builder instance
      • invocationCallback

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