Class ListWarningsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.loganalytics.requests.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/latest/loganalytics/ListWarningsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWarningsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListWarningsRequest.Builderstatic classListWarningsRequest.SortByThe attribute used to sort the returned warningsstatic classListWarningsRequest.SortOrderThe sort order to use, either ascending (ASC) or descending (DESC).static classListWarningsRequest.WarningStateThe warning state used for filtering.
-
Constructor Summary
Constructors Constructor Description ListWarningsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListWarningsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetCompartmentId()The ID of the compartment in which to list resources.StringgetEndTime()The warning end date query parameter.StringgetEntityName()The entity name used for filtering.StringgetEntityType()The entity type used for filtering.BooleangetIsNoSource()A flag indicating whether to filter warnings based on source display name or on warning level.IntegergetLimit()The maximum number of items to return.StringgetNamespaceName()The Logging Analytics namespace used for the request.StringgetOpcRequestId()The client request ID for tracing.StringgetPage()The page token representing the page at which to start retrieving results.ListWarningsRequest.SortBygetSortBy()The attribute used to sort the returned warningsListWarningsRequest.SortOrdergetSortOrder()The sort order to use, either ascending (ASC) or descending (DESC).StringgetSourceName()The source name.StringgetSourcePattern()The source pattern used for filtering.StringgetStartTime()The warning start date query parameter.StringgetWarningMessage()warning message query parameterListWarningsRequest.WarningStategetWarningState()The warning state used for filtering.StringgetWarningType()The warning type query parameter.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListWarningsRequest.BuildertoBuilder()Return an instance ofListWarningsRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
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.
-
getSortOrder
public ListWarningsRequest.SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).
-
getSortBy
public ListWarningsRequest.SortBy getSortBy()
The attribute used to sort the returned warnings
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
toBuilder
public ListWarningsRequest.Builder toBuilder()
Return an instance ofListWarningsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListWarningsRequest.Builderthat allows you to modify request properties.
-
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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-