Class ListWarningsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.loganalytics.requests.ListWarningsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListWarningsRequest,Void>
 - Enclosing class:
- ListWarningsRequest
 
 public static class ListWarningsRequest.Builder extends Object implements BmcRequest.Builder<ListWarningsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListWarningsRequestbuild()Build the instance of ListWarningsRequest as configured by this builderListWarningsRequestbuildWithoutInvocationCallback()Build the instance of ListWarningsRequest as configured by this builderListWarningsRequest.BuildercompartmentId(String compartmentId)The ID of the compartment in which to list resources.ListWarningsRequest.Buildercopy(ListWarningsRequest o)Copy method to populate the builder with values from the given instance.ListWarningsRequest.BuilderendTime(String endTime)The warning end date query parameter.ListWarningsRequest.BuilderentityName(String entityName)The entity name used for filtering.ListWarningsRequest.BuilderentityType(String entityType)The entity type used for filtering.ListWarningsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListWarningsRequest.BuilderisNoSource(Boolean isNoSource)A flag indicating whether to filter warnings based on source display name or on warning level.ListWarningsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListWarningsRequest.BuildernamespaceName(String namespaceName)The Logging Analytics namespace used for the request.ListWarningsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListWarningsRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListWarningsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListWarningsRequest.BuildersortBy(ListWarningsRequest.SortBy sortBy)The attribute used to sort the returned warningsListWarningsRequest.BuildersortOrder(ListWarningsRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListWarningsRequest.BuildersourceName(String sourceName)The source name.ListWarningsRequest.BuildersourcePattern(String sourcePattern)The source pattern used for filtering.ListWarningsRequest.BuilderstartTime(String startTime)The warning start date query parameter.ListWarningsRequest.BuilderwarningMessage(String warningMessage)warning message query parameterListWarningsRequest.BuilderwarningState(ListWarningsRequest.WarningState warningState)The warning state used for filtering.ListWarningsRequest.BuilderwarningType(String warningType)The warning type query parameter.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
namespaceNamepublic ListWarningsRequest.Builder namespaceName(String namespaceName) The Logging Analytics namespace used for the request.- Parameters:
- namespaceName- the value to set
- Returns:
- this builder instance
 
 - 
compartmentIdpublic 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
 
 - 
warningStatepublic 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
 
 - 
sourceNamepublic ListWarningsRequest.Builder sourceName(String sourceName) The source name.- Parameters:
- sourceName- the value to set
- Returns:
- this builder instance
 
 - 
sourcePatternpublic 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
 
 - 
warningMessagepublic ListWarningsRequest.Builder warningMessage(String warningMessage) warning message query parameter- Parameters:
- warningMessage- the value to set
- Returns:
- this builder instance
 
 - 
entityNamepublic 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
 
 - 
entityTypepublic 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
 
 - 
warningTypepublic ListWarningsRequest.Builder warningType(String warningType) The warning type query parameter.- Parameters:
- warningType- the value to set
- Returns:
- this builder instance
 
 - 
isNoSourcepublic 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
 
 - 
startTimepublic ListWarningsRequest.Builder startTime(String startTime) The warning start date query parameter.- Parameters:
- startTime- the value to set
- Returns:
- this builder instance
 
 - 
endTimepublic ListWarningsRequest.Builder endTime(String endTime) The warning end date query parameter.- Parameters:
- endTime- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListWarningsRequest.Builder limit(Integer limit) The maximum number of items to return.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic 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
 
 - 
sortOrderpublic ListWarningsRequest.Builder sortOrder(ListWarningsRequest.SortOrder sortOrder) The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListWarningsRequest.Builder sortBy(ListWarningsRequest.SortBy sortBy) The attribute used to sort the returned warnings- Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListWarningsRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic ListWarningsRequest.Builder copy(ListWarningsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListWarningsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListWarningsRequest build() Build the instance of ListWarningsRequest as configured by this builderNote that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance. - Specified by:
- buildin interface- BmcRequest.Builder<ListWarningsRequest,Void>
- Returns:
- instance of ListWarningsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListWarningsRequest buildWithoutInvocationCallback() Build the instance of ListWarningsRequest as configured by this builderNote that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ListWarningsRequest
 
 
- 
 
-