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/3.63.0/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 class
ListWarningsRequest.Builder
static class
ListWarningsRequest.SortBy
The attribute used to sort the returned warningsstatic class
ListWarningsRequest.SortOrder
The sort order to use, either ascending (ASC) or descending (DESC).static class
ListWarningsRequest.WarningState
The 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.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getCompartmentId()
The ID of the compartment in which to list resources.String
getEndTime()
The warning end date query parameter.String
getEntityName()
The entity name used for filtering.String
getEntityType()
The entity type used for filtering.Boolean
getIsNoSource()
A flag indicating whether to filter warnings based on source display name or on warning level.Integer
getLimit()
The maximum number of items to return.String
getNamespaceName()
The Logging Analytics namespace used for the request.String
getOpcRequestId()
The client request ID for tracing.String
getPage()
The page token representing the page at which to start retrieving results.ListWarningsRequest.SortBy
getSortBy()
The attribute used to sort the returned warningsListWarningsRequest.SortOrder
getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).String
getSourceName()
The source name.String
getSourcePattern()
The source pattern used for filtering.String
getStartTime()
The warning start date query parameter.String
getWarningMessage()
warning message query parameterListWarningsRequest.WarningState
getWarningState()
The warning state used for filtering.String
getWarningType()
The warning type query parameter.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListWarningsRequest.Builder
toBuilder()
Return an instance ofListWarningsRequest.Builder
that allows you to modify request properties.String
toString()
-
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.Builder
that allows you to modify request properties.- Returns:
- instance of
ListWarningsRequest.Builder
that 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:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-