Class SummarizeAlertLogCountsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.SummarizeAlertLogCountsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<SummarizeAlertLogCountsRequest,Void>
- Enclosing class:
- SummarizeAlertLogCountsRequest
public static class SummarizeAlertLogCountsRequest.Builder extends Object implements BmcRequest.Builder<SummarizeAlertLogCountsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SummarizeAlertLogCountsRequestbuild()Build the instance of SummarizeAlertLogCountsRequest as configured by this builderSummarizeAlertLogCountsRequestbuildWithoutInvocationCallback()Build the instance of SummarizeAlertLogCountsRequest as configured by this builderSummarizeAlertLogCountsRequest.Buildercopy(SummarizeAlertLogCountsRequest o)Copy method to populate the builder with values from the given instance.SummarizeAlertLogCountsRequest.BuildergroupBy(SummarizeAlertLogCountsRequest.GroupBy groupBy)The optional parameter used to group different alert logs.SummarizeAlertLogCountsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.SummarizeAlertLogCountsRequest.BuilderisRegularExpression(Boolean isRegularExpression)The flag to indicate whether the search text is regular expression or not.SummarizeAlertLogCountsRequest.BuilderlevelFilter(SummarizeAlertLogCountsRequest.LevelFilter levelFilter)The optional parameter to filter the alert logs by log level.SummarizeAlertLogCountsRequest.Builderlimit(Integer limit)The maximum number of records returned in the paginated response.SummarizeAlertLogCountsRequest.BuilderlogSearchText(String logSearchText)The optional query parameter to filter the attention or alert logs by search text.SummarizeAlertLogCountsRequest.BuildermanagedDatabaseId(String managedDatabaseId)The OCID of the Managed Database.SummarizeAlertLogCountsRequest.BuilderopcNamedCredentialId(String opcNamedCredentialId)The OCID of the Named Credential.SummarizeAlertLogCountsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.SummarizeAlertLogCountsRequest.Builderpage(String page)The page token representing the page from where the next set of paginated results are retrieved.SummarizeAlertLogCountsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.SummarizeAlertLogCountsRequest.BuildertimeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)The optional greater than or equal to timestamp to filter the logs.SummarizeAlertLogCountsRequest.BuildertimeLessThanOrEqualTo(Date timeLessThanOrEqualTo)The optional less than or equal to timestamp to filter the logs.SummarizeAlertLogCountsRequest.BuildertypeFilter(SummarizeAlertLogCountsRequest.TypeFilter typeFilter)The optional parameter to filter the attention or alert logs by type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
managedDatabaseId
public SummarizeAlertLogCountsRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.- Parameters:
managedDatabaseId- the value to set- Returns:
- this builder instance
-
timeGreaterThanOrEqualTo
public SummarizeAlertLogCountsRequest.Builder timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to timestamp to filter the logs.- Parameters:
timeGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeLessThanOrEqualTo
public SummarizeAlertLogCountsRequest.Builder timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to timestamp to filter the logs.- Parameters:
timeLessThanOrEqualTo- the value to set- Returns:
- this builder instance
-
levelFilter
public SummarizeAlertLogCountsRequest.Builder levelFilter(SummarizeAlertLogCountsRequest.LevelFilter levelFilter)
The optional parameter to filter the alert logs by log level.- Parameters:
levelFilter- the value to set- Returns:
- this builder instance
-
groupBy
public SummarizeAlertLogCountsRequest.Builder groupBy(SummarizeAlertLogCountsRequest.GroupBy groupBy)
The optional parameter used to group different alert logs.- Parameters:
groupBy- the value to set- Returns:
- this builder instance
-
typeFilter
public SummarizeAlertLogCountsRequest.Builder typeFilter(SummarizeAlertLogCountsRequest.TypeFilter typeFilter)
The optional parameter to filter the attention or alert logs by type.- Parameters:
typeFilter- the value to set- Returns:
- this builder instance
-
logSearchText
public SummarizeAlertLogCountsRequest.Builder logSearchText(String logSearchText)
The optional query parameter to filter the attention or alert logs by search text.- Parameters:
logSearchText- the value to set- Returns:
- this builder instance
-
isRegularExpression
public SummarizeAlertLogCountsRequest.Builder isRegularExpression(Boolean isRegularExpression)
The flag to indicate whether the search text is regular expression or not.- Parameters:
isRegularExpression- the value to set- Returns:
- this builder instance
-
page
public SummarizeAlertLogCountsRequest.Builder page(String page)
The page token representing the page from where the next set of paginated results are retrieved.This is usually retrieved from a previous list call.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
limit
public SummarizeAlertLogCountsRequest.Builder limit(Integer limit)
The maximum number of records returned in the paginated response.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
opcRequestId
public SummarizeAlertLogCountsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcNamedCredentialId
public SummarizeAlertLogCountsRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.- Parameters:
opcNamedCredentialId- the value to set- Returns:
- this builder instance
-
invocationCallback
public SummarizeAlertLogCountsRequest.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 SummarizeAlertLogCountsRequest.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
-
copy
public SummarizeAlertLogCountsRequest.Builder copy(SummarizeAlertLogCountsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<SummarizeAlertLogCountsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public SummarizeAlertLogCountsRequest build()
Build the instance of SummarizeAlertLogCountsRequest 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 interfaceBmcRequest.Builder<SummarizeAlertLogCountsRequest,Void>- Returns:
- instance of SummarizeAlertLogCountsRequest
-
buildWithoutInvocationCallback
public SummarizeAlertLogCountsRequest buildWithoutInvocationCallback()
Build the instance of SummarizeAlertLogCountsRequest 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 SummarizeAlertLogCountsRequest
-
-