Class ListWarningsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • namespaceName

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

        public ListWarningsRequest.Builder compartmentId​(String compartmentId)
        The ID of the compartment in which to list resources.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • warningState

        public ListWarningsRequest.Builder warningState​(ListWarningsRequest.WarningState warningState)
        The warning state used for filtering.

        A value of SUPPRESSED will return only suppressed warnings, a value of UNSUPPRESSED will return only unsuppressed warnings, and a value of ALL will return all warnings regardless of their suppression state. Default is UNSUPPRESSED.

        Parameters:
        warningState - the value to set
        Returns:
        this builder instance
      • sourceName

        public ListWarningsRequest.Builder sourceName​(String sourceName)
        The source name.
        Parameters:
        sourceName - the value to set
        Returns:
        this builder instance
      • sourcePattern

        public ListWarningsRequest.Builder sourcePattern​(String sourcePattern)
        The source pattern used for filtering.

        Only warnings associated with a source with the specified pattern will be returned.

        Parameters:
        sourcePattern - the value to set
        Returns:
        this builder instance
      • warningMessage

        public ListWarningsRequest.Builder warningMessage​(String warningMessage)
        warning message query parameter
        Parameters:
        warningMessage - the value to set
        Returns:
        this builder instance
      • entityName

        public ListWarningsRequest.Builder entityName​(String entityName)
        The entity name used for filtering.

        Only warnings associated with an entity with the specified name will be returned.

        Parameters:
        entityName - the value to set
        Returns:
        this builder instance
      • entityType

        public ListWarningsRequest.Builder entityType​(String entityType)
        The entity type used for filtering.

        Only associations on an entity with the specified type will be returned.

        Parameters:
        entityType - the value to set
        Returns:
        this builder instance
      • warningType

        public ListWarningsRequest.Builder warningType​(String warningType)
        The warning type query parameter.
        Parameters:
        warningType - the value to set
        Returns:
        this builder instance
      • isNoSource

        public ListWarningsRequest.Builder isNoSource​(Boolean isNoSource)
        A flag indicating whether to filter warnings based on source display name or on warning level.

        A value of true will filter based on warning level (rule, source, or pattern), while a value of false will filter based on source display name.

        Parameters:
        isNoSource - the value to set
        Returns:
        this builder instance
      • startTime

        public ListWarningsRequest.Builder startTime​(String startTime)
        The warning start date query parameter.
        Parameters:
        startTime - the value to set
        Returns:
        this builder instance
      • endTime

        public ListWarningsRequest.Builder endTime​(String endTime)
        The warning end date query parameter.
        Parameters:
        endTime - the value to set
        Returns:
        this builder instance
      • limit

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

        public ListWarningsRequest.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 ListWarningsRequest.Builder opcRequestId​(String opcRequestId)
        The client request ID for tracing.
        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • invocationCallback

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