Class ListWarningsRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200601")
    public class ListWarningsRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/loganalytics/ListWarningsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWarningsRequest.

    • Constructor Detail

      • ListWarningsRequest

        public ListWarningsRequest()
    • Method Detail

      • getNamespaceName

        public String getNamespaceName()
        The Logging Analytics namespace used for the request.
      • getCompartmentId

        public String getCompartmentId()
        The ID of the compartment in which to list resources.
      • getWarningState

        public ListWarningsRequest.WarningState getWarningState()
        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.

      • getSourceName

        public String getSourceName()
        The source name.
      • getSourcePattern

        public String getSourcePattern()
        The source pattern used for filtering.

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

      • getWarningMessage

        public String getWarningMessage()
        warning message query parameter
      • getEntityName

        public String getEntityName()
        The entity name used for filtering.

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

      • getEntityType

        public String getEntityType()
        The entity type used for filtering.

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

      • getWarningType

        public String getWarningType()
        The warning type query parameter.
      • getIsNoSource

        public Boolean getIsNoSource()
        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.

      • getStartTime

        public String getStartTime()
        The warning start date query parameter.
      • getEndTime

        public String getEndTime()
        The warning end date query parameter.
      • getLimit

        public Integer getLimit()
        The maximum number of items to return.
      • getPage

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

        This is usually retrieved from a previous list call.

      • getOpcRequestId

        public String getOpcRequestId()
        The client request ID for tracing.
      • builder

        public static ListWarningsRequest.Builder builder()
        Return a new builder for this request object.
        Returns:
        builder for the request object
      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>