Class ExportDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ExportDetails.Builder compartmentId​(String compartmentId)
        Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • compartmentIdInSubtree

        public ExportDetails.Builder compartmentIdInSubtree​(Boolean compartmentIdInSubtree)
        Flag to search all child compartments of the compartment Id specified in the compartmentId query parameter.
        Parameters:
        compartmentIdInSubtree - the value to set
        Returns:
        this builder
      • queryString

        public ExportDetails.Builder queryString​(String queryString)
        Query to perform.
        Parameters:
        queryString - the value to set
        Returns:
        this builder
      • subSystem

        public ExportDetails.Builder subSystem​(SubSystemName subSystem)
        Default subsystem to qualify fields with in the queryString if not specified.
        Parameters:
        subSystem - the value to set
        Returns:
        this builder
      • scopeFilters

        public ExportDetails.Builder scopeFilters​(List<ScopeFilter> scopeFilters)
        List of filters to be applied when the query executes.

        More than one filter per field is not permitted.

        Parameters:
        scopeFilters - the value to set
        Returns:
        this builder
      • maxTotalCount

        public ExportDetails.Builder maxTotalCount​(Integer maxTotalCount)
        Maximum number of results retrieved from data source is determined by the specific query used and the maxTotalCount input field.

        If the export results can be streamed, the maximum will be 1,000,000. If the results cannot be streamed, the maximum limit is 500 for queries that include the link command and 10,000 for the queries that do not include the link command.

        Queries that include certain commands such as head, tail or stats cannot be streamed and are subject to a maximum of 10,000 results. Queries that include the sort command cannot be streamed unless the sort fields are restricted to id and/or time. The maximum number of results retrieved is the lesser of the maxTotalCount input provided and the applicable limit described above.

        Parameters:
        maxTotalCount - the value to set
        Returns:
        this builder
      • queryTimeoutInSeconds

        public ExportDetails.Builder queryTimeoutInSeconds​(Integer queryTimeoutInSeconds)
        Amount of time, in seconds, allowed for a query to execute.

        If this time expires before the query is complete, any partial results will be returned.

        Parameters:
        queryTimeoutInSeconds - the value to set
        Returns:
        this builder
      • shouldIncludeColumns

        public ExportDetails.Builder shouldIncludeColumns​(Boolean shouldIncludeColumns)
        Include columns in response
        Parameters:
        shouldIncludeColumns - the value to set
        Returns:
        this builder
      • shouldLocalize

        public ExportDetails.Builder shouldLocalize​(Boolean shouldLocalize)
        Localize results, including header columns, List-Of-Values and timestamp values.
        Parameters:
        shouldLocalize - the value to set
        Returns:
        this builder
      • shouldUseAcceleration

        public ExportDetails.Builder shouldUseAcceleration​(Boolean shouldUseAcceleration)
        Controls if query should ignore pre-calculated results if available and only use raw data.
        Parameters:
        shouldUseAcceleration - the value to set
        Returns:
        this builder