Class QueryRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • namespaceName

        public QueryRequest.Builder namespaceName​(String namespaceName)
        The Logging Analytics namespace used for the request.
        Parameters:
        namespaceName - the value to set
        Returns:
        this builder instance
      • queryDetails

        public QueryRequest.Builder queryDetails​(QueryDetails queryDetails)
        Query to be executed.
        Parameters:
        queryDetails - the value to set
        Returns:
        this builder instance
      • page

        public QueryRequest.Builder page​(String page)
        The page token representing the page at which to start retrieving results.

        This is usually retrieved from a previous list call.

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

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

        public QueryRequest.Builder limit​(Integer limit)
        Maximum number of results to return in this request.

        Note a limit=-1 returns all results from pageId onwards up to maxtotalCount.

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

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